summaryrefslogtreecommitdiff
path: root/src/render_objects.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-02-07 14:36:55 -0700
committerGitHub <noreply@github.com>2025-02-07 14:36:55 -0700
commitfc1e1a97825c129f114a5c59ab1820d1a1b9187f (patch)
tree3d18b98adf1a3c62fcbd203f55a89e047782808a /src/render_objects.c
parent6f8cbc0279004a39635c922b824e8561f5355bc5 (diff)
Reimpl star emitter (#180)
* Reimpl star emitter * Remove OObject Lists * wip mole reimpl * nearly fix moles * Cleanup * Update reimpl seagull * Rework finishline to auto spawn and not to run in credits * Fix train crossing direction in extra mode * Clarification * micro optimization * update mole --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/render_objects.c')
-rw-r--r--src/render_objects.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/render_objects.c b/src/render_objects.c
index 409bab57c..d3fcaaa64 100644
--- a/src/render_objects.c
+++ b/src/render_objects.c
@@ -3956,50 +3956,6 @@ void func_800557B4(s32 objectIndex, u32 arg1, u32 arg2) {
}
}
-void render_object_train_penguins(s32 cameraId) {
- s32 i;
- s32 objectIndex;
- s32 temp_s1;
- s32 var_a3;
- u16 var_s1;
- u32 var_s3;
-
- if (gPlayerCountSelection1 == 1) {
- var_s3 = 0x0003D090;
- } else if (gPlayerCountSelection1 == 2) {
- var_s3 = 0x00027100;
- } else {
- var_s3 = 0x00015F90;
- }
- for (i = 0; i < NUM_PENGUINS; i++) {
- objectIndex = indexObjectList1[i];
- if (gObjectList[objectIndex].state >= 2) {
- if (gPlayerCountSelection1 == 1) {
- var_s1 = 0x4000;
- if (i == 0) {
- var_a3 = 0x000005DC;
- } else if (func_80072320(objectIndex, 8) != 0) {
- var_a3 = 0x00000320;
- } else {
- var_a3 = 0x000003E8;
- }
- } else {
- if (func_80072320(objectIndex, 8) != 0) {
- var_a3 = 0x000001F4;
- var_s1 = 0x4000;
- } else {
- var_a3 = 0x00000258;
- var_s1 = 0x5555;
- }
- }
- temp_s1 = func_8008A364(objectIndex, cameraId, var_s1, var_a3);
- if (is_obj_flag_status_active(objectIndex, VISIBLE) != 0) {
- func_800557B4(objectIndex, (u32) temp_s1, var_s3);
- }
- }
- }
-}
-
void func_80055EF4(s32 objectIndex, UNUSED s32 arg1) {
Object* object;