Extracted Wagic versioning information so that they can be used outside of GameStateMenu.cpp
This commit is contained in:
@@ -26,9 +26,20 @@
|
|||||||
#endif //NETWORK_SUPPORT
|
#endif //NETWORK_SUPPORT
|
||||||
#include "GameObserver.h"
|
#include "GameObserver.h"
|
||||||
|
|
||||||
|
/* Wagic versions */
|
||||||
|
#define WAGIC_VERSION_MAJOR 0
|
||||||
|
#define WAGIC_VERSION_MEDIUM 17
|
||||||
|
#define WAGIC_VERSION_MINOR 1
|
||||||
|
|
||||||
|
#define VERSION_DOT(a, b, c) a ##.## b ##.## c
|
||||||
|
#define VERSION(a, b, c) VERSION_DOT(a, b, c)
|
||||||
|
#define VERSION_TOSTRING(a) #a
|
||||||
|
#define VERSION_STRINGIFY(a) VERSION_TOSTRING(a)
|
||||||
|
|
||||||
|
#define WAGIC_VERSION VERSION(WAGIC_VERSION_MAJOR, WAGIC_VERSION_MEDIUM, WAGIC_VERSION_MINOR)
|
||||||
|
#define WAGIC_VERSION_STRING VERSION_STRINGIFY(WAGIC_VERSION)
|
||||||
|
|
||||||
class Rules;
|
class Rules;
|
||||||
|
|
||||||
|
|
||||||
class MTGAllCards;
|
class MTGAllCards;
|
||||||
class TransitionBase;
|
class TransitionBase;
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
#include <JNetwork.h>
|
#include <JNetwork.h>
|
||||||
#endif//NETWORK_SUPPORT
|
#endif//NETWORK_SUPPORT
|
||||||
|
|
||||||
static const char* GAME_VERSION = "WTH?! 0.17.1 - wololo.net";
|
static const char* GAME_VERSION = "WTH?! " WAGIC_VERSION_STRING " - wololo.net";
|
||||||
|
|
||||||
enum ENUM_MENU_STATE_MAJOR
|
enum ENUM_MENU_STATE_MAJOR
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user