blob: 4e60c9f317c54910604c260b537da253ea0305b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include <actors.h>
#include <libultra/gbi.h>
/**
* @brief Render the red shell actor
*
* @param camera
* @param matrix
* @param shell
*/
void render_actor_red_shell(Camera* camera, Mat4 matrix, struct ShellActor* shell) {
gDPLoadTLUT_pal256(gDisplayListHead++, &gTLUTRedShell); // set texture
render_actor_shell(camera, matrix, shell);
}
/**
* @brief Render the blue shell actor
*
* @param camera
* @param matrix
* @param shell
*/
void render_actor_blue_shell(Camera* camera, Mat4 matrix, struct ShellActor* shell) {
gDPLoadTLUT_pal256(gDisplayListHead++, common_tlut_blue_shell); // set texture
render_actor_shell(camera, matrix, shell);
}
|