currently esc will quit out of the game at any point. I'm of the
preference that instead it should bring up the game menu (as most
games have it) and alt+f4 and cmd+q (under OS X) should quit.
Discuss!
Also, anyone know where in the code esc causes the game to quit?
in my local copy of glob2 I put
Uint8 *keystate = SDL_GetKeyState(NULL);
SDLMod modState = SDL_GetModState();
if ((modState & KMOD_META) && keystate[SDLK_q])
{
exitGlobCompletely=true;
orderQueue.push_back(shared_ptr<Order>(new
PlayerQuitsGameOrder(localPlayer)));
}
at around line 1025 in GameGUI.cpp, but it only works while playing
a game which obviously isn't the desired effect and Bradley doesn't
know where to put it either.
_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel