From 3f06c9b6c98c989975a0c139c4e4799034924441 Mon Sep 17 00:00:00 2001 From: "wagic.the.homebrew@gmail.com" Date: Sat, 6 Feb 2010 03:21:38 +0000 Subject: [PATCH] Erwan - put sound back on WIN32 platform (J please review) - Added menu text for token abilities (needs testing) --- JGE/include/JSoundSystem.h | 1 + projects/mtg/include/AllAbilities.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/JGE/include/JSoundSystem.h b/JGE/include/JSoundSystem.h index 7dd8e33d5..5ce12db70 100644 --- a/JGE/include/JSoundSystem.h +++ b/JGE/include/JSoundSystem.h @@ -22,6 +22,7 @@ #ifdef WIN32 #include +#define WITH_FMOD #elif defined (LINUX) #else diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index 974ff69d1..5abb0c5ee 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -705,6 +705,12 @@ public: return 1; } + const char * getMenuText(){ + string s = "Token:"; + s.append(name); + return s.c_str(); + } + virtual ostream& toString(ostream& out) const { out << "ATokenCreator ::: abilities : ?" // << abilities