Commit Graph

5 Commits (netcode)

Author SHA1 Message Date
kts df73d846d8 Both SDL and curses clients work on WIN32/64. The SDL client is fully working, as is expected, but the gameLoop timer/signal system does not work. The code is in place via preprocessor conditions but it would require a fake window to be created so the messaging system can be used. 2013-11-04 11:59:49 -08:00
kts 1f641bb92e Due to various errors on windows, along with much rage, it was decided that it is far more sensible for consoleGetCommand to simply return command[0] as the command string and command[1] as the remainder, leaving the task of distinguishing one argument from another to the function that consoleProcessCommand passes it to. This is, of course, up for remodeling in the future (possibly by using a variable amount of arguments such as in printf), but for now it'll do. Also added C preprocessor conditions for strndup to allow on Win*. 2013-10-23 21:05:29 -07:00
kts 675e6862c5 Modified the devcpp projects to incorporate the many changes that have occurred since the last devcpp update. Also had to initialize the next and prev properties of Tiles created by newTile, as the generated executable segfaulted due to non-initialized pointers. 2013-10-19 23:28:31 -07:00
kts 3d1fb1de41 Added game.c, game.h, player.c, and player.h to the devcpp projects and successfully tested both the SDL and curses clients on Windows. 2013-09-19 23:13:11 -07:00
kts 82e63acdc0 Added the devcpp/ subdirectory, containing two Dev-C++ projects corresponding to the SDL and PDCurses clients. The PDCurses project assumes curses.h and pdcurses.lib to be in "../../PDCurses/" and the SDL project assumes SDL's lib/ and include/ to be in "../../SDL-1.2.15/". Once either executables are compiled, PDCurses.dll and/or SDL.dll must be copied into the same directory as the corresponding executable. 2013-09-18 02:11:19 -07:00