Renaming spawn functions
This commit is contained in:
@@ -69,7 +69,7 @@ void func_80387574(ActorMarker *caller, enum asset_e text_id, s32 arg1){
|
||||
|
||||
if(nodeProp_findPositionFromActorId(0x14b, sp24)){
|
||||
jiggy_spawn(JIGGY_14_TTC_BLUBBER, sp24);
|
||||
__spawnQueue_add_4((GenFunction_4)func_802C4140, ACTOR_4C_STEAM, reinterpret_cast(s32, sp24[0]), reinterpret_cast(s32, sp24[1]), reinterpret_cast(s32, sp24[2]));
|
||||
__spawnQueue_add_4((GenFunction_4)spawnQueue_actor_f32, ACTOR_4C_STEAM, reinterpret_cast(s32, sp24[0]), reinterpret_cast(s32, sp24[1]), reinterpret_cast(s32, sp24[2]));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
extern void func_802C4218(s32, s32, s32, s32);
|
||||
extern void spawnQueue_bundle_f32(s32, s32, s32, s32);
|
||||
extern f32 func_80257204(f32, f32, f32, f32);
|
||||
extern ActorProp * func_80320EB0(ActorMarker *, f32, s32);
|
||||
|
||||
@@ -240,8 +240,8 @@ void __chClam_playerDropsItem(s32 index, enum item_e item_id){
|
||||
f32 position[3];
|
||||
|
||||
player_getPosition(position);
|
||||
func_802C8F70(randf2(0.0f, 359.0f));
|
||||
__spawnQueue_add_4((GenFunction_4)func_802C4218, index, reinterpret_cast(s32, position[0]), reinterpret_cast(s32, position[1]), reinterpret_cast(s32, position[2]));
|
||||
bundle_setYaw(randf2(0.0f, 359.0f));
|
||||
__spawnQueue_add_4((GenFunction_4)spawnQueue_bundle_f32, index, reinterpret_cast(s32, position[0]), reinterpret_cast(s32, position[1]), reinterpret_cast(s32, position[2]));
|
||||
item_dec(item_id);
|
||||
}
|
||||
|
||||
|
@@ -22,7 +22,7 @@ ActorInfo gChTreasureInfo = {
|
||||
/* .code */
|
||||
void __chtreasure_die(ActorMarker *marker, ActorMarker *otherMarker){
|
||||
Actor *this = marker_getActor(marker);
|
||||
__spawnQueue_add_4((GenFunction_4) func_802C4140, 0x4C, reinterpret_cast(s32, this->position[0]), reinterpret_cast(s32, this->position[1]), reinterpret_cast(s32, this->position[2]));
|
||||
__spawnQueue_add_4((GenFunction_4) spawnQueue_actor_f32, 0x4C, reinterpret_cast(s32, this->position[0]), reinterpret_cast(s32, this->position[1]), reinterpret_cast(s32, this->position[2]));
|
||||
func_802EE278(this, 3, 0xf, 0x3C, 0.2f, 1.2f);
|
||||
func_803115C4(0xA19);
|
||||
jiggy_spawn(JIGGY_11_TTC_RED_X, this->position);
|
||||
|
@@ -92,7 +92,7 @@ void func_80389A1C(void) {
|
||||
Actor *actor;
|
||||
ActorLocal_TreasureHunt *local;
|
||||
|
||||
actor = spawn_actor_f32(0x55, D_8038C820[D_8037DCB4], 0);
|
||||
actor = actor_spawnWithYaw_f32(0x55, D_8038C820[D_8037DCB4], 0);
|
||||
local = (ActorLocal_TreasureHunt *)&actor->local;
|
||||
actor->yaw = D_8038C868[D_8037DCB4];
|
||||
local->unk0 = D_8037DCB4;
|
||||
@@ -105,7 +105,7 @@ void func_80389A9C(void) {
|
||||
ActorLocal_TreasureHunt *local;
|
||||
s32 actor_id;
|
||||
|
||||
actor = spawn_actor_f32((D_8038C898 - 1)[D_8037DCB4], D_8038C820[D_8037DCB4 - 1], 0);
|
||||
actor = actor_spawnWithYaw_f32((D_8038C898 - 1)[D_8037DCB4], D_8038C820[D_8037DCB4 - 1], 0);
|
||||
local = (ActorLocal_TreasureHunt *)&actor->local;
|
||||
actor->yaw = D_8038C880[D_8037DCB4 - 1];
|
||||
local->unk0 = D_8037DCB4;
|
||||
@@ -157,7 +157,7 @@ void func_80389CC4(s16 arg0[3], s32 arg1){
|
||||
D_8038D708[1] = (f32)arg0[1];
|
||||
D_8038D708[2] = (f32)arg0[2];
|
||||
D_8038D708[1] = mapModel_getFloorY(D_8038D708);
|
||||
__spawnQueue_add_4((GenFunction_4)func_802C4140, 0xF4, reinterpret_cast(s32, D_8038D708[0]), reinterpret_cast(s32, D_8038D708[1]), reinterpret_cast(s32, D_8038D708[2]));
|
||||
__spawnQueue_add_4((GenFunction_4)spawnQueue_actor_f32, 0xF4, reinterpret_cast(s32, D_8038D708[0]), reinterpret_cast(s32, D_8038D708[1]), reinterpret_cast(s32, D_8038D708[2]));
|
||||
D_8038D700 = partEmitMgr_newEmitter(3);
|
||||
particleEmitter_setRGB(D_8038D700, D_8038C91C);
|
||||
particleEmitter_setSprite(D_8038D700, ASSET_700_SPRITE_DUST);
|
||||
|
Reference in New Issue
Block a user