From f75314394f8dd6eeb5b7c244b7317936000e4f62 Mon Sep 17 00:00:00 2001 From: "techdragon.nguyen@gmail.com" Date: Sun, 15 Apr 2012 14:13:08 +0000 Subject: [PATCH] updating version to 0.18.3 --- projects/mtg/Android/AndroidManifest.xml | 4 +- projects/mtg/Android/build.xml | 108 +++++++++++++--------- projects/mtg/bin/Res/createResourceZip.py | 4 +- projects/mtg/include/Wagic_Version.h | 2 +- projects/mtg/src/GameStateDuel.cpp | 2 + 5 files changed, 69 insertions(+), 51 deletions(-) diff --git a/projects/mtg/Android/AndroidManifest.xml b/projects/mtg/Android/AndroidManifest.xml index cb6ff953e..78f0c7fd0 100644 --- a/projects/mtg/Android/AndroidManifest.xml +++ b/projects/mtg/Android/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="183" + android:versionName="0.18.3"> diff --git a/projects/mtg/Android/build.xml b/projects/mtg/Android/build.xml index 73c1a0ac6..00924bb10 100644 --- a/projects/mtg/Android/build.xml +++ b/projects/mtg/Android/build.xml @@ -1,67 +1,83 @@ - + + It contains the path to the SDK. It should *NOT* be checked into + Version Control Systems. --> - - + - - + - - - - - - - + This contains project specific properties such as project target, and library + dependencies. Lower level build properties are stored in ant.properties + (or in .classpath for Eclipse projects). - + This file is an integral part of the build system for your + application and should be checked into Version Control Systems. --> + - + - The rules file is imported from - /platforms//templates/android_rules.xml - - To customize some build steps for your project: - - copy the content of the main node from android_rules.xml - - paste it in this build.xml below the task. - - disable the import by changing the setup task below to - - This will ensure that the properties are setup correctly but that your customized - build steps are used. + - + + + + + diff --git a/projects/mtg/bin/Res/createResourceZip.py b/projects/mtg/bin/Res/createResourceZip.py index d934c8061..cff4ca526 100644 --- a/projects/mtg/bin/Res/createResourceZip.py +++ b/projects/mtg/bin/Res/createResourceZip.py @@ -26,14 +26,14 @@ def createResZipFile(filename): zip_file.close() def createStandardResFile(): - filename = 'core_0182.zip' + filename = 'core_0183.zip' createResZipFile( filename ) print >> sys.stderr, 'Created Resource Package for Standard Distribution: {0}'.format( filename) def createIosResFile(): print 'Preparing Resource Package for iOS' utilities = ZipUtilities() - filename = 'core_0182_iOS.zip' + filename = 'core_0183_iOS.zip' #createResZipFile( filename ) zip_file = zipfile.ZipFile(filename, 'a', zipfile.ZIP_STORED) zip_file.write("../../iOS/Res/rules/modrules.xml", "rules/modrules.xml", zipfile.ZIP_STORED) diff --git a/projects/mtg/include/Wagic_Version.h b/projects/mtg/include/Wagic_Version.h index 77df7fe97..2a3f59af4 100644 --- a/projects/mtg/include/Wagic_Version.h +++ b/projects/mtg/include/Wagic_Version.h @@ -13,7 +13,7 @@ /* Wagic versions */ #define WAGIC_VERSION_MAJOR 0 #define WAGIC_VERSION_MEDIUM 18 -#define WAGIC_VERSION_MINOR 2 +#define WAGIC_VERSION_MINOR 3 #define VERSION_DOT(a, b, c) a ##.## b ##.## c #define VERSION_WITHOUT_DOT(a, b, c) a ## b ## c diff --git a/projects/mtg/src/GameStateDuel.cpp b/projects/mtg/src/GameStateDuel.cpp index 95ed1cc04..ec1699596 100644 --- a/projects/mtg/src/GameStateDuel.cpp +++ b/projects/mtg/src/GameStateDuel.cpp @@ -515,7 +515,9 @@ void GameStateDuel::Update(float dt) } //END almosthumane - mulligan menu->Add(MENUITEM_MAIN_MENU, "Back to main menu"); +#ifdef DEBUG menu->Add(MENUITEM_UNDO, "Undo"); +#endif #ifdef TESTSUITE menu->Add(MENUITEM_LOAD, "Load"); #endif