Mario Kart 64
Loading...
Searching...
No Matches
render.inc.c
Go to the documentation of this file.
1#include <actors.h>
2#include <libultra/gbi.h>
3
11void render_actor_red_shell(Camera* camera, Mat4 matrix, struct ShellActor* shell) {
12 gDPLoadTLUT_pal256(gDisplayListHead++, &gTLUTRedShell); // set texture
13 // Set up color combiner for channel swapping
14 render_actor_shell(camera, matrix, shell);
15}
16
24void render_actor_blue_shell(Camera* camera, Mat4 matrix, struct ShellActor* shell) {
25 gDPLoadTLUT_pal256(gDisplayListHead++, common_tlut_blue_shell); // set texture
26 render_actor_shell(camera, matrix, shell);
27}
void render_actor_shell(Camera *camera, Mat4 matrix, struct ShellActor *shell)
Definition actors.c:728
s8 gTLUTRedShell[512]
Definition actors.c:56
void render_actor_blue_shell(Camera *camera, Mat4 matrix, struct ShellActor *shell)
Render the blue shell actor.
Definition render.inc.c:24
void render_actor_red_shell(Camera *camera, Mat4 matrix, struct ShellActor *shell)
Render the red shell actor.
Definition render.inc.c:11
f32 Mat4[4][4]
Definition common_structs.h:20
Gfx * gDisplayListHead
Definition main.c:136
Definition camera.h:27
Definition actor_types.h:320