summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-07-27 17:20:22 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-07-27 17:20:22 +0000
commitd0b6b3d1c96e437d12410703a8e530decd0b028f (patch)
treef3568279aa6c31594f525f061efc6eda08278635 /src/main.cpp
parent285b40d1cb768e235aed894f4704e1013cb054ea (diff)
downloadmanaserv-d0b6b3d1c96e437d12410703a8e530decd0b028f.tar.gz
manaserv-d0b6b3d1c96e437d12410703a8e530decd0b028f.tar.bz2
manaserv-d0b6b3d1c96e437d12410703a8e530decd0b028f.tar.xz
manaserv-d0b6b3d1c96e437d12410703a8e530decd0b028f.zip
First step toward a restructured class hierarchy for world actors: add
MovingObject and Player classes.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8a5dd5b6..8f418ce4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -86,7 +86,7 @@ Skill skillTree("base"); /**< Skill tree */
Configuration config; /**< XML config reader */
-tmwserv::utils::StringFilter *stringFilter; /**< Slang's Filter */
+utils::StringFilter *stringFilter; /**< Slang's Filter */
/** Account message handler */
AccountHandler *accountHandler;
@@ -100,7 +100,7 @@ ChatChannelManager *chatChannelManager;
GameHandler *gameHandler;
/** Global game state */
-tmwserv::State *gameState;
+State *gameState;
/**
* Initializes the server.
@@ -143,7 +143,7 @@ void initialize()
#endif // defined LOG_FILE
// initialize the logger.
- using namespace tmwserv::utils;
+ using namespace utils;
Logger::instance().setLogFile(logPath);
// write the messages to both the screen and the log file.
@@ -245,7 +245,7 @@ void deinitialize()
delete chatChannelManager;
// Get rid of persistent data storage
- tmwserv::Storage::destroy();
+ Storage::destroy();
PHYSFS_deinit();
}
@@ -295,7 +295,7 @@ void parseOptions(int argc, char *argv[])
// Set Verbosity to level
unsigned short verbosityLevel;
verbosityLevel = atoi(optarg);
- tmwserv::utils::Logger::instance().setVerbosity(verbosityLevel);
+ utils::Logger::instance().setVerbosity(verbosityLevel);
LOG_INFO("Setting Log Verbosity Level to " << verbosityLevel, 0);
break;
case 'p':