2022-12-06 10:33:50 +01:00
|
|
|
#pragma once
|
|
|
|
|
2022-03-22 02:51:23 +01:00
|
|
|
#ifndef GLOBAL_H
|
|
|
|
#define GLOBAL_H
|
|
|
|
|
2023-06-01 20:39:50 -05:00
|
|
|
#include "math.h"
|
|
|
|
|
2022-03-22 02:51:23 +01:00
|
|
|
#include "functions.h"
|
|
|
|
#include "variables.h"
|
|
|
|
#include "macros.h"
|
2024-11-19 17:44:44 +01:00
|
|
|
#include "soh/cvar_prefixes.h"
|
2022-05-12 02:18:24 +09:00
|
|
|
#include "soh/Enhancements/gameconsole.h"
|
2022-11-22 17:04:40 -08:00
|
|
|
#include "soh/Enhancements/gameplaystats.h"
|
2023-01-17 00:17:49 -05:00
|
|
|
#include <libultraship/bridge.h>
|
2022-03-22 02:51:23 +01:00
|
|
|
|
|
|
|
#define _AudioseqSegmentRomStart "Audioseq"
|
|
|
|
#define _AudiobankSegmentRomStart "Audiobank"
|
|
|
|
#define _AudiotableSegmentRomStart "Audiotable"
|
|
|
|
|
|
|
|
#define _icon_item_staticSegmentRomStart 0
|
|
|
|
#define _icon_item_staticSegmentRomEnd 0
|
|
|
|
#define _map_i_staticSegmentRomStart 0
|
|
|
|
#define _map_i_staticSegmentRomEnd 0
|
|
|
|
#define _message_staticSegmentRomStart 0
|
|
|
|
#define _message_staticSegmentRomEnd 0
|
|
|
|
#define _do_action_staticSegmentRomStart 0
|
|
|
|
#define _do_action_staticSegmentRomEnd 0
|
|
|
|
#define _nes_font_staticSegmentRomStart 0
|
|
|
|
#define _nes_font_staticSegmentRomEnd 0
|
|
|
|
#define _nintendo_rogo_staticSegmentRomStart 0
|
|
|
|
#define _nintendo_rogo_staticSegmentRomEnd 0
|
|
|
|
#define _dmadataSegmentStart 0
|
|
|
|
#define _dmadataSegmentEnd 0
|
|
|
|
#define _parameter_staticSegmentRomStart 0
|
|
|
|
#define _parameter_staticSegmentRomEnd 0
|
|
|
|
#define _map_name_staticSegmentRomStart 0
|
|
|
|
#define _map_name_staticSegmentRomEnd 0
|
|
|
|
#define _title_staticSegmentRomStart 0
|
|
|
|
#define _title_staticSegmentRomEnd 0
|
|
|
|
#define _z_select_staticSegmentRomStart 0
|
|
|
|
#define _z_select_staticSegmentRomEnd 0
|
|
|
|
|
2023-01-17 00:17:49 -05:00
|
|
|
// TODO: POSIX/BSD Bug, this is a hack to fix the build compilation on any BSD system (Switch, Wii-U, Vita, etc)
|
|
|
|
// <sys/types.h> defines quad as a macro, which conflicts with the quad parameter on z_collision_check.c
|
|
|
|
#undef quad
|
|
|
|
|
2022-03-22 02:51:23 +01:00
|
|
|
#endif
|