Open jf89 opened 9 years ago
Sorry - I just remembered that there were a couple of things I commented out from the Windows version that ought to be wrapped in #ifdefs. Anyway, if you're interested I could correct this pull request.
Okay, I've now added those corrections; added a "LINUX_CROSS_COMPILE" flag which is undefined when building from the MSVC project but is defined in the makefiles; added a lot of stuff to the .gitignore which really is just the output of compiling the source code and so really ought to be in the .gitignore; and corrected the makefiles (which I managed to get wrong after not having used C++ for many years :-P - my bad). Anyway, I've tested building this with Windows and Linux now and it looks like it's working fine.
Hey,
I was interested in your project, but don't run Windows. I created some makefiles for a cross compile from Linux (using MinGW) to Windows DLLs which then can be loaded when spelunkbots.exe is run with Wine. This appears to work, and I added a "MoveRightBot" which does exactly what it says on the tin to make it very clear my code was definitely being called.
Anyway, if anyone else is interested in using Linux for this project, my fork has some makefiles for building from Linux.
I may try and solve the Spelunky exit bug experienced when running Spelunky with Wine, but it is potentially far more difficult to solve than it is worth.