Hi albert,
I'm new to programming in general and am trying to set up your game engine and viewer with Microsoft Visual Studio 2010 on windows 7. What I've done is downloaded the zip file from your site
http://github.com/albertz/planet_wars-cpp, grouped the files into a project and hit "compile". I listed the errors I got while compiling at the end of my post. I seem to be missing SDL.h, sys/time.h and unistd.h.
How should I find those .h files? Also, how do I encorporate my own mybot.cpp, planetwars.h and planetwars.cpp into your game engine? Finally, how do I test my bot against another?
Sorry for these basic questions. I'll appreciate any help. Thanks in advance.
1>viewer.cpp(10): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1> utils.cpp
1>utils.cpp(7): fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory
1> showgame.cpp
1>showgame.cpp(10): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1> SDL_picofont.cpp
1>c:\users\user\desktop\andy's folder\stillalive with albert's code\albertz-planet_wars-cpp-2994b0a\SDL_picofont.h(16): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1> process.cpp
1>process.cpp(14): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
1> playnview.cpp
1>c:\users\user\desktop\andy's folder\stillalive with albert's code\albertz-planet_wars-cpp-2994b0a\process.h(14): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
1> gfx.cpp
1>gfx.cpp(10): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1> game.cpp
1> engine.cpp
1>c:\users\user\desktop\andy's folder\stillalive with albert's code\albertz-planet_wars-cpp-2994b0a\process.h(14): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory