Extracted Wagic versioning information so that they can be used outside of GameStateMenu.cpp

This commit is contained in:
Xawotihs
2012-01-14 12:18:16 +00:00
parent 87a332e3f1
commit a480cf2e66
2 changed files with 14 additions and 3 deletions

View File

@@ -26,9 +26,20 @@
#endif //NETWORK_SUPPORT
#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 MTGAllCards;
class TransitionBase;