New Vortex Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Code Overhaul

2 posters

Go down

Code Overhaul Empty Code Overhaul

Post  Grape Tue Aug 31, 2010 10:01 pm

I am wondering what was done in the code overhaul? What made Vortex Windows specific in the first place, and what did you replace to make it Linux compatible?

Grape
Grape
Admin

Posts : 122
Points : 252
Reputation : 15
Join date : 2010-08-06

https://newvortex.forumotion.com

Back to top Go down

Code Overhaul Empty Re: Code Overhaul

Post  apple Tue Aug 31, 2010 10:25 pm

1. There were a lot of instances where functions or macros called that were only available for windows platforms, so they had to be replaced with ones that worked cross-platform
2. Some silly details like specifying paths using backslashes instead of forward slashes (in linux, you only use forward slashes to form paths while windows accepts both)
3. A makefile had to be created for building the linux compatible library (aka gamei386.so instead of gamex86.dll)
4. Everything is case sensitive in linux, and filenames for the source didn't adopt a consistent naming scheme
5. Visual studio's compiler would stay quiet about something or just pass things off as warnings while trying to compile in linux results in errors which had to be fixed.

There might still be some things missing to make sure the server is stable, but right now it just seems only silly details are missing such as a proper server config file and such. It would help to redirect people who play on the test server here so that there's more feedback and speed up finding problems and solving them of course.

apple

Posts : 23
Points : 49
Reputation : 0
Join date : 2010-08-12

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum