mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-26 00:32:20 -05:00
26 lines
546 B
C
26 lines
546 B
C
#ifndef POKEPLATINUM_GLOBAL_H
|
|
#define POKEPLATINUM_GLOBAL_H
|
|
|
|
#include <nitro.h>
|
|
#pragma thumb on
|
|
#include <nnsys.h>
|
|
|
|
#include <string.h>
|
|
#include <stddef.h>
|
|
|
|
#include "global/config.h" // MUST COME BEFORE ANY OTHER GAMEFREAK HEADERS
|
|
#include "global/pm_version.h"
|
|
#include "global/assert.h"
|
|
#include "constants/pokemon.h"
|
|
|
|
#define NELEMS(a) (sizeof(a) / sizeof(*(a)))
|
|
#define XtOffset(pointer_type, field) ((unsigned int)&(((pointer_type)NULL)->field))
|
|
|
|
typedef struct {
|
|
int x;
|
|
int y;
|
|
int z;
|
|
} Vec32;
|
|
|
|
#endif // POKEPLATINUM_GLOBAL_H
|