summaryrefslogtreecommitdiff
path: root/src/REL/d/t
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2024-09-12 22:36:34 +0200
committerGitHub <noreply@github.com>2024-09-12 16:36:34 -0400
commit1180e1f4860d62bccd64bfa2a29eaeebd2c4b019 (patch)
treece6e231ef46aacbdad52ad7f6cbcd9d02dba555e /src/REL/d/t
parente2c4bb7be7fa731a335bce4bc22283d899133e39 (diff)
m3d (#13)
* Initial M3d Pass * `m_bmdl` and `m_bline` left --------- Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com> Co-authored-by: Elijah Thomas <42302100+elijah-thomas774@users.noreply.github.com>
Diffstat (limited to 'src/REL/d/t')
-rw-r--r--src/REL/d/t/d_t_rock_boat.cpp2
-rw-r--r--src/REL/d/t/d_t_sound_area.cpp2
-rw-r--r--src/REL/d/t/d_t_sound_area_mgr.cpp2
-rw-r--r--src/REL/d/t/d_t_timer.cpp2
-rw-r--r--src/REL/d/t/d_t_tumble_weed.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/REL/d/t/d_t_rock_boat.cpp b/src/REL/d/t/d_t_rock_boat.cpp
index c22d2b7c..7af93533 100644
--- a/src/REL/d/t/d_t_rock_boat.cpp
+++ b/src/REL/d/t/d_t_rock_boat.cpp
@@ -8,7 +8,7 @@ STATE_DEFINE(dTgRockBoat_c, Wait);
int dTgRockBoat_c::create() {
mStateMgr.changeState(StateID_Wait);
cooldown = 1;
- return 1;
+ return SUCCEEDED;
}
int dTgRockBoat_c::doDelete() {
diff --git a/src/REL/d/t/d_t_sound_area.cpp b/src/REL/d/t/d_t_sound_area.cpp
index 83aa1907..66159477 100644
--- a/src/REL/d/t/d_t_sound_area.cpp
+++ b/src/REL/d/t/d_t_sound_area.cpp
@@ -40,7 +40,7 @@ int dTgSndAr_c::create() {
ac->setBit_field_0xE8(params & 0xFF);
}
}
- return 1;
+ return SUCCEEDED;
}
int dTgSndAr_c::doDelete() {
diff --git a/src/REL/d/t/d_t_sound_area_mgr.cpp b/src/REL/d/t/d_t_sound_area_mgr.cpp
index 26da7f90..ef4eea02 100644
--- a/src/REL/d/t/d_t_sound_area_mgr.cpp
+++ b/src/REL/d/t/d_t_sound_area_mgr.cpp
@@ -7,7 +7,7 @@ int dTgSndMg_c::create() {
s8 tmpRoomId = roomid;
addActorToRoom(-1);
roomid = tmpRoomId;
- return 1;
+ return SUCCEEDED;
}
int dTgSndMg_c::doDelete() {
diff --git a/src/REL/d/t/d_t_timer.cpp b/src/REL/d/t/d_t_timer.cpp
index 4eef47a2..540e9ee2 100644
--- a/src/REL/d/t/d_t_timer.cpp
+++ b/src/REL/d/t/d_t_timer.cpp
@@ -27,7 +27,7 @@ int dTgTimer_c::create() {
break;
}
resetTimer();
- return 1;
+ return SUCCEEDED;
}
int dTgTimer_c::actorExecute() {
diff --git a/src/REL/d/t/d_t_tumble_weed.cpp b/src/REL/d/t/d_t_tumble_weed.cpp
index 5534cb98..671073f3 100644
--- a/src/REL/d/t/d_t_tumble_weed.cpp
+++ b/src/REL/d/t/d_t_tumble_weed.cpp
@@ -12,7 +12,7 @@ int dTgTumbleWeed_c::create() {
tumbleweedTimer = 0;
windTimer = 0x96;
mStateMgr.changeState(StateID_AreaOut);
- return 1;
+ return SUCCEEDED;
}
u16 decr(u16 *num);