Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
HitFloatingYellowBlock_anim.c File Reference

Go to the source code of this file.

Variables

Gfx Entity_HitFloatingYellowBlock_RenderBlock2 []
 
Gfx Entity_HitFloatingYellowBlock_RenderBlock1 []
 
StaticAnimatorNode Entity_HitFloatingYellowBlock_NodeBlock2
 
StaticAnimatorNode Entity_HitFloatingYellowBlock_NodeBlock1
 
StaticAnimatorNode Entity_HitFloatingYellowBlock_NodeMain
 
StaticAnimatorNodeEntity_HitFloatingYellowBlock_Mesh []
 
AnimScript Entity_HitFloatingYellowBlock_AnimationHit
 
AnimScript Entity_HitFloatingYellowBlock_AnimationIdle
 

Variable Documentation

◆ Entity_HitFloatingYellowBlock_RenderBlock2

Gfx Entity_HitFloatingYellowBlock_RenderBlock2[]
extern

Definition at line 10 of file HitFloatingYellowBlock_gfx.c.

10 {
11 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
12 gsDPPipeSync(),
13 gsDPSetCycleType(G_CYC_1CYCLE),
14 gsDPLoadTextureBlock(D_0A000C40_E47CF0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
15 gsSPClearGeometryMode(G_LIGHTING),
16 gsSPVertex(D_0A000160_E47210, 24, 0),
17 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
18 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
19 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
20 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
21 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
22 gsSP2Triangles(20, 21, 22, 0, 20, 22, 23, 0),
23 gsDPPipeSync(),
24 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
25 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
26 gsSPEndDisplayList(),
27};
unsigned char D_0A000C40_E47CF0[]
#define PM_CC_04
Definition macros.h:279

◆ Entity_HitFloatingYellowBlock_RenderBlock1

Gfx Entity_HitFloatingYellowBlock_RenderBlock1[]
extern

Definition at line 29 of file HitFloatingYellowBlock_gfx.c.

29 {
30 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
31 gsDPPipeSync(),
32 gsDPSetCycleType(G_CYC_1CYCLE),
33 gsDPLoadTextureBlock(D_0A000440_E474F0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
34 gsSPClearGeometryMode(G_LIGHTING),
35 gsSPVertex(D_0A000000_E470B0, 22, 0),
36 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
37 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
38 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
39 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
40 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
41 gsSP2Triangles(20, 7, 6, 0, 20, 6, 21, 0),
42 gsDPPipeSync(),
43 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
44 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
45 gsSPEndDisplayList(),
46};
unsigned char D_0A000440_E474F0[]

◆ Entity_HitFloatingYellowBlock_NodeBlock2

StaticAnimatorNode Entity_HitFloatingYellowBlock_NodeBlock2
Initial value:
= {
.pos = { 0.0f, 25.0f, 0.0f },
.sibling = ENTITY_ANIM_NULL,
.child = ENTITY_ANIM_NULL,
}
Gfx Entity_HitFloatingYellowBlock_RenderBlock2[]
#define ENTITY_ANIM_NULL

Definition at line 7 of file HitFloatingYellowBlock_anim.c.

7 {
9 .pos = { 0.0f, 25.0f, 0.0f },
10 .sibling = ENTITY_ANIM_NULL,
11 .child = ENTITY_ANIM_NULL,
12};

◆ Entity_HitFloatingYellowBlock_NodeBlock1

StaticAnimatorNode Entity_HitFloatingYellowBlock_NodeBlock1
Initial value:
= {
}
StaticAnimatorNode Entity_HitFloatingYellowBlock_NodeBlock2
Gfx Entity_HitFloatingYellowBlock_RenderBlock1[]
struct StaticAnimatorNode * child

Definition at line 14 of file HitFloatingYellowBlock_anim.c.

◆ Entity_HitFloatingYellowBlock_NodeMain

StaticAnimatorNode Entity_HitFloatingYellowBlock_NodeMain
Initial value:
= {
.displayList = ENTITY_ANIM_NULL,
.sibling = ENTITY_ANIM_NULL,
}
StaticAnimatorNode Entity_HitFloatingYellowBlock_NodeBlock1

Definition at line 20 of file HitFloatingYellowBlock_anim.c.

20 {
21 .displayList = ENTITY_ANIM_NULL,
22 .sibling = ENTITY_ANIM_NULL,
24};

◆ Entity_HitFloatingYellowBlock_Mesh

◆ Entity_HitFloatingYellowBlock_AnimationHit

AnimScript Entity_HitFloatingYellowBlock_AnimationHit

Definition at line 33 of file HitFloatingYellowBlock_anim.c.

33 {
34 as_SetRotation(1, 0.0, 0.0, 0.0)
35 as_SetPos(1, 0, 0, 0)
36 as_SetScale(1, 1.0, 1.0, 1.0)
37 as_SetRotation(2, 0.0, 0.0, 0.0)
38 as_SetPos(2, 0, 0, 0)
39 as_SetScale(2, 1.0, 1.0, 1.0)
40 as_SetRotation(3, 0.0, 0.0, 0.0)
41 as_SetPos(3, 0, 25, 0)
42 as_SetScale(3, 1.0, -1.0, 1.0)
43 as_Wait(1)
44 as_SetScale(2, 1.26, 0.815, 1.26)
45 as_SetPos(3, 0, 20, 0)
46 as_SetScale(3, 1.26, -0.815, 1.26)
47 as_Wait(1)
48 as_SetScale(2, 1.735, 0.405, 1.735)
49 as_SetPos(3, 0, 10, 0)
50 as_SetScale(3, 1.735, -0.405, 1.735)
51 as_Wait(1)
52 as_SetScale(2, 2.0, 0.0, 2.0)
53 as_SetPos(3, 0, 0, 0)
54 as_SetScale(3, 2.0, 0.0, 2.0)
55 as_Wait(1)
56 as_SetPos(2, 0, 8, 0)
57 as_SetScale(2, 1.805, -0.335, 1.805)
58 as_SetScale(3, 1.805, 0.335, 1.805)
59 as_Wait(1)
60 as_SetPos(2, 0, 16, 0)
61 as_SetScale(2, 1.395, -0.675, 1.395)
62 as_SetScale(3, 1.395, 0.675, 1.395)
63 as_Wait(1)
64 as_SetPos(2, 0, 25, 0)
65 as_SetScale(2, 1.0, -1.0, 1.0)
66 as_SetScale(3, 1.0, 1.0, 1.0)
67 as_Wait(1)
68 as_SetPos(2, 0, 31, 0)
69 as_SetScale(2, 0.745, -1.245, 0.745)
70 as_SetScale(3, 0.745, 1.245, 0.745)
71 as_Wait(1)
72 as_SetPos(2, 0, 28, 0)
73 as_SetScale(2, 0.875, -1.12, 0.875)
74 as_SetScale(3, 0.875, 1.12, 0.875)
75 as_Wait(1)
77 as_SetPos(2, 0, 25, 0)
78 as_SetScale(2, 1.0, -1.0, 1.0)
79 as_SetScale(3, 1.0, 1.0, 1.0)
80 as_Wait(1)
82 as_End
83};
#define as_Wait(time)
#define as_SetPos(node, x, y, z)
#define as_SetRotation(node, x, y, z)
#define as_SetScale(node, x, y, z)
#define as_End
#define as_Loop
#define as_Restart

◆ Entity_HitFloatingYellowBlock_AnimationIdle

AnimScript Entity_HitFloatingYellowBlock_AnimationIdle
Initial value:
= {
as_SetRotation(1, 0.0, 0.0, 0.0)
as_SetPos(1, 0, 0, 0)
as_SetScale(1, 1.0, 1.0, 1.0)
as_SetRotation(2, 0.0, 0.0, 0.0)
as_SetPos(2, 0, 0, 0)
as_SetScale(2, 1.0, 1.0, 1.0)
as_SetRotation(3, 0.0, 0.0, 0.0)
as_SetPos(3, 0, 25, 0)
as_SetScale(3, 1.0, -1.0, 1.0)
}

Definition at line 85 of file HitFloatingYellowBlock_anim.c.

85 {
86 as_SetRotation(1, 0.0, 0.0, 0.0)
87 as_SetPos(1, 0, 0, 0)
88 as_SetScale(1, 1.0, 1.0, 1.0)
89 as_SetRotation(2, 0.0, 0.0, 0.0)
90 as_SetPos(2, 0, 0, 0)
91 as_SetScale(2, 1.0, 1.0, 1.0)
92 as_SetRotation(3, 0.0, 0.0, 0.0)
93 as_SetPos(3, 0, 25, 0)
94 as_SetScale(3, 1.0, -1.0, 1.0)
95 as_Wait(1)
97 as_End
98};