From c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 24 Oct 2009 10:58:58 -0600 Subject: REplace instances of TMW with Mana --- src/game.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 0d09be01..5927924c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -68,7 +68,7 @@ #include "gui/viewport.h" #include "gui/windowmenu.h" #include "gui/partywindow.h" -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT #include "gui/buddywindow.h" #include "gui/guildwindow.h" #endif @@ -81,7 +81,7 @@ #include "net/generalhandler.h" #include "net/net.h" -#include "net/tmwserv/inventoryhandler.h" +#include "net/manaserv/inventoryhandler.h" #include "net/ea/inventoryhandler.h" #include "resources/imagewriter.h" @@ -121,7 +121,7 @@ BuySellDialog *buySellDialog; InventoryWindow *inventoryWindow; SkillDialog *skillDialog; PartyWindow *partyWindow; -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT BuddyWindow *buddyWindow; GuildWindow *guildWindow; #endif @@ -241,7 +241,7 @@ static void createGuiWindows() sellDialog = new SellDialog; tradeWindow = new TradeWindow; partyWindow = new PartyWindow; -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT buddyWindow = new BuddyWindow; guildWindow = new GuildWindow; #else @@ -295,7 +295,7 @@ static void destroyGuiWindows() delete partyWindow; delete npcDialog; delete npcPostDialog; -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT delete buddyWindow; delete guildWindow; #endif @@ -331,7 +331,7 @@ Game::Game(): mSecondsCounterId = SDL_AddTimer(1000, nextSecond, NULL); // This part is eAthena specific - // For TMWserv, the map is obtained + // For Manaserv, the map is obtained // with the GPMSG_PLAYER_MAP_CHANGE flag. map_path = map_path.substr(0, map_path.rfind(".")); if (!map_path.empty()) @@ -776,7 +776,7 @@ void Game::handleInput() { case KeyboardConfig::KEY_PICKUP: { -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT const Vector &pos = player_node->getPosition(); Uint16 x = (int) pos.x / 32; Uint16 y = (int) pos.y / 32; @@ -828,7 +828,7 @@ void Game::handleInput() equipmentWindow->setVisible(false); helpWindow->setVisible(false); debugWindow->setVisible(false); -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT guildWindow->setVisible(false); buddyWindow->setVisible(false); #endif @@ -1001,7 +1001,7 @@ void Game::handleInput() // A set target has highest priority if (!player_node->getTarget()) { -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT Uint16 targetX = x / 32, targetY = y / 32; #else Uint16 targetX = x, targetY = y; -- cgit v1.2.3-70-g09d2