Hey, this is very clean C code. I tried compiling it with MSVC++ 2015 and there were only 4 things I needed to do.
-
Prevent src\plat\win32\win32Init.h from including unistd.h. Don’t have that.
-
VC++ doesn’t have strcasecmp which is used in src\system\i18n.c. Luckily, SDL implements it so I just used SDL_strcasecmp.
-
Also missing is dirent.h, but other people provide drop-in solutions for the lazy. I used this one.
-
Define VERSION, REVISION and LOCALE_DIR.And that’s it. It compiled and is playable.
I also shortly tested it on a Raspberry Pi and it works there too, if the resolution is right. With too many effects on screen it’s getting a bit too slow though. (I only have the first version of the Raspberry Pi)
Thanks for this fun, very portable game.