diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-10-23 22:33:51 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-10-23 22:33:51 +0000 |
commit | d802c575d3184c2ebbb755128681e14422f3f1b7 (patch) | |
tree | 7c38d9cdc13eb5889dddaf57914221bb87101637 /src/main.cpp | |
parent | 6ec436c305a5eda73824534b2189c88c0deb8aa4 (diff) | |
download | mana-client-d802c575d3184c2ebbb755128681e14422f3f1b7.tar.gz mana-client-d802c575d3184c2ebbb755128681e14422f3f1b7.tar.bz2 mana-client-d802c575d3184c2ebbb755128681e14422f3f1b7.tar.xz mana-client-d802c575d3184c2ebbb755128681e14422f3f1b7.zip |
Grammar Corrections, and a little bit of work on getting the name of the Db.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index d4766bfe..f2dcbf9d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,6 +23,9 @@ #include "main.h" +// For version support +#include "../config.h" + #include <getopt.h> #include <iostream> #include <physfs.h> @@ -379,6 +382,7 @@ void parseOptions(int argc, char *argv[], Options &options) /** Main */ int main(int argc, char *argv[]) { + std::cout << "The Mana World v" << PACKAGE_VERSION << std::endl; logger = new Logger(); Options options; @@ -452,6 +456,8 @@ int main(int argc, char *argv[]) } graphics->drawImage(login_wallpaper, 0, 0); + graphics->setFont(gui->getFont()); + graphics->drawText(PACKAGE_VERSION, 0, 0); gui->draw(); graphics->updateScreen(); |