0) Is there any easy way to do a two player RTS game with DJGPP-Allegro -combo? I know, I know that similar topics like this have been up before, but I'm thinking of a way like this:
The problem is that when I pass the control to do_something() I don't get input from player 2 anymore. I could do this by making a gigantic function with all kinds of hacky bubblegum thingies and gotos...Code:loop if player 1 is pressing x (like if(key[KEY_UP])) do_something(player1); if player 2 is pressing y do_something(player2); rest for some time /loop
1) After you say no, please point me to some information about the very essential stuff on how to do this in a Windows environment (while remembering that I don't know nothing about Windows-depented coding).