blob: 8353ed2c968e981216308b7c0f6e55c85696a0a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef GUARD_GLOBAL_H
#define GUARD_GLOBAL_H
#include "config.h"
#include "MWC_string.h"
#include "function_target.h"
#include "nitro/types.h"
#include "constants/global.h"
#include "error_handling.h"
#define NELEMS(a) (sizeof(a) / sizeof(*(a)))
#define GF_ASSERT(expr) do {if (!(expr)) GF_AssertFail();} while (0)
#ifndef IN_MAIN_C
extern const u8 gGameLanguage;
extern const u8 gGameVersion;
#endif //IN_MAIN_C
#endif //GUARD_GLOBAL_H
|