summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/include/global.h b/include/global.h
index 2b5771ee..24e4388b 100644
--- a/include/global.h
+++ b/include/global.h
@@ -11,31 +11,11 @@
#define NELEMS(a) (sizeof(a) / sizeof(*(a)))
-enum GameVersion {
- VERSION_SAPPHIRE = 1,
- VERSION_RUBY = 2,
- VERSION_EMERALD = 3,
- VERSION_FIRE_RED = 4,
- VERSION_LEAF_GREEN = 5,
- VERSION_DIAMOND = 10,
- VERSION_PEARL = 11,
-};
-
-enum GameLanguage {
- LANGUAGE_JAPANESE = 1,
- LANGUAGE_ENGLISH = 2,
- LANGUAGE_FRENCH = 3,
- LANGUAGE_ITALIAN = 4,
- LANGUAGE_GERMAN = 5,
- LANGUAGE_SPANISH = 7,
- LANGUAGE_KOREAN = 8
-};
-
extern void ErrorHandling(void);
#define GF_ASSERT(expr) do {if (!(expr)) ErrorHandling();} while (0)
-extern const enum GameLanguage gGameLanguage;
+extern const int gGameLanguage;
extern const u8 gGameVersion;
#endif //GUARD_GLOBAL_H