From: Guido de J. <gu...@us...> - 2005-06-28 20:08:22
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30759/gemrb/plugins/Core Modified Files: Game.h Game.cpp Log Message: since HotKey is a pointer, make Key parameter 'unsigned long' Index: Game.h =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/Game.h,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** Game.h 26 Jun 2005 13:57:51 -0000 1.59 --- Game.h 28 Jun 2005 20:08:13 -0000 1.60 *************** *** 168,172 **** int GetNPCCount() const { return (int)NPCs.size(); } /* sends the hotkey trigger to all selected pcs */ ! void SetHotKey(int Key); /* select PC for non-walking environment (shops, inventory, ...) */ bool SelectPCSingle(int index); --- 168,172 ---- int GetNPCCount() const { return (int)NPCs.size(); } /* sends the hotkey trigger to all selected pcs */ ! void SetHotKey(unsigned long Key); /* select PC for non-walking environment (shops, inventory, ...) */ bool SelectPCSingle(int index); Index: Game.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/Game.cpp,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** Game.cpp 26 Jun 2005 13:57:51 -0000 1.84 --- Game.cpp 28 Jun 2005 20:08:13 -0000 1.85 *************** *** 276,282 **** /* sends the hotkey trigger to all selected actors */ ! void Game::SetHotKey(int Key) { ! for(unsigned int i=0;i<PCs.size();i++) { Actor *actor = PCs[i]; --- 276,282 ---- /* sends the hotkey trigger to all selected actors */ ! void Game::SetHotKey(unsigned long Key) { ! for(unsigned int i = 0; i < PCs.size(); i++) { Actor *actor = PCs[i]; |