* updated build tools to have core files zip naming scheme be based on version information contained in build.number.properties * added new python library to allow reading java property files, remember to add the library to your PYTHONPATH before executing the python script otherwise the script will fail. `
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
|
|
/*
|
|
This file was auto-generated by ant build script on Sun, 06-May-2012 11::58:10
|
|
To make changes please edit the ant build script, otherwise your changes will be lost
|
|
|
|
Author: Michael Nguyen
|
|
|
|
*/
|
|
|
|
#ifndef wagic_Wagic_Version_h
|
|
#define wagic_Wagic_Version_h
|
|
|
|
/* Wagic versions */
|
|
#define WAGIC_VERSION_MAJOR 0
|
|
#define WAGIC_VERSION_MEDIUM 18
|
|
#define WAGIC_VERSION_MINOR 6
|
|
|
|
#define VERSION_DOT(a, b, c) a ##.## b ##.## c
|
|
#define VERSION_WITHOUT_DOT(a, b, c) a ## b ## c
|
|
#define VERSION_GAME(a, b, c) VERSION_DOT(a, b, c)
|
|
#define VERSION_FILE(a, b, c) VERSION_WITHOUT_DOT(a, b, c)
|
|
#define VERSION_TOSTRING(a) #a
|
|
#define VERSION_STRINGIFY(a) VERSION_TOSTRING(a)
|
|
|
|
#define WAGIC_VERSION VERSION_GAME(WAGIC_VERSION_MAJOR, WAGIC_VERSION_MEDIUM, WAGIC_VERSION_MINOR)
|
|
#define WAGIC_RESOURCE_VERSION VERSION_FILE(WAGIC_VERSION_MAJOR, WAGIC_VERSION_MEDIUM, WAGIC_VERSION_MINOR)
|
|
#define WAGIC_VERSION_STRING VERSION_STRINGIFY(WAGIC_VERSION)
|
|
#define WAGIC_CORE_VERSION_STRING "core_" VERSION_STRINGIFY(WAGIC_RESOURCE_VERSION)
|
|
#define WAGIC_RESOURCE_NAME WAGIC_CORE_VERSION_STRING ".zip"
|
|
|
|
#endif
|
|
|
|
|