3#include <libultra/gbi.h>
20 s16 temp = arg2->
flags;
22 s32 maxObjectsReached;
30 if (CVarGetInteger(
"gNoCulling", 0) == 1) {
31 temp_f0 =
MAX(temp_f0, 0.0f);
52 arg1[3][0] = arg2->
pos[0];
53 arg1[3][1] = arg2->
pos[1];
54 arg1[3][2] = arg2->
pos[2];
56 if (maxObjectsReached) {
60 if (CVarGetInteger(
"gDisableLod", 1) == 1) {
64 if (90000.0f < temp_f0) {
100 animationFrame = arg2->
timers[0];
103 animationFrame = arg2->
timers[1];
106 animationFrame = arg2->
timers[2];
109 animationFrame = arg2->
timers[3];
115 if (animationFrame > 8) {
120 G_TX_MIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD,
void gSPDisplayList(Gfx *pkt, Gfx *dl)
Definition GBIMiddleware.cpp:11
bool IsMarioRaceway()
Definition Game.cpp:720
u8 * D_802BA058
Definition actors.c:53
Camera * camera1
Definition camera.c:29
f32 Mat4[4][4]
Definition common_structs.h:20
#define UNUSED
Definition macros.h:26
#define VIRTUAL_TO_PHYSICAL(addr)
Definition macros.h:91
#define MAX(a, b)
Definition macros.h:130
Gfx * gDisplayListHead
Definition main.c:136
f32 gCameraZoom[4]
Definition main.c:126
s32 render_set_position(Mat4 mtx, s32 arg1)
Definition math_util.c:54
f32 is_within_render_distance(Vec3f cameraPos, Vec3f objectPos, u16 orientationY, f32 minDistance, f32 fov, f32 maxDistance)
Definition math_util.c:1100
void render_actor_piranha_plant(Camera *arg0, Mat4 arg1, struct PiranhaPlant *arg2)
Renders the piranha plant actor. Actor used in Mario Raceway and Royal Raceway.
Definition render.inc.c:15
Vec3s rot
Definition camera.h:34
Vec3f pos
Definition camera.h:28
Definition actor_types.h:275
Vec4s visibilityStates
Definition actor_types.h:278
Vec4s timers
Definition actor_types.h:282
s16 flags
Definition actor_types.h:277
Vec3f pos
Definition actor_types.h:281