mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Compile and warning fixes.
This commit is contained in:
		| @@ -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__ */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user