Bitl / Black-Shades-Enhanced

A mod for Wolfire's game Black Shades that incorporates new aspects, such as a larger FPS limit, windowed mode, and larger FOV
GNU General Public License v3.0
10 stars 5 forks source link

Fix linux build #3

Closed z33ky closed 5 years ago

z33ky commented 5 years ago

Hi,

I fixed up some stuff to make it build and run with gcc on Linux. The CMake build system should also work for Windows, though you'll probably have more work setting up the library paths. It's probably more painless with MinGW or Cygwin, but MSVC should nevertheless work too.

z33ky commented 5 years ago

I added a couple of fixes caught via clang.

Bitl commented 5 years ago

i was able to merge this but this caused multiple initialization issues in VC6.0

when i fixed all of those the game now freezes when i kill an enemy

z33ky commented 5 years ago

Would it be unreasonable to abandon VC6.0? Maintaining the code to be both standard conformant and VC6-conformant would be an unfortunate burden. If newer MSVC cannot convert the old project file, try my CMakeLists.txt. You'll need to install cmake on your computer, which can generate a MSVC project file from the CMakeLists.txt. Since on Windows there are no standard install paths for libraries you'll need to set the Include- and libs-directories for every library manually.

Did you try running the game in a debugger?