Files
SpaghettiKart/include/assets/player_selection.h
coco875 7937896598 make some texture more flexible and editable + port documentation from the decomp + fix some bug (#309)
* support a more flexible background

* remove useless function

* rename of some font

* experimental png

* migrate to the new initdata

* fix skybox and adjust minimap

* format in audio

* simplify player render

* simplify shell render and support custom texture of shell

* clean redshell texture

* format and multiple fix

* some update of name

* allow change icon of character

* more rename

* continue rename

* more documentation and simplification

* change lus and continue rename

* continue rename

* few fix for asan

* fix ghost

* Update menu_items.c

* fix mac error

* some test of tweak for texture

* some tweak

* some button constant

* finish fix ghost

* Update menu_items.c

* Update render_objects.c

* Update menu_items.c

* Update libultraship

* Update libultraship

* Delete valgrind.report

* Update libultraship

* callgrind benchmark

* Update valgrind_callgrind.sh

* fix animation

* some rename

* remove useless submodule

* Update libultraship

* fix assets

* fix mistake

* fix more mistake

* Update menu_items.c

* sync more rename with the decom + fix review

* fix a mistake

* fix more mistake

* re add the limit of fps

* fix some hd texture and minimap

* fix a name

* Update menu_items.c

* fix a regression

* fix some segment 5 texture (not all)

* Update camera.c

* improve performance of custom sprite

* fix flatten bug and add documentation on player vertex

* Update render_player.c

* fix data menu

* fix trophy for 50 and 150

* Update memory.c

* Update code_80057C60.c

* fix ghost

* fix boo tlut

* fix a mistake in yaml

* fix yaml

* Update common_data.yml

* add comment for segment 3

* allow even more change in texture

* Update common_data.yml

* Update update.inc.c

* Update camera.c

* Update some_data.c

* wip changes

* Update other_textures.yml

* More changes

* Update update_objects.c

* Fix compile

* Update memory.c

* Update memory.c

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2025-07-01 17:42:14 -06:00

347 lines
17 KiB
C

#pragma once
#include <libultraship.h>
#include <common_structs.h>
#include <align_asset_macro.h>
static const ALIGN_ASSET(2) char gTextureMarioFace00[] = "__OTR__player_selection/mario_face_00";
static const ALIGN_ASSET(2) char gTextureMarioFace01[] = "__OTR__player_selection/mario_face_01";
static const ALIGN_ASSET(2) char gTextureMarioFace02[] = "__OTR__player_selection/mario_face_02";
static const ALIGN_ASSET(2) char gTextureMarioFace03[] = "__OTR__player_selection/mario_face_03";
static const ALIGN_ASSET(2) char gTextureMarioFace04[] = "__OTR__player_selection/mario_face_04";
static const ALIGN_ASSET(2) char gTextureMarioFace05[] = "__OTR__player_selection/mario_face_05";
static const ALIGN_ASSET(2) char gTextureMarioFace06[] = "__OTR__player_selection/mario_face_06";
static const ALIGN_ASSET(2) char gTextureMarioFace07[] = "__OTR__player_selection/mario_face_07";
static const ALIGN_ASSET(2) char gTextureMarioFace08[] = "__OTR__player_selection/mario_face_08";
static const ALIGN_ASSET(2) char gTextureMarioFace09[] = "__OTR__player_selection/mario_face_09";
static const ALIGN_ASSET(2) char gTextureMarioFace10[] = "__OTR__player_selection/mario_face_10";
static const ALIGN_ASSET(2) char gTextureMarioFace11[] = "__OTR__player_selection/mario_face_11";
static const ALIGN_ASSET(2) char gTextureMarioFace12[] = "__OTR__player_selection/mario_face_12";
static const ALIGN_ASSET(2) char gTextureMarioFace13[] = "__OTR__player_selection/mario_face_13";
static const ALIGN_ASSET(2) char gTextureMarioFace14[] = "__OTR__player_selection/mario_face_14";
static const ALIGN_ASSET(2) char gTextureMarioFace15[] = "__OTR__player_selection/mario_face_15";
static const ALIGN_ASSET(2) char gTextureMarioFace16[] = "__OTR__player_selection/mario_face_16";
static const ALIGN_ASSET(2) char gTextureLuigiFace00[] = "__OTR__player_selection/luigi_face_00";
static const ALIGN_ASSET(2) char gTextureLuigiFace01[] = "__OTR__player_selection/luigi_face_01";
static const ALIGN_ASSET(2) char gTextureLuigiFace02[] = "__OTR__player_selection/luigi_face_02";
static const ALIGN_ASSET(2) char gTextureLuigiFace03[] = "__OTR__player_selection/luigi_face_03";
static const ALIGN_ASSET(2) char gTextureLuigiFace04[] = "__OTR__player_selection/luigi_face_04";
static const ALIGN_ASSET(2) char gTextureLuigiFace05[] = "__OTR__player_selection/luigi_face_05";
static const ALIGN_ASSET(2) char gTextureLuigiFace06[] = "__OTR__player_selection/luigi_face_06";
static const ALIGN_ASSET(2) char gTextureLuigiFace07[] = "__OTR__player_selection/luigi_face_07";
static const ALIGN_ASSET(2) char gTextureLuigiFace08[] = "__OTR__player_selection/luigi_face_08";
static const ALIGN_ASSET(2) char gTextureLuigiFace09[] = "__OTR__player_selection/luigi_face_09";
static const ALIGN_ASSET(2) char gTextureLuigiFace10[] = "__OTR__player_selection/luigi_face_10";
static const ALIGN_ASSET(2) char gTextureLuigiFace11[] = "__OTR__player_selection/luigi_face_11";
static const ALIGN_ASSET(2) char gTextureLuigiFace12[] = "__OTR__player_selection/luigi_face_12";
static const ALIGN_ASSET(2) char gTextureLuigiFace13[] = "__OTR__player_selection/luigi_face_13";
static const ALIGN_ASSET(2) char gTextureLuigiFace14[] = "__OTR__player_selection/luigi_face_14";
static const ALIGN_ASSET(2) char gTextureLuigiFace15[] = "__OTR__player_selection/luigi_face_15";
static const ALIGN_ASSET(2) char gTextureLuigiFace16[] = "__OTR__player_selection/luigi_face_16";
static const ALIGN_ASSET(2) char gTexturePeachFace00[] = "__OTR__player_selection/peach_face_00";
static const ALIGN_ASSET(2) char gTexturePeachFace01[] = "__OTR__player_selection/peach_face_01";
static const ALIGN_ASSET(2) char gTexturePeachFace02[] = "__OTR__player_selection/peach_face_02";
static const ALIGN_ASSET(2) char gTexturePeachFace03[] = "__OTR__player_selection/peach_face_03";
static const ALIGN_ASSET(2) char gTexturePeachFace04[] = "__OTR__player_selection/peach_face_04";
static const ALIGN_ASSET(2) char gTexturePeachFace05[] = "__OTR__player_selection/peach_face_05";
static const ALIGN_ASSET(2) char gTexturePeachFace06[] = "__OTR__player_selection/peach_face_06";
static const ALIGN_ASSET(2) char gTexturePeachFace07[] = "__OTR__player_selection/peach_face_07";
static const ALIGN_ASSET(2) char gTexturePeachFace08[] = "__OTR__player_selection/peach_face_08";
static const ALIGN_ASSET(2) char gTexturePeachFace09[] = "__OTR__player_selection/peach_face_09";
static const ALIGN_ASSET(2) char gTexturePeachFace10[] = "__OTR__player_selection/peach_face_10";
static const ALIGN_ASSET(2) char gTexturePeachFace11[] = "__OTR__player_selection/peach_face_11";
static const ALIGN_ASSET(2) char gTexturePeachFace12[] = "__OTR__player_selection/peach_face_12";
static const ALIGN_ASSET(2) char gTexturePeachFace13[] = "__OTR__player_selection/peach_face_13";
static const ALIGN_ASSET(2) char gTexturePeachFace14[] = "__OTR__player_selection/peach_face_14";
static const ALIGN_ASSET(2) char gTexturePeachFace15[] = "__OTR__player_selection/peach_face_15";
static const ALIGN_ASSET(2) char gTexturePeachFace16[] = "__OTR__player_selection/peach_face_16";
static const ALIGN_ASSET(2) char gTextureToadFace00[] = "__OTR__player_selection/toad_face_00";
static const ALIGN_ASSET(2) char gTextureToadFace01[] = "__OTR__player_selection/toad_face_01";
static const ALIGN_ASSET(2) char gTextureToadFace02[] = "__OTR__player_selection/toad_face_02";
static const ALIGN_ASSET(2) char gTextureToadFace03[] = "__OTR__player_selection/toad_face_03";
static const ALIGN_ASSET(2) char gTextureToadFace04[] = "__OTR__player_selection/toad_face_04";
static const ALIGN_ASSET(2) char gTextureToadFace05[] = "__OTR__player_selection/toad_face_05";
static const ALIGN_ASSET(2) char gTextureToadFace06[] = "__OTR__player_selection/toad_face_06";
static const ALIGN_ASSET(2) char gTextureToadFace07[] = "__OTR__player_selection/toad_face_07";
static const ALIGN_ASSET(2) char gTextureToadFace08[] = "__OTR__player_selection/toad_face_08";
static const ALIGN_ASSET(2) char gTextureToadFace09[] = "__OTR__player_selection/toad_face_09";
static const ALIGN_ASSET(2) char gTextureToadFace10[] = "__OTR__player_selection/toad_face_10";
static const ALIGN_ASSET(2) char gTextureToadFace11[] = "__OTR__player_selection/toad_face_11";
static const ALIGN_ASSET(2) char gTextureToadFace12[] = "__OTR__player_selection/toad_face_12";
static const ALIGN_ASSET(2) char gTextureToadFace13[] = "__OTR__player_selection/toad_face_13";
static const ALIGN_ASSET(2) char gTextureToadFace14[] = "__OTR__player_selection/toad_face_14";
static const ALIGN_ASSET(2) char gTextureToadFace15[] = "__OTR__player_selection/toad_face_15";
static const ALIGN_ASSET(2) char gTextureToadFace16[] = "__OTR__player_selection/toad_face_16";
static const ALIGN_ASSET(2) char gTextureYoshiFace00[] = "__OTR__player_selection/yoshi_face_00";
static const ALIGN_ASSET(2) char gTextureYoshiFace01[] = "__OTR__player_selection/yoshi_face_01";
static const ALIGN_ASSET(2) char gTextureYoshiFace02[] = "__OTR__player_selection/yoshi_face_02";
static const ALIGN_ASSET(2) char gTextureYoshiFace03[] = "__OTR__player_selection/yoshi_face_03";
static const ALIGN_ASSET(2) char gTextureYoshiFace04[] = "__OTR__player_selection/yoshi_face_04";
static const ALIGN_ASSET(2) char gTextureYoshiFace05[] = "__OTR__player_selection/yoshi_face_05";
static const ALIGN_ASSET(2) char gTextureYoshiFace06[] = "__OTR__player_selection/yoshi_face_06";
static const ALIGN_ASSET(2) char gTextureYoshiFace07[] = "__OTR__player_selection/yoshi_face_07";
static const ALIGN_ASSET(2) char gTextureYoshiFace08[] = "__OTR__player_selection/yoshi_face_08";
static const ALIGN_ASSET(2) char gTextureYoshiFace09[] = "__OTR__player_selection/yoshi_face_09";
static const ALIGN_ASSET(2) char gTextureYoshiFace10[] = "__OTR__player_selection/yoshi_face_10";
static const ALIGN_ASSET(2) char gTextureYoshiFace11[] = "__OTR__player_selection/yoshi_face_11";
static const ALIGN_ASSET(2) char gTextureYoshiFace12[] = "__OTR__player_selection/yoshi_face_12";
static const ALIGN_ASSET(2) char gTextureYoshiFace13[] = "__OTR__player_selection/yoshi_face_13";
static const ALIGN_ASSET(2) char gTextureYoshiFace14[] = "__OTR__player_selection/yoshi_face_14";
static const ALIGN_ASSET(2) char gTextureYoshiFace15[] = "__OTR__player_selection/yoshi_face_15";
static const ALIGN_ASSET(2) char gTextureYoshiFace16[] = "__OTR__player_selection/yoshi_face_16";
static const ALIGN_ASSET(2) char gTextureDkFace00[] = "__OTR__player_selection/donkeykong_face_00";
static const ALIGN_ASSET(2) char gTextureDkFace01[] = "__OTR__player_selection/donkeykong_face_01";
static const ALIGN_ASSET(2) char gTextureDkFace02[] = "__OTR__player_selection/donkeykong_face_02";
static const ALIGN_ASSET(2) char gTextureDkFace03[] = "__OTR__player_selection/donkeykong_face_03";
static const ALIGN_ASSET(2) char gTextureDkFace04[] = "__OTR__player_selection/donkeykong_face_04";
static const ALIGN_ASSET(2) char gTextureDkFace05[] = "__OTR__player_selection/donkeykong_face_05";
static const ALIGN_ASSET(2) char gTextureDkFace06[] = "__OTR__player_selection/donkeykong_face_06";
static const ALIGN_ASSET(2) char gTextureDkFace07[] = "__OTR__player_selection/donkeykong_face_07";
static const ALIGN_ASSET(2) char gTextureDkFace08[] = "__OTR__player_selection/donkeykong_face_08";
static const ALIGN_ASSET(2) char gTextureDkFace09[] = "__OTR__player_selection/donkeykong_face_09";
static const ALIGN_ASSET(2) char gTextureDkFace10[] = "__OTR__player_selection/donkeykong_face_10";
static const ALIGN_ASSET(2) char gTextureDkFace11[] = "__OTR__player_selection/donkeykong_face_11";
static const ALIGN_ASSET(2) char gTextureDkFace12[] = "__OTR__player_selection/donkeykong_face_12";
static const ALIGN_ASSET(2) char gTextureDkFace13[] = "__OTR__player_selection/donkeykong_face_13";
static const ALIGN_ASSET(2) char gTextureDkFace14[] = "__OTR__player_selection/donkeykong_face_14";
static const ALIGN_ASSET(2) char gTextureDkFace15[] = "__OTR__player_selection/donkeykong_face_15";
static const ALIGN_ASSET(2) char gTextureDkFace16[] = "__OTR__player_selection/donkeykong_face_16";
static const ALIGN_ASSET(2) char gTextureWarioFace00[] = "__OTR__player_selection/wario_face_00";
static const ALIGN_ASSET(2) char gTextureWarioFace01[] = "__OTR__player_selection/wario_face_01";
static const ALIGN_ASSET(2) char gTextureWarioFace02[] = "__OTR__player_selection/wario_face_02";
static const ALIGN_ASSET(2) char gTextureWarioFace03[] = "__OTR__player_selection/wario_face_03";
static const ALIGN_ASSET(2) char gTextureWarioFace04[] = "__OTR__player_selection/wario_face_04";
static const ALIGN_ASSET(2) char gTextureWarioFace05[] = "__OTR__player_selection/wario_face_05";
static const ALIGN_ASSET(2) char gTextureWarioFace06[] = "__OTR__player_selection/wario_face_06";
static const ALIGN_ASSET(2) char gTextureWarioFace07[] = "__OTR__player_selection/wario_face_07";
static const ALIGN_ASSET(2) char gTextureWarioFace08[] = "__OTR__player_selection/wario_face_08";
static const ALIGN_ASSET(2) char gTextureWarioFace09[] = "__OTR__player_selection/wario_face_09";
static const ALIGN_ASSET(2) char gTextureWarioFace10[] = "__OTR__player_selection/wario_face_10";
static const ALIGN_ASSET(2) char gTextureWarioFace11[] = "__OTR__player_selection/wario_face_11";
static const ALIGN_ASSET(2) char gTextureWarioFace12[] = "__OTR__player_selection/wario_face_12";
static const ALIGN_ASSET(2) char gTextureWarioFace13[] = "__OTR__player_selection/wario_face_13";
static const ALIGN_ASSET(2) char gTextureWarioFace14[] = "__OTR__player_selection/wario_face_14";
static const ALIGN_ASSET(2) char gTextureWarioFace15[] = "__OTR__player_selection/wario_face_15";
static const ALIGN_ASSET(2) char gTextureWarioFace16[] = "__OTR__player_selection/wario_face_16";
static const ALIGN_ASSET(2) char gTextureBowserFace00[] = "__OTR__player_selection/bowser_face_00";
static const ALIGN_ASSET(2) char gTextureBowserFace01[] = "__OTR__player_selection/bowser_face_01";
static const ALIGN_ASSET(2) char gTextureBowserFace02[] = "__OTR__player_selection/bowser_face_02";
static const ALIGN_ASSET(2) char gTextureBowserFace03[] = "__OTR__player_selection/bowser_face_03";
static const ALIGN_ASSET(2) char gTextureBowserFace04[] = "__OTR__player_selection/bowser_face_04";
static const ALIGN_ASSET(2) char gTextureBowserFace05[] = "__OTR__player_selection/bowser_face_05";
static const ALIGN_ASSET(2) char gTextureBowserFace06[] = "__OTR__player_selection/bowser_face_06";
static const ALIGN_ASSET(2) char gTextureBowserFace07[] = "__OTR__player_selection/bowser_face_07";
static const ALIGN_ASSET(2) char gTextureBowserFace08[] = "__OTR__player_selection/bowser_face_08";
static const ALIGN_ASSET(2) char gTextureBowserFace09[] = "__OTR__player_selection/bowser_face_09";
static const ALIGN_ASSET(2) char gTextureBowserFace10[] = "__OTR__player_selection/bowser_face_10";
static const ALIGN_ASSET(2) char gTextureBowserFace11[] = "__OTR__player_selection/bowser_face_11";
static const ALIGN_ASSET(2) char gTextureBowserFace12[] = "__OTR__player_selection/bowser_face_12";
static const ALIGN_ASSET(2) char gTextureBowserFace13[] = "__OTR__player_selection/bowser_face_13";
static const ALIGN_ASSET(2) char gTextureBowserFace14[] = "__OTR__player_selection/bowser_face_14";
static const ALIGN_ASSET(2) char gTextureBowserFace15[] = "__OTR__player_selection/bowser_face_15";
static const ALIGN_ASSET(2) char gTextureBowserFace16[] = "__OTR__player_selection/bowser_face_16";
static const ALIGN_ASSET(2) char gTextureCoursePreviewMarioRaceway[] = "__OTR__player_selection/gTextureCoursePreviewMarioRaceway";
static const ALIGN_ASSET(2) char gTextureCoursePreviewChocoMountain[] = "__OTR__player_selection/gTextureCoursePreviewChocoMountain";
static const ALIGN_ASSET(2) char gTextureCoursePreviewBowsersCastle[] = "__OTR__player_selection/gTextureCoursePreviewBowsersCastle";
static const ALIGN_ASSET(2) char gTextureCoursePreviewBansheeBoardwalk[] = "__OTR__player_selection/gTextureCoursePreviewBansheeBoardwalk";
static const ALIGN_ASSET(2) char gTextureCoursePreviewYoshiValley[] = "__OTR__player_selection/gTextureCoursePreviewYoshiValley";
static const ALIGN_ASSET(2) char gTextureCoursePreviewFrappeSnowland[] = "__OTR__player_selection/gTextureCoursePreviewFrappeSnowland";
static const ALIGN_ASSET(2) char gTextureCoursePreviewKoopaTroopaBeach[] = "__OTR__player_selection/gTextureCoursePreviewKoopaTroopaBeach";
static const ALIGN_ASSET(2) char gTextureCoursePreviewRoyalRaceway[] = "__OTR__player_selection/gTextureCoursePreviewRoyalRaceway";
static const ALIGN_ASSET(2) char gTextureCoursePreviewLuigiRaceway[] = "__OTR__player_selection/gTextureCoursePreviewLuigiRaceway";
static const ALIGN_ASSET(2) char gTextureCoursePreviewMooMooFarm[] = "__OTR__player_selection/gTextureCoursePreviewMooMooFarm";
static const ALIGN_ASSET(2) char gTextureCoursePreviewToadsTurnpike[] = "__OTR__player_selection/gTextureCoursePreviewToadsTurnpike";
static const ALIGN_ASSET(2) char gTextureCoursePreviewKalimariDesert[] = "__OTR__player_selection/gTextureCoursePreviewKalimariDesert";
static const ALIGN_ASSET(2) char gTextureCoursePreviewSherbetLand[] = "__OTR__player_selection/gTextureCoursePreviewSherbetLand";
static const ALIGN_ASSET(2) char gTextureCoursePreviewRainbowRoad[] = "__OTR__player_selection/gTextureCoursePreviewRainbowRoad";
static const ALIGN_ASSET(2) char gTextureCoursePreviewWarioStadium[] = "__OTR__player_selection/gTextureCoursePreviewWarioStadium";
static const ALIGN_ASSET(2) char gTextureCoursePreviewBlockFort[] = "__OTR__player_selection/gTextureCoursePreviewBlockFort";
static const ALIGN_ASSET(2) char gTextureCoursePreviewSkyscraper[] = "__OTR__player_selection/gTextureCoursePreviewSkyscraper";
static const ALIGN_ASSET(2) char gTextureCoursePreviewDoubleDeck[] = "__OTR__player_selection/gTextureCoursePreviewDoubleDeck";
static const ALIGN_ASSET(2) char gTextureCoursePreviewDksJungleParkway[] = "__OTR__player_selection/gTextureCoursePreviewDksJungleParkway";
static const ALIGN_ASSET(2) char gTextureCoursePreviewBigDonut[] = "__OTR__player_selection/gTextureCoursePreviewBigDonut";
static const ALIGN_ASSET(2) char gTextureTrophyGold[] = "__OTR__player_selection/trophy_gold";
static const ALIGN_ASSET(2) char gTextureTrophySilver[] = "__OTR__player_selection/trophy_silver";
static const ALIGN_ASSET(2) char gTextureTrophyBronze[] = "__OTR__player_selection/trophy_bronze";
static const ALIGN_ASSET(2) char gTextureCupGold[] = "__OTR__player_selection/cup_gold";
static const ALIGN_ASSET(2) char gTextureCupSilver[] = "__OTR__player_selection/cup_silver";
static const ALIGN_ASSET(2) char gTextureCupBronze[] = "__OTR__player_selection/cup_bronze";
static const ALIGN_ASSET(2) char push_start_button[] = "__OTR__player_selection/push_start_button";
static const ALIGN_ASSET(2) char copyright_1996[] = "__OTR__player_selection/copyright_1996";
static const ALIGN_ASSET(2) char gTextureP1BorderBlue[] = "__OTR__player_selection/p1_border_blue";
static const ALIGN_ASSET(2) char gTextureP2BorderRed[] = "__OTR__player_selection/p2_border_red";
static const ALIGN_ASSET(2) char gTextureP3BorderOrange[] = "__OTR__player_selection/p3_border_orange";
static const ALIGN_ASSET(2) char gTextureP4BorderGreen[] = "__OTR__player_selection/p4_border_green";
static const ALIGN_ASSET(2) char texture_small_green_triangle[] = "__OTR__player_selection/texture_small_green_triangle";
static const ALIGN_ASSET(2) char gTexture7E56E4[] = "__OTR__player_selection/texture_7E56E4";