Applied more Attr defines
This commit is contained in:
parent
c9f46f9418
commit
f1c171b33f
51 changed files with 336 additions and 344 deletions
|
|
@ -26,7 +26,6 @@
|
|||
#include "game/window.h"
|
||||
#include "game/wipe.h"
|
||||
|
||||
|
||||
#include "ext_math.h"
|
||||
|
||||
typedef struct {
|
||||
|
|
@ -561,7 +560,7 @@ static void ItemSizeSet(s32 arg0)
|
|||
HuPrcVSleep();
|
||||
}
|
||||
}
|
||||
Hu3DModelAttrReset(temp_r28, 0x40000002);
|
||||
Hu3DModelAttrReset(temp_r28, HU3D_MOTATTR_PAUSE);
|
||||
BoardPlayerSizeSet(currItemRestore, arg0);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ s32 BoardModelPassSet(s16 model, s32 pass)
|
|||
Hu3DModelAttrSet(model_ptr->id, HU3D_ATTR_ZWRITE_OFF);
|
||||
}
|
||||
else {
|
||||
Hu3DModelAttrReset(model_ptr->id, 2);
|
||||
Hu3DModelAttrReset(model_ptr->id, HU3D_ATTR_ZWRITE_OFF);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -456,7 +456,7 @@ s32 BoardModelMotionUpdateSet(s16 model, s32 flag)
|
|||
Hu3DModelAttrSet(model_ptr->id, HU3D_MOTATTR_LOOP);
|
||||
}
|
||||
else {
|
||||
Hu3DModelAttrReset(model_ptr->id, 0x40000001);
|
||||
Hu3DModelAttrReset(model_ptr->id, HU3D_MOTATTR_LOOP);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -513,7 +513,7 @@ s32 BoardModelMotionStart(s16 model, s32 motion, u32 attr)
|
|||
CharModelMotionTimeSet(model_ptr->character, model_ptr->mot_end);
|
||||
}
|
||||
}
|
||||
Hu3DModelAttrReset(model_ptr->id, 0x40000003);
|
||||
Hu3DModelAttrReset(model_ptr->id, HU3D_MOTATTR_LOOP | HU3D_MOTATTR_PAUSE);
|
||||
Hu3DModelAttrSet(model_ptr->id, attr);
|
||||
model_ptr->curr_mot = motion;
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
#include "game/objsub.h"
|
||||
#include "game/pad.h"
|
||||
|
||||
|
||||
#include "math.h"
|
||||
#include "stdlib.h"
|
||||
|
||||
|
|
@ -2694,7 +2693,7 @@ void BoardPlayerResizeAnimExec(s32 player, s32 size)
|
|||
HuPrcVSleep();
|
||||
}
|
||||
}
|
||||
Hu3DModelAttrReset(modelid, 0x40000002);
|
||||
Hu3DModelAttrReset(modelid, HU3D_MOTATTR_PAUSE);
|
||||
BoardPlayerSizeSet(player, size);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue