From d802c575d3184c2ebbb755128681e14422f3f1b7 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 23 Oct 2005 22:33:51 +0000 Subject: Grammar Corrections, and a little bit of work on getting the name of the Db. --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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 #include #include @@ -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(); -- cgit v1.2.3-70-g09d2