Daniel Shawul wrote:Hi all
I have checked this thread some time ago but my limited knowledge on platform dependent issues prevents me from making any contribution. I checked some time ago that scorpio works on linux 32bit but never had the chance to see if it worked on 64bit machines. I know I can depend on the compiler guru to do that for me:)
Actually there weren't any platform-dependent issues, but compiler-dependent and standards-conformance issues. You can eliminate most of these even on Windows if you use the MinGW port of GCC in addition to any compilers you're already using. The biggest issue was obeying the ISO C++ standard (using the types in inttypes.h instead of "long long", etc.), about witch g++ nags a lot if you turn compiler warnings up.
g++ also warned about code that wouldn't make sense on any platform, like the "commands[command_num++];" lines in scorpio.cpp.
To Ilari: Thanks a lot for the fix! Few programmers rarely do fix other people's engines. I admire your work on Sloppy and good luck with the new GUI.
best to all
Daniel
Thanks, I don't usually patch other people's programs because I don't fully understand them. But this was a relatively easy fix. And if you're wondering how to apply patches on Windows, there's the GnuWin build of patch.exe:
http://sourceforge.net/project/showfile ... e_id=32165
And thank you for the excellent free EGBB library, which I also use in Sloppy. I'm so glad I didn't have to write something like that myself.