diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-29 01:08:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-29 12:56:42 +0300 |
commit | 5f048b85f826a85278545ac363d7058793fb3ece (patch) | |
tree | 08065744c9dbe0bcc428955c5187df17b88a70e2 /src/game.cpp | |
parent | 7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680 (diff) | |
download | mv-5f048b85f826a85278545ac363d7058793fb3ece.tar.gz mv-5f048b85f826a85278545ac363d7058793fb3ece.tar.bz2 mv-5f048b85f826a85278545ac363d7058793fb3ece.tar.xz mv-5f048b85f826a85278545ac363d7058793fb3ece.zip |
Move variables definition into each file with class definition.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 50 |
1 files changed, 1 insertions, 49 deletions
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; |