mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Compile and warning fixes.
This commit is contained in:
parent
169edf94ca
commit
a6aa36c5a9
@ -488,6 +488,8 @@ public:
|
||||
std::list<CIntObject *> createdObj; //stack of objs being created
|
||||
};
|
||||
|
||||
extern CGuiHandler GH; //global gui handler
|
||||
|
||||
SDLKey arrowToNum(SDLKey key); //converts arrow key to according numpad key
|
||||
SDLKey numToDigit(SDLKey key);//converts numpad digit key to normal digit key
|
||||
bool isNumKey(SDLKey key, bool number = true); //checks if key is on numpad (numbers - check only for numpad digits)
|
||||
@ -499,8 +501,6 @@ template <typename T> void pushIntT()
|
||||
GH.pushInt(new T());
|
||||
}
|
||||
|
||||
extern CGuiHandler GH; //global gui handler
|
||||
|
||||
struct ObjectConstruction
|
||||
{
|
||||
CIntObject *myObj;
|
||||
|
@ -124,4 +124,4 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#endif __CCAMPAIGNHANDLER_H__
|
||||
#endif /* __CCAMPAIGNHANDLER_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user