diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-24 10:58:58 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-24 10:58:58 -0600 |
commit | c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b (patch) | |
tree | 709fda8a3974b5e73d4cd4d7e688c544ce03ed96 /src/game.cpp | |
parent | 86e5e4c5bd29abcd90d21a64fdea7eac73665356 (diff) | |
download | mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.gz mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.bz2 mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.xz mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.zip |
REplace instances of TMW with Mana
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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; |