summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-23 13:50:13 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-23 13:50:13 -0600
commitb0df784f1be44a657ca8092069488602270629b7 (patch)
tree54a92852ff3551d7174e29054705d952a2308ee2
parenteee4c9a1e2a9fc58ccb8ad05acfe0b0e41ec3fab (diff)
downloadMana-b0df784f1be44a657ca8092069488602270629b7.tar.gz
Mana-b0df784f1be44a657ca8092069488602270629b7.tar.bz2
Mana-b0df784f1be44a657ca8092069488602270629b7.tar.xz
Mana-b0df784f1be44a657ca8092069488602270629b7.zip
Change version to 0.0.29 and label in the GUI
-rwxr-xr-xconfigure.ac2
-rw-r--r--src/main.cpp13
2 files changed, 12 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index bc6531f4..89a62d96 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ(2.59)
-AC_INIT([The Mana World], [0.1.0], [themanaworld-devel@lists.sourceforge.net], [tmw])
+AC_INIT([The Mana World], [0.0.29], [themanaworld-devel@lists.sourceforge.net], [tmw])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h:config.h.in])
AC_LANG_CPLUSPLUS
diff --git a/src/main.cpp b/src/main.cpp
index f108b9cf..22607e4e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -108,6 +108,7 @@
#endif
#include "utils/gettext.h"
#include "utils/stringutils.h"
+#include "utils/strprintf.h"
#ifdef __APPLE__
#include <CoreFoundation/CFBundle.h>
@@ -1039,7 +1040,11 @@ int main(int argc, char *argv[])
// Log the tmw version
#ifdef PACKAGE_VERSION
- logger->log("The Mana World v%s", PACKAGE_VERSION);
+#ifdef TMWSERV_SUPPORT
+ logger->log("The Mana World v%s TMWServ", PACKAGE_VERSION);
+#else
+ logger->log("The Mana World v%s eAthena", PACKAGE_VERSION);
+#endif
#else
logger->log("The Mana World - version not defined");
#endif
@@ -1061,7 +1066,11 @@ int main(int argc, char *argv[])
gcn::Container *top = static_cast<gcn::Container*>(gui->getTop());
#ifdef PACKAGE_VERSION
- gcn::Label *versionLabel = new gcn::Label(PACKAGE_VERSION);
+#ifdef TMWSERV_SUPPORT
+ gcn::Label *versionLabel = new gcn::Label(strprintf("%s TMWserv", PACKAGE_VERSION));
+#else
+ gcn::Label *versionLabel = new gcn::Label(strprintf("%s eAthena", PACKAGE_VERSION));
+#endif
top->add(versionLabel, 25, 2);
#endif
ProgressBar *progressBar = new ProgressBar(0.0f, 100, 20, 168, 116, 31);