From 5f048b85f826a85278545ac363d7058793fb3ece Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 May 2014 01:08:33 +0300 Subject: Move variables definition into each file with class definition. --- src/game.cpp | 50 +------------------------------------------------- 1 file changed, 1 insertion(+), 49 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 6d82f7138..addc55ad3 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -125,58 +125,10 @@ #include "debug.h" -Joystick *joystick = nullptr; - -OkDialog *weightNotice = nullptr; -int weightNoticeTime = 0; -OkDialog *deathNotice = nullptr; QuitDialog *quitDialog = nullptr; Window *disconnectedDialog = nullptr; -ChatWindow *chatWindow = nullptr; -EmoteWindow *emoteWindow = nullptr; -StatusWindow *statusWindow = nullptr; -MiniStatusWindow *miniStatusWindow = nullptr; -InventoryWindow *inventoryWindow = nullptr; -ShopWindow *shopWindow = nullptr; -SkillDialog *skillDialog = nullptr; -Minimap *minimap = nullptr; -EquipmentWindow *equipmentWindow = nullptr; -EquipmentWindow *beingEquipmentWindow = nullptr; -TradeWindow *tradeWindow = nullptr; -HelpWindow *helpWindow = nullptr; -DebugWindow *debugWindow = nullptr; -ShortcutWindow *itemShortcutWindow = nullptr; -ShortcutWindow *emoteShortcutWindow = nullptr; -OutfitWindow *outfitWindow = nullptr; -ShortcutWindow *dropShortcutWindow = nullptr; -ShortcutWindow *spellShortcutWindow = nullptr; -WhoIsOnline *whoIsOnline = nullptr; -DidYouKnowWindow *didYouKnowWindow = nullptr; -KillStats *killStats = nullptr; -BotCheckerWindow *botCheckerWindow = nullptr; -SocialWindow *socialWindow = nullptr; -QuestsWindow *questsWindow = nullptr; -WindowMenu *windowMenu = nullptr; - -ActorManager *actorManager = nullptr; -CommandHandler *commandHandler = nullptr; -#ifdef USE_MUMBLE -MumbleManager *mumbleManager = nullptr; -#endif -Particle *particleEngine = nullptr; -EffectManager *effectManager = nullptr; -SpellManager *spellManager = nullptr; -Viewport *viewport = nullptr; /**< Viewport on the map. */ -GuildManager *guildManager = nullptr; -AuctionManager *auctionManager = nullptr; - -ChatTab *localChatTab = nullptr; -ChatTab *debugChatTab = nullptr; -TradeTab *tradeChatTab = nullptr; -BattleTab *battleChatTab = nullptr; -GmTab *gmChatTab = nullptr; -LangTab *langChatTab = nullptr; +int weightNoticeTime = 0; bool mStatsReUpdated = false; const unsigned adjustDelay = 10; -- cgit v1.2.3-60-g2f50