Added Luigi's face in place of 'Mario Cam'

Fixes #42
This commit is contained in:
MysterD 2020-09-11 22:36:29 -07:00
parent 6d438ba760
commit 5abe3577ae
3 changed files with 4 additions and 3 deletions

View file

@ -2076,7 +2076,7 @@ const u8 *const main_credits_font_lut[] = {
// HUD camera table 0x020087CC-0x020087E3 // HUD camera table 0x020087CC-0x020087E3
const u8 *const main_hud_camera_lut[] = { const u8 *const main_hud_camera_lut[] = {
texture_hud_char_camera, texture_hud_char_mario_head, texture_hud_char_lakitu, texture_hud_char_no_camera, texture_hud_char_camera, texture_hud_char_mario_head, texture_hud_char_lakitu, texture_hud_char_no_camera,
texture_hud_char_arrow_up, texture_hud_char_arrow_down, texture_hud_char_arrow_up, texture_hud_char_arrow_down, texture_hud_char_luigi_head,
}; };
// If you change the language here, the following Makefile rule also needs to // If you change the language here, the following Makefile rule also needs to

View file

@ -433,7 +433,7 @@ void render_hud_camera_status(void) {
switch (sCameraHUD.status & CAM_STATUS_MODE_GROUP) { switch (sCameraHUD.status & CAM_STATUS_MODE_GROUP) {
case CAM_STATUS_MARIO: case CAM_STATUS_MARIO:
render_hud_tex_lut(x + 16, y, (*cameraLUT)[GLYPH_CAM_MARIO_HEAD]); render_hud_tex_lut(x + 16, y, (*cameraLUT)[(gNetworkType == NT_SERVER) ? GLYPH_CAM_MARIO_HEAD : GLYPH_CAM_LUIGI_HEAD]);
break; break;
case CAM_STATUS_LAKITU: case CAM_STATUS_LAKITU:
render_hud_tex_lut(x + 16, y, (*cameraLUT)[GLYPH_CAM_LAKITU_HEAD]); render_hud_tex_lut(x + 16, y, (*cameraLUT)[GLYPH_CAM_LAKITU_HEAD]);

View file

@ -18,7 +18,8 @@ enum CameraHUDLut {
GLYPH_CAM_LAKITU_HEAD, GLYPH_CAM_LAKITU_HEAD,
GLYPH_CAM_FIXED, GLYPH_CAM_FIXED,
GLYPH_CAM_ARROW_UP, GLYPH_CAM_ARROW_UP,
GLYPH_CAM_ARROW_DOWN GLYPH_CAM_ARROW_DOWN,
GLYPH_CAM_LUIGI_HEAD,
}; };
// Functions // Functions