summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp6
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();