mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-28 19:25:27 +00:00
Add versions.h (#2060)
This commit is contained in:
parent
3e516f48f3
commit
ac2224f095
9 changed files with 22 additions and 11 deletions
|
@ -1,16 +1,6 @@
|
||||||
#ifndef MACROS_H
|
#ifndef MACROS_H
|
||||||
#define MACROS_H
|
#define MACROS_H
|
||||||
|
|
||||||
// OOT versions in build order
|
|
||||||
#define OOT_GC_JP 1
|
|
||||||
#define OOT_GC_JP_MQ 2
|
|
||||||
#define OOT_GC_US 3
|
|
||||||
#define OOT_GC_US_MQ 4
|
|
||||||
#define OOT_GC_EU_MQ_DBG 5
|
|
||||||
#define OOT_GC_EU 6
|
|
||||||
#define OOT_GC_EU_MQ 7
|
|
||||||
#define OOT_GC_JP_CE 8
|
|
||||||
|
|
||||||
#ifndef AVOID_UB
|
#ifndef AVOID_UB
|
||||||
#define BAD_RETURN(type) type
|
#define BAD_RETURN(type) type
|
||||||
#else
|
#else
|
||||||
|
|
15
include/versions.h
Normal file
15
include/versions.h
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#ifndef VERSIONS_H
|
||||||
|
#define VERSIONS_H
|
||||||
|
|
||||||
|
// OOT versions in build order
|
||||||
|
#define OOT_NTSC_1_2 1
|
||||||
|
#define OOT_GC_JP 2
|
||||||
|
#define OOT_GC_JP_MQ 3
|
||||||
|
#define OOT_GC_US 4
|
||||||
|
#define OOT_GC_US_MQ 5
|
||||||
|
#define OOT_GC_EU_MQ_DBG 6
|
||||||
|
#define OOT_GC_EU 7
|
||||||
|
#define OOT_GC_EU_MQ 8
|
||||||
|
#define OOT_GC_JP_CE 9
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,4 +1,4 @@
|
||||||
#include "macros.h"
|
#include "versions.h"
|
||||||
|
|
||||||
#if PLATFORM_N64
|
#if PLATFORM_N64
|
||||||
const char gBuildTeam[] = "zelda@srd44";
|
const char gBuildTeam[] = "zelda@srd44";
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "region.h"
|
#include "region.h"
|
||||||
|
#include "versions.h"
|
||||||
|
|
||||||
#pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:128 gc-jp-ce:128 gc-jp-mq:128 gc-us:128 gc-us-mq:128"
|
#pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:128 gc-jp-ce:128 gc-jp-mq:128 gc-us:128 gc-us-mq:128"
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include "message_data_static.h"
|
#include "message_data_static.h"
|
||||||
#include "terminal.h"
|
#include "terminal.h"
|
||||||
#include "assets/textures/parameter_static/parameter_static.h"
|
#include "assets/textures/parameter_static/parameter_static.h"
|
||||||
|
#include "versions.h"
|
||||||
|
|
||||||
#pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:128 gc-jp-ce:128 gc-jp-mq:128 gc-us:128 gc-us-mq:128"
|
#pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:128 gc-jp-ce:128 gc-jp-mq:128 gc-us:128 gc-us-mq:128"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "quake.h"
|
#include "quake.h"
|
||||||
#include "terminal.h"
|
#include "terminal.h"
|
||||||
|
#include "versions.h"
|
||||||
|
|
||||||
#include "z64frame_advance.h"
|
#include "z64frame_advance.h"
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#include "z_en_mag.h"
|
#include "z_en_mag.h"
|
||||||
#include "assets/objects/object_mag/object_mag.h"
|
#include "assets/objects/object_mag/object_mag.h"
|
||||||
|
#include "versions.h"
|
||||||
|
|
||||||
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5)
|
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "file_select.h"
|
#include "file_select.h"
|
||||||
#include "terminal.h"
|
#include "terminal.h"
|
||||||
|
#include "versions.h"
|
||||||
#include "assets/textures/title_static/title_static.h"
|
#include "assets/textures/title_static/title_static.h"
|
||||||
#include "assets/textures/parameter_static/parameter_static.h"
|
#include "assets/textures/parameter_static/parameter_static.h"
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "alloca.h"
|
#include "alloca.h"
|
||||||
|
#include "versions.h"
|
||||||
#include "assets/textures/nintendo_rogo_static/nintendo_rogo_static.h"
|
#include "assets/textures/nintendo_rogo_static/nintendo_rogo_static.h"
|
||||||
|
|
||||||
#if OOT_DEBUG
|
#if OOT_DEBUG
|
||||||
|
|
Loading…
Reference in a new issue