2020-07-18 02:47:33 +02:00
|
|
|
#ifndef _VARIABLES_H_
|
|
|
|
#define _VARIABLES_H_
|
|
|
|
|
|
|
|
#include "ultra64.h"
|
|
|
|
#include "common_structs.h"
|
2020-08-10 23:35:37 +02:00
|
|
|
#include "types.h"
|
2020-07-18 02:47:33 +02:00
|
|
|
|
2020-08-16 05:19:00 +02:00
|
|
|
extern UiStatus gUIStatus;
|
|
|
|
extern PlayerData gPlayerData;
|
|
|
|
extern PlayerStatus gPlayerStatus;
|
|
|
|
extern GameStatus* gGameStatusPtr[1];
|
|
|
|
extern Item gItemTable[364];
|
2020-08-14 16:25:33 +02:00
|
|
|
|
2020-08-16 05:19:00 +02:00
|
|
|
extern Script* gWorldScriptList[128];
|
|
|
|
extern Script* gBattleScriptList[128];
|
|
|
|
extern Script** gCurrentScriptListPtr[128];
|
2020-08-14 16:25:33 +02:00
|
|
|
|
2020-08-15 00:05:05 +02:00
|
|
|
extern f32 gGlobalTimeSpace;
|
|
|
|
|
2020-08-12 20:48:51 +02:00
|
|
|
extern s8 D_800A0900;
|
2020-07-18 02:47:33 +02:00
|
|
|
extern s16* D_80151328;
|
2020-08-09 06:20:53 +02:00
|
|
|
extern s16 D_8010CD10;
|
|
|
|
extern s16 D_8010CD12;
|
2020-08-12 20:48:51 +02:00
|
|
|
extern s32 D_801595A0;
|
2020-08-14 06:25:13 +02:00
|
|
|
extern char gCloudyFlowerFieldsBg[]; // "fla_bg"
|
|
|
|
extern char gSunnyFlowerFieldsBg[]; // "flb_bg"
|
2020-08-16 05:19:00 +02:00
|
|
|
extern BackgroundHeader gBackgroundImage;
|
2020-08-12 20:48:51 +02:00
|
|
|
extern s8 D_8014F12F;
|
2020-07-18 02:47:33 +02:00
|
|
|
|
2020-08-16 05:19:00 +02:00
|
|
|
extern PrintContext* gCurrentPrintContext;
|
|
|
|
extern PrintContext* D_802DB268;
|
2020-08-15 23:51:44 +02:00
|
|
|
|
2020-08-13 07:03:47 +02:00
|
|
|
// Triggers
|
|
|
|
/* 0x80151334 */ extern s16 gTriggerCount;
|
2020-08-16 05:19:00 +02:00
|
|
|
/* 0x80159190 */ extern Trigger gTriggerList1[64];
|
|
|
|
/* 0x80159290 */ extern Trigger gTriggerList2[64];
|
|
|
|
/* 0x80159390 */ extern Trigger** gCurrentTriggerListPtr[64];
|
2020-08-13 07:03:47 +02:00
|
|
|
|
2020-08-12 03:59:46 +02:00
|
|
|
extern u16 gMapTransitionAlpha;
|
2020-08-11 01:20:30 +02:00
|
|
|
extern u16 D_800A0942;
|
|
|
|
extern s16 D_800A0944;
|
|
|
|
|
2020-08-11 23:38:21 +02:00
|
|
|
extern s16 D_80151308;
|
|
|
|
|
2020-08-12 22:53:01 +02:00
|
|
|
extern s32 D_8009A650[1];
|
|
|
|
|
2020-08-11 23:38:21 +02:00
|
|
|
extern s16 gCurrentDoorSoundsSet;
|
|
|
|
|
2020-08-10 23:35:37 +02:00
|
|
|
extern UNK_TYPE D_800E92D8;
|
|
|
|
extern UNK_TYPE D_80147474;
|
2020-08-12 03:01:33 +02:00
|
|
|
extern UNK_TYPE D_80147574;
|
2020-08-10 23:35:37 +02:00
|
|
|
extern UNK_TYPE D_80109270;
|
|
|
|
extern UNK_TYPE D_80108558;
|
2020-08-11 01:20:30 +02:00
|
|
|
extern u16 D_800A0940;
|
|
|
|
extern u16 D_800A0942;
|
|
|
|
extern s16 D_800A0944;
|
2020-08-10 23:35:37 +02:00
|
|
|
|
2020-07-18 02:47:33 +02:00
|
|
|
#endif
|