From: <bal...@us...> - 2003-12-03 00:04:14
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs1:/tmp/cvs-serv32081/plugins/Core Modified Files: GameControl.cpp Log Message: Windows Compatibility Fixes : SDLVideoDriver.cpp / GameControl.cpp : Fixed Cheat Keys Index: GameControl.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/GameControl.cpp,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** GameControl.cpp 2 Dec 2003 23:09:38 -0000 1.28 --- GameControl.cpp 3 Dec 2003 00:04:11 -0000 1.29 *************** *** 176,183 **** { if(!core->CheatEnabled() ) return; ! if(Mod==64 ) //ctrl { switch(Key) { ! case 1: //'a' { if(overContainer) { --- 176,183 ---- { if(!core->CheatEnabled() ) return; ! if(Mod&64 ) //ctrl { switch(Key) { ! case 'a': //'a' { if(overContainer) { *************** *** 191,195 **** break; ! case 16: //'p' { short GameX = lastMouseX, GameY = lastMouseY; --- 191,195 ---- break; ! case 'p': //'p' { short GameX = lastMouseX, GameY = lastMouseY; *************** *** 211,215 **** break; ! case 19: // s { pfsX = lastMouseX; --- 211,215 ---- break; ! case 's': // s { pfsX = lastMouseX; *************** *** 218,222 **** } break; ! case 24: // 'x' { Game * game = core->GetGame(); --- 218,222 ---- } break; ! case 'x': // 'x' { Game * game = core->GetGame(); *************** *** 226,236 **** short cY = lastMouseY; core->GetVideoDriver()->ConvertToGame(cX, cY); ! printf("%d %d",cX, cY); } break; ! case 28: // '4' //show all traps DebugFlags^=1; break; ! case 29: // '5' //show the searchmap DebugFlags^=2; break; --- 226,236 ---- short cY = lastMouseY; core->GetVideoDriver()->ConvertToGame(cX, cY); ! printf("[%d.%d]\n",cX, cY); } break; ! case '4': // '4' //show all traps DebugFlags^=1; break; ! case '5': // '5' //show the searchmap DebugFlags^=2; break; |