mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-05 13:50:20 +00:00
File Select (z_file_choose) OK (#1012)
* matching split * migrate progress * split done and rodata migrated * all data migrated to c * start init * progress * progress * progress * progress * progress * progress * copy done * progress * erase and settings done * progress * progress * progress * start keyboard * progress * progress * progress * progress * Minor progress * fix z_magic_dark issue * func_80806F34 decomp'd * verified equivalence * one fix * format * merge petries work * reorganizing * lots of reorganizing and wraning fixing * rename file * remove language enum * unwanted changes * some symbol replacement, organization, and some names * all symbols replaced, some organization * some more cleanup * continue docs * Match the remaining functions in file_choose * merge master * select mode documented, all functions in file_choose.c named * nameset functions named, some other cleaning * some more general cleanup * stub comments for cm, name a few things * fix data and sizeof * copy/erase functions and modes named * rename assets, format * change some struct members * fixes * review1 * fix maching error * extract VTX data * re add werror to ZAPD * review 2 * fix * remove file boundary padding * remove zeroes * review3 * change skybox stuff * changes to vs etc Co-authored-by: KrimtonZ <krimtonz@gmail.com> Co-authored-by: Thar0 <17233964+Thar0@users.noreply.github.com> Co-authored-by: mzxrules <mzxrules@gmail.com> Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain> Co-authored-by: Roman971 <romanlasnier@hotmail.com> Co-authored-by: Louis <louist103@gmail.com>
This commit is contained in:
parent
768f0c2c88
commit
a3b4dcf388
101 changed files with 4513 additions and 15899 deletions
|
@ -665,8 +665,8 @@ void EnOssan_EndInteraction(GlobalContext* globalCtx, EnOssan* this) {
|
|||
this->stateFlag = OSSAN_STATE_IDLE;
|
||||
}
|
||||
|
||||
s32 EnOssan_TestEndInteraction(EnOssan* this, GlobalContext* globalCtx, Input* controller1) {
|
||||
if (CHECK_BTN_ALL(controller1->press.button, BTN_B)) {
|
||||
s32 EnOssan_TestEndInteraction(EnOssan* this, GlobalContext* globalCtx, Input* input) {
|
||||
if (CHECK_BTN_ALL(input->press.button, BTN_B)) {
|
||||
EnOssan_EndInteraction(globalCtx, this);
|
||||
return true;
|
||||
} else {
|
||||
|
@ -674,8 +674,8 @@ s32 EnOssan_TestEndInteraction(EnOssan* this, GlobalContext* globalCtx, Input* c
|
|||
}
|
||||
}
|
||||
|
||||
s32 EnOssan_TestCancelOption(EnOssan* this, GlobalContext* globalCtx, Input* controller1) {
|
||||
if (CHECK_BTN_ALL(controller1->press.button, BTN_B)) {
|
||||
s32 EnOssan_TestCancelOption(EnOssan* this, GlobalContext* globalCtx, Input* input) {
|
||||
if (CHECK_BTN_ALL(input->press.button, BTN_B)) {
|
||||
this->stateFlag = this->tempStateFlag;
|
||||
func_8010B720(globalCtx, this->shelfSlots[this->cursorIndex]->actor.textId);
|
||||
return true;
|
||||
|
@ -747,9 +747,9 @@ void EnOssan_State_Idle(EnOssan* this, GlobalContext* globalCtx, Player* player)
|
|||
}
|
||||
|
||||
void EnOssan_UpdateJoystickInputState(GlobalContext* globalCtx, EnOssan* this) {
|
||||
Input* controller1 = &globalCtx->state.input[0];
|
||||
s8 stickX = controller1->rel.stick_x;
|
||||
s8 stickY = controller1->rel.stick_y;
|
||||
Input* input = &globalCtx->state.input[0];
|
||||
s8 stickX = input->rel.stick_x;
|
||||
s8 stickY = input->rel.stick_y;
|
||||
|
||||
this->moveHorizontal = this->moveVertical = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue