mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-12 01:40:47 +00:00
Add macros for line number differences (#2365)
* initial work, think I got all of them * cleanup line_numbers.h * fix gc-eu-mq-dbg * fix matching problems * remove old lines * format * missed some stuff * comment fixes * other * review changes
This commit is contained in:
parent
2eb0b91516
commit
ff78b1263b
13 changed files with 111 additions and 144 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "z_en_horse_game_check.h"
|
||||
#include "overlays/actors/ovl_En_Horse/z_en_horse.h"
|
||||
#include "line_numbers.h"
|
||||
|
||||
#define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED
|
||||
|
||||
|
@ -90,12 +91,9 @@ s32 EnHorseGameCheck_InitIngoRace(EnHorseGameCheckBase* base, PlayState* play) {
|
|||
this->ingoHorse = Actor_Spawn(&play->actorCtx, play, ACTOR_EN_HORSE, -250.0f, 1.0f, -1650.0f, 0, 0x4000, 0, 0x8003);
|
||||
|
||||
if (this->ingoHorse == NULL) {
|
||||
#if OOT_VERSION < NTSC_1_1
|
||||
LogUtils_HungupThread("../z_en_horse_game_check.c", 382);
|
||||
#else
|
||||
LogUtils_HungupThread("../z_en_horse_game_check.c", 385);
|
||||
#endif
|
||||
LogUtils_HungupThread("../z_en_horse_game_check.c", LN1(382, 385));
|
||||
}
|
||||
|
||||
this->startTimer = 0;
|
||||
this->finishTimer = 0;
|
||||
this->result = INGORACE_NO_RESULT;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "z_eff_ss_kakera.h"
|
||||
#include "versions.h"
|
||||
#include "line_numbers.h"
|
||||
|
||||
#define rReg0 regs[0]
|
||||
#define rGravity regs[1]
|
||||
|
@ -55,11 +56,7 @@ u32 EffectSsKakera_Init(PlayState* play, u32 index, EffectSs* this, void* initPa
|
|||
|
||||
} else {
|
||||
PRINTF("shape_modelがNULL\n");
|
||||
#if OOT_VERSION < NTSC_1_1
|
||||
LogUtils_HungupThread("../z_eff_kakera.c", 175);
|
||||
#else
|
||||
LogUtils_HungupThread("../z_eff_kakera.c", 178);
|
||||
#endif
|
||||
LogUtils_HungupThread("../z_eff_kakera.c", LN1(175, 178));
|
||||
}
|
||||
|
||||
this->draw = EffectSsKakera_Draw;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue