20 return (param_1 & 0xf0) >> 4;
24 return (param_1 & 0xf00) >> 8;
28 return param_1 * 0x35;
32 return param_1 * 0x3d + 10;
36 return (param_1 & 0xf0000) >> 0x10;
40 return param_1 * 0x37;
44 u32 res = param_1 * 0x37;
45 res += ((param_1 + 1) >> 1) * 0x37;
50 return (param_1 & 0xf00000) >> 0x14;
static BOOL flag
Definition DEMOAVX.c:20
int calcDifferedBufferSize_TexNoSize(int param_1)
Definition J3DPacket.h:39
u32 calcDifferedBufferSize_TexNoAndTexCoordScaleSize(u32 param_1)
Definition J3DPacket.h:43
int calcDifferedBufferSize_TexGenSize(int param_1)
Definition J3DPacket.h:31
int calcDifferedBufferSize_TexMtxSize(int param_1)
Definition J3DPacket.h:27
u32 getDiffFlag_TexNoNum(u32 param_1)
Definition J3DPacket.h:35
u32 getDiffFlag_LightObjNum(u32 param_1)
Definition J3DPacket.h:19
u32 getDiffFlag_TexGenNum(u32 param_1)
Definition J3DPacket.h:23
u32 getDiffFlag_TevStageNum(u32 param_1)
Definition J3DPacket.h:49
int calcDifferedBufferSize_TevStageSize(int param_1)
Definition J3DPacket.h:53
int calcDifferedBufferSize_TevStageDirectSize(int param_1)
Definition J3DPacket.h:57
J3DError
Definition J3DSys.h:8
Definition J3DPacket.h:65
J3DError single_To_Double()
Definition J3DPacket.cpp:36
void callDL() const
Definition J3DPacket.cpp:63
static s32 sInterruptFlag
Definition J3DPacket.h:89
void * mpData[2]
Definition J3DPacket.h:91
static GDLObj sGDLObj
Definition J3DPacket.h:88
void beginDL()
Definition J3DPacket.cpp:76
u32 mCapacity
Definition J3DPacket.h:93
u32 endPatch()
Definition J3DPacket.cpp:100
void beginPatch()
Definition J3DPacket.cpp:95
u8 * getDisplayList(int idx) const
Definition J3DPacket.h:85
J3DError newDisplayList(u32)
Definition J3DPacket.cpp:11
void setSingleDisplayList(void *, u32)
Definition J3DPacket.cpp:50
u32 getDisplayListSize() const
Definition J3DPacket.h:86
J3DDisplayListObj()
Definition J3DPacket.h:67
J3DError newSingleDisplayList(u32)
Definition J3DPacket.cpp:23
u32 mSize
Definition J3DPacket.h:92
u32 endDL()
Definition J3DPacket.cpp:84
void swapBuffer()
Definition J3DPacket.cpp:57
Definition J3DDrawBuffer.h:43
Definition J3DPacket.h:135
void beginPatch()
Definition J3DPacket.h:146
char mPad0[0x0C]
Definition J3DPacket.h:165
J3DTexMtxObj * mpTexMtxObj
Definition J3DPacket.h:167
void lock()
Definition J3DPacket.h:158
void offFlag(u32 flag)
Definition J3DPacket.h:157
J3DDrawPacket()
Definition J3DPacket.cpp:132
~J3DDrawPacket()
Definition J3DPacket.cpp:139
J3DError newSingleDisplayList(u32)
Definition J3DPacket.cpp:157
J3DDisplayListObj * mpDisplayListObj
Definition J3DPacket.h:166
u32 mFlags
Definition J3DPacket.h:164
void endPatch()
Definition J3DPacket.h:147
void callDL() const
Definition J3DPacket.h:149
J3DTexMtxObj * getTexMtxObj() const
Definition J3DPacket.h:160
J3DDisplayListObj * getDisplayListObj() const
Definition J3DPacket.h:143
void setDisplayListObj(J3DDisplayListObj *pObj)
Definition J3DPacket.h:144
bool isLocked() const
Definition J3DPacket.h:161
bool checkFlag(u32 flag) const
Definition J3DPacket.h:155
@ LOCKED
Definition J3DPacket.h:152
virtual void draw()
Definition J3DPacket.cpp:170
J3DError newDisplayList(u32)
Definition J3DPacket.cpp:143
void onFlag(u32 flag)
Definition J3DPacket.h:156
void unlock()
Definition J3DPacket.h:159
Definition J3DPacket.h:206
void endDiff()
Definition J3DPacket.cpp:200
bool isEnabled_Diff() const
Definition J3DPacket.h:223
virtual ~J3DMatPacket()
Definition J3DPacket.cpp:185
J3DShapePacket * mpShapePacket
Definition J3DPacket.h:231
bool isSame(J3DMatPacket *) const
Definition J3DPacket.cpp:205
void setMaterialID(u32 id)
Definition J3DPacket.h:220
J3DShapePacket * getShapePacket() const
Definition J3DPacket.h:215
void addShapePacket(J3DShapePacket *)
Definition J3DPacket.cpp:187
void beginDiff()
Definition J3DPacket.cpp:196
J3DMaterial * mpMaterial
Definition J3DPacket.h:232
J3DMatPacket()
Definition J3DPacket.cpp:175
J3DShapePacket * mpInitShapePacket
Definition J3DPacket.h:230
J3DMaterial * getMaterial() const
Definition J3DPacket.h:214
bool isChanged() const
Definition J3DPacket.h:222
void setMaterial(J3DMaterial *pMaterial)
Definition J3DPacket.h:217
J3DMaterialAnm * mpMaterialAnm
Definition J3DPacket.h:235
void setShapePacket(J3DShapePacket *packet)
Definition J3DPacket.h:216
J3DTexture * mpTexture
Definition J3DPacket.h:234
void setTexture(J3DTexture *pTexture)
Definition J3DPacket.h:218
void setInitShapePacket(J3DShapePacket *packet)
Definition J3DPacket.h:219
u32 mDiffFlag
Definition J3DPacket.h:233
void setMaterialAnmID(J3DMaterialAnm *materialAnm)
Definition J3DPacket.h:221
virtual int entry(J3DDrawBuffer *)
Definition J3DPacket.cpp:401
virtual void draw()
Definition J3DPacket.cpp:215
Definition J3DMtxBuffer.h:12
Definition J3DPacket.h:100
virtual ~J3DPacket()
Definition J3DPacket.h:123
virtual int entry(J3DDrawBuffer *)
Definition J3DPacket.cpp:107
virtual void draw()
Definition J3DPacket.cpp:398
J3DPacket * mpFirstChild
Definition J3DPacket.h:127
J3DPacket * getNextPacket() const
Definition J3DPacket.h:110
void setUserArea(u32 area)
Definition J3DPacket.h:119
void * mpUserData
Definition J3DPacket.h:128
void addChildPacket(J3DPacket *)
Definition J3DPacket.cpp:111
void * getUserArea()
Definition J3DPacket.h:118
J3DPacket()
Definition J3DPacket.h:102
void drawClear()
Definition J3DPacket.h:113
void setNextPacket(J3DPacket *i_packet)
Definition J3DPacket.h:111
J3DPacket * mpNextPacket
Definition J3DPacket.h:126
Definition J3DPacket.h:174
J3DError newDifferedDisplayList(u32)
Definition J3DPacket.cpp:309
J3DModel * getModel() const
Definition J3DPacket.h:191
void setModel(J3DModel *pModel)
Definition J3DPacket.h:186
u32 calcDifferedBufferSize(u32)
Definition J3DPacket.cpp:249
void drawFast()
Definition J3DPacket.cpp:381
J3DShapePacket()
Definition J3DPacket.cpp:236
J3DModel * mpModel
Definition J3DPacket.h:199
Mtx * getBaseMtxPtr() const
Definition J3DPacket.h:192
Mtx * mpBaseMtxPtr
Definition J3DPacket.h:197
virtual void draw()
Definition J3DPacket.cpp:360
void setShape(J3DShape *pShape)
Definition J3DPacket.h:185
void setBaseMtxPtr(Mtx *pMtx)
Definition J3DPacket.h:188
J3DShape * getShape() const
Definition J3DPacket.h:190
J3DShape * mpShape
Definition J3DPacket.h:195
virtual ~J3DShapePacket()
Definition J3DPacket.cpp:245
void prepareDraw() const
Definition J3DPacket.cpp:323
u32 mDiffFlag
Definition J3DPacket.h:198
void setMtxBuffer(J3DMtxBuffer *pMtxBuffer)
Definition J3DPacket.h:187
J3DMtxBuffer * mpMtxBuffer
Definition J3DPacket.h:196
Definition J3DShapeMtx.h:13
Definition J3DTexture.h:40
Definition J3DTexture.h:12
static SECTION_RODATA u8 const id[8]
Definition d_a_npc_bans.cpp:1309
f32 Mtx[3][4]
Definition mtx.h:22
Definition d_a_hozelda.cpp:229
Definition d_a_hozelda.cpp:93
Definition d_a_hozelda.cpp:146
unsigned long u32
Definition types.h:9
signed long s32
Definition types.h:8
unsigned char u8
Definition types.h:5