Started work on pushable boxes (#32)

* Started work on pushable boxes

* Minor fixes

* Fix inlines

* Comment GetHomeRoomNo
This commit is contained in:
LagoLunatic
2023-09-14 18:42:57 -04:00
committed by GitHub
parent b0eb3c4f2b
commit c754cf4e2a
11 changed files with 936 additions and 687 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ static void event_start_check(andsw0_class* i_this) {
switch (i_this->mEventState) {
case 0:
default:
if (i_this->mEventIdx != -1 && i_fopAcM_isSwitch(i_this, i_this->mSwitchToSet)) {
if (i_this->mEventIdx != -1 && fopAcM_isSwitch(i_this, i_this->mSwitchToSet)) {
if (i_this->mEvtInfo.i_checkCommandDemoAccrpt()) {
i_this->mEventState++;
} else {
+1 -1
View File
@@ -166,7 +166,7 @@ void daItem_c::CreateInit() {
}
mSwitchId = (fpcM_GetParam(this) & 0x00FF0000) >> 0x10;
if (mSwitchId != 0xFF && i_fopAcM_isSwitch(this, mSwitchId)) {
if (mSwitchId != 0xFF && fopAcM_isSwitch(this, mSwitchId)) {
hide();
mStatusFlags |= 2;
}
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -3,16 +3,16 @@
// Translation Unit: d_path.cpp
//
#include "d_path.h"
#include "d/d_path.h"
#include "dolphin/types.h"
/* 80080018-8008010C .text dPath_GetPnt__FP5dPathi */
void dPath_GetPnt(dPath*, int) {
dPath__Point* dPath_GetPnt(dPath*, int) {
/* Nonmatching */
}
/* 8008010C-80080218 .text dPath_GetRoomPath__Fii */
void dPath_GetRoomPath(int, int) {
dPath* dPath_GetRoomPath(int, int) {
/* Nonmatching */
}