pokediamond/include/global.h
tgsm 1fbc3a19c2 Move the MapHeader struct into map_header.h
global.fieldmap.h is no longer used and map.h was never used, so they
both can be removed.
2021-03-24 07:21:07 -04:00

22 lines
438 B
C

#ifndef GUARD_GLOBAL_H
#define GUARD_GLOBAL_H
#include "config.h"
#include "MWC_string.h"
#include "function_target.h"
#include "nitro.h"
#include "constants/global.h"
#include "error_handling.h"
#define NELEMS(a) (sizeof(a) / sizeof(*(a)))
#define GF_ASSERT(expr) do {if (!(expr)) ErrorHandling();} while (0)
#ifndef IN_MAIN_C
extern const u8 gGameLanguage;
extern const u8 gGameVersion;
#endif //IN_MAIN_C
#endif //GUARD_GLOBAL_H