mirror of
https://github.com/pret/pokediamond.git
synced 2026-04-25 15:42:51 -05:00
30 lines
590 B
C
30 lines
590 B
C
#ifndef GUARD_GLOBAL_H
|
|
#define GUARD_GLOBAL_H
|
|
|
|
#include "nitro/types.h"
|
|
#include <string.h>
|
|
|
|
#include "constants/global.h"
|
|
|
|
#include "NNS_G3D_res_struct.h" //todo: add to nnsys.h
|
|
#include "config.h"
|
|
#include "error_handling.h"
|
|
#include "function_target.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
|
|
|
|
#include "code16.h"
|
|
|
|
#endif // GUARD_GLOBAL_H
|