43 someRot[1] = fakeItemBox->
rot[1];
47 if (fakeItemBox->
state != 2) {
64 if ((fakeItemBox->
rot[1] <
DEGREES(14.95f)) && (fakeItemBox->
rot[1] > 0)) {
66 }
else if ((fakeItemBox->
rot[1] > (150 *
DEGREES(1))) && (fakeItemBox->
rot[1] < (165 *
DEGREES(1)))) {
68 }
else if ((fakeItemBox->
rot[1] > (80 *
DEGREES(1))) && (fakeItemBox->
rot[1] < (95 *
DEGREES(1)))) {
70 }
else if ((fakeItemBox->
rot[1] > (280 *
DEGREES(1))) && (fakeItemBox->
rot[1] < (295 *
DEGREES(1)))) {
84 someMultiplier = 1.0f;
86 someMultiplier = 1.0f - ((thing - 10.0f) * 0.1f);
94 temp_f2 = 2.0f * thing;
105 temp_f2_2 = 0.8f * thing;
106 temp_f12 = 0.5f * thing;
107 someVec[0] = temp_f2_2;
108 someVec[1] = 2.3f * thing;
109 someVec[2] = temp_f12;
117 temp_f0_2 = -0.5f * thing;
118 someVec[0] = temp_f2_2;
119 someVec[1] = 1.2f * thing;
120 someVec[2] = temp_f0_2;
134 someVec[1] = 1.8f * thing;
135 someVec[2] = -1.0f * thing;
143 temp_f0_3 = -0.8f * thing;
144 someVec[0] = temp_f0_3;
145 someVec[1] = 0.6f * thing;
146 someVec[2] = temp_f0_2;
154 someVec[0] = temp_f0_3;
155 someVec[1] = temp_f2;
156 someVec[2] = temp_f12;
void actor_not_rendered(Camera *arg0, struct Actor *arg1)
Definition actors.c:283
void actor_rendered(Camera *arg0, struct Actor *arg1)
Definition actors.c:300
Camera * camera1
Definition camera.c:25
s16 gCourseMaxY
Definition code_800029B0.c:91
s16 gCourseMinY
Definition code_800029B0.c:92
Gfx common_model_fake_itembox[]
f32 Vec3f[3]
Definition common_structs.h:6
s16 Vec3s[3]
Definition common_structs.h:11
f32 Mat4[4][4]
Definition common_structs.h:16
#define DEGREES(degree)
Definition defines.h:347
void render_actor_fake_item_box(Camera *camera, struct FakeItemBox *fakeItemBox)
Renders the fake item box actor.
Definition render.inc.c:12
#define G_CULL_BACK
Definition gbi.h:351
#define G_RM_NOOP2
Definition gbi.h:968
#define G_RM_ZB_CLD_SURF2
Definition gbi.h:949
#define G_RM_ZB_CLD_SURF
Definition gbi.h:948
#define G_RM_AA_ZB_OPA_SURF
Definition gbi.h:878
#define G_RM_AA_ZB_OPA_SURF2
Definition gbi.h:879
#define G_RM_AA_ZB_XLU_INTER
Definition gbi.h:888
#define G_LIGHTING
Definition gbi.h:355
#define G_CC_MODULATEIA
Definition gbi.h:488
#define UNUSED
Definition macros.h:23
Gfx * gDisplayListHead
Definition main.c:129
f32 gCameraZoom[4]
Definition main.c:119
void mtxf_rotate_zxy_translate(Mat4 dest, Vec3f translate, Vec3s orientation)
Definition math_util.c:588
void mtxf_scale(Mat4 mtx, f32 coef)
Definition math_util.c:570
s32 render_set_position(Mat4 mtx, s32 mode)
Definition math_util.c:47
void add_translate_mat4_vec3f(Mat4 src, Mat4 dest, Vec3f translate)
Definition math_util.c:235
f32 distance_if_visible(Vec3f cameraPos, Vec3f objectPos, u16 orientationY, f32 preloadDistanceSquared, f32 fovDegrees, f32 maxDistanceSquared)
Definition math_util.c:1361
Definition actor_types.h:120
Vec3s rot
Definition camera.h:33
Vec3f pos
Definition camera.h:27
Definition actor_types.h:349
Vec3s rot
Definition actor_types.h:356
s16 someTimer
Definition actor_types.h:352
f32 sizeScaling
Definition actor_types.h:354
s16 state
Definition actor_types.h:353
Vec3f pos
Definition actor_types.h:358
signed int s32
Definition ultratypes.h:15
float f32
Definition ultratypes.h:34