mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-10 17:00:19 +00:00
Actor Cleanups (#177)
* rename init chains, colchkinfo, colider inits, damage tables * actor cleanups * fix collider init script names * small fixes * ichain arg name * change dynapoly types and names * revert enru1 data name * and the type * pr suggestions
This commit is contained in:
parent
13a94482e5
commit
78d0883f04
108 changed files with 786 additions and 869 deletions
|
@ -29,10 +29,10 @@ const ActorInit Bg_Pushbox_InitVars = {
|
|||
(ActorFunc)BgPushbox_Draw,
|
||||
};
|
||||
|
||||
extern u32 D_06000000;
|
||||
extern u32 D_06000350;
|
||||
extern Gfx D_06000000[];
|
||||
extern UNK_TYPE D_06000350;
|
||||
|
||||
static InitChainEntry initChain[] = {
|
||||
static InitChainEntry sInitChain[] = {
|
||||
ICHAIN_F32_DIV1000(gravity, -2000, ICHAIN_STOP),
|
||||
};
|
||||
|
||||
|
@ -46,7 +46,7 @@ void BgPushbox_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
u32 local_c = 0;
|
||||
s32 pad2;
|
||||
|
||||
Actor_ProcessInitChain(thisx, initChain);
|
||||
Actor_ProcessInitChain(thisx, sInitChain);
|
||||
DynaPolyInfo_SetActorMove(&this->dyna, 0);
|
||||
DynaPolyInfo_Alloc(&D_06000350, &local_c);
|
||||
this->dyna.dynaPolyId = DynaPolyInfo_RegisterActor(globalCtx, &globalCtx->colCtx.dyna, thisx, local_c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue