Files
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

231 lines
12 KiB
C

#pragma once
#include <libultraship.h>
#include <common_structs.h>
#include <align_asset_macro.h>
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_0[] = "__OTR__startup_logo/startup_logo_seg6_vtx_0";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_200[] = "__OTR__startup_logo/startup_logo_seg6_vtx_200";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_400[] = "__OTR__startup_logo/startup_logo_seg6_vtx_400";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_600[] = "__OTR__startup_logo/startup_logo_seg6_vtx_600";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_6A0[] = "__OTR__startup_logo/startup_logo_seg6_vtx_6A0";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_880[] = "__OTR__startup_logo/startup_logo_seg6_vtx_880";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_9E0[] = "__OTR__startup_logo/startup_logo_seg6_vtx_9E0";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_BC0[] = "__OTR__startup_logo/startup_logo_seg6_vtx_BC0";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_DA0[] = "__OTR__startup_logo/startup_logo_seg6_vtx_DA0";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_F80[] = "__OTR__startup_logo/startup_logo_seg6_vtx_F80";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_1120[] = "__OTR__startup_logo/startup_logo_seg6_vtx_1120";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_1300[] = "__OTR__startup_logo/startup_logo_seg6_vtx_1300";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_1460[] = "__OTR__startup_logo/startup_logo_seg6_vtx_1460";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_1660[] = "__OTR__startup_logo/startup_logo_seg6_vtx_1660";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_1860[] = "__OTR__startup_logo/startup_logo_seg6_vtx_1860";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_1A60[] = "__OTR__startup_logo/startup_logo_seg6_vtx_1A60";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_1B40[] = "__OTR__startup_logo/startup_logo_seg6_vtx_1B40";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_1D40[] = "__OTR__startup_logo/startup_logo_seg6_vtx_1D40";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_1F40[] = "__OTR__startup_logo/startup_logo_seg6_vtx_1F40";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_2140[] = "__OTR__startup_logo/startup_logo_seg6_vtx_2140";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_21C0[] = "__OTR__startup_logo/startup_logo_seg6_vtx_21C0";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_23C0[] = "__OTR__startup_logo/startup_logo_seg6_vtx_23C0";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_2540[] = "__OTR__startup_logo/startup_logo_seg6_vtx_2540";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_2740[] = "__OTR__startup_logo/startup_logo_seg6_vtx_2740";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_2940[] = "__OTR__startup_logo/startup_logo_seg6_vtx_2940";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_2B00[] = "__OTR__startup_logo/startup_logo_seg6_gfx_2B00";
static const ALIGN_ASSET(2) char startup_logo_dl[] = "__OTR__startup_logo/dl1";
static const ALIGN_ASSET(2) char startup_logo_dl2[] = "__OTR__startup_logo/dl2";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_2C88[] = "__OTR__startup_logo/startup_logo_seg6_gfx_2C88";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_2D58[] = "__OTR__startup_logo/startup_logo_seg6_gfx_2D58";
static const ALIGN_ASSET(2) char startup_logo_dl3[] = "__OTR__startup_logo/dl3";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_2F20[] = "__OTR__startup_logo/startup_logo_seg6_gfx_2F20";
static const ALIGN_ASSET(2) char startup_logo_dl4[] = "__OTR__startup_logo/dl4";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_2FF0[] = "__OTR__startup_logo/startup_logo_seg6_gfx_2FF0";
static const ALIGN_ASSET(2) char startup_logo_dl5[] = "__OTR__startup_logo/dl5";
static const ALIGN_ASSET(2) char startup_logo_dl6[] = "__OTR__startup_logo/dl6";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_3180[] = "__OTR__startup_logo/startup_logo_seg6_gfx_3180";
static const ALIGN_ASSET(2) char startup_logo_dl7[] = "__OTR__startup_logo/dl7";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_3308[] = "__OTR__startup_logo/startup_logo_seg6_gfx_3308";
static const ALIGN_ASSET(2) char startup_logo_dl8[] = "__OTR__startup_logo/dl8";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_33D8[] = "__OTR__startup_logo/startup_logo_seg6_gfx_33D8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_3538[] = "__OTR__startup_logo/startup_logo_seg6_vtx_3538";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_3738[] = "__OTR__startup_logo/startup_logo_seg6_vtx_3738";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_3908[] = "__OTR__startup_logo/startup_logo_seg6_vtx_3908";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_3AE8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_3AE8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_3CD8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_3CD8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_3ED8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_3ED8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_3F48[] = "__OTR__startup_logo/startup_logo_seg6_vtx_3F48";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_4148[] = "__OTR__startup_logo/startup_logo_seg6_vtx_4148";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_4338[] = "__OTR__startup_logo/startup_logo_seg6_vtx_4338";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_4438[] = "__OTR__startup_logo/startup_logo_seg6_vtx_4438";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_4638[] = "__OTR__startup_logo/startup_logo_seg6_vtx_4638";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_4838[] = "__OTR__startup_logo/startup_logo_seg6_vtx_4838";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_49C8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_49C8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_4B48[] = "__OTR__startup_logo/startup_logo_seg6_vtx_4B48";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_4CC8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_4CC8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_4EC8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_4EC8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_5098[] = "__OTR__startup_logo/startup_logo_seg6_vtx_5098";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_50D8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_50D8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_52D8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_52D8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_54D8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_54D8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_5668[] = "__OTR__startup_logo/startup_logo_seg6_vtx_5668";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_5868[] = "__OTR__startup_logo/startup_logo_seg6_vtx_5868";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_5A68[] = "__OTR__startup_logo/startup_logo_seg6_vtx_5A68";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_5BE8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_5BE8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_5DE8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_5DE8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_5FC8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_5FC8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_61B8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_61B8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_62F8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_62F8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_64F8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_64F8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_66F8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_66F8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_68F8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_68F8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_6AF8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_6AF8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_6CF8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_6CF8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_6ED8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_6ED8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_7008[] = "__OTR__startup_logo/startup_logo_seg6_vtx_7008";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_71D8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_71D8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_73D8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_73D8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_75A8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_75A8";
static const ALIGN_ASSET(2) char startup_logo_seg6_vtx_77A8[] = "__OTR__startup_logo/startup_logo_seg6_vtx_77A8";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_7988[] = "__OTR__startup_logo/startup_logo_seg6_gfx_7988";
static const ALIGN_ASSET(2) char startup_logo_dl9[] = "__OTR__startup_logo/dl9";
static const ALIGN_ASSET(2) char startup_logo_dl10[] = "__OTR__startup_logo/dl10";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_7C18[] = "__OTR__startup_logo/startup_logo_seg6_gfx_7C18";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_7CE8[] = "__OTR__startup_logo/startup_logo_seg6_gfx_7CE8";
static const ALIGN_ASSET(2) char startup_logo_dl11[] = "__OTR__startup_logo/dl11";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_7E50[] = "__OTR__startup_logo/startup_logo_seg6_gfx_7E50";
static const ALIGN_ASSET(2) char startup_logo_dl12[] = "__OTR__startup_logo/dl12";
static const ALIGN_ASSET(2) char startup_logo_dl13[] = "__OTR__startup_logo/dl13";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_7E90[] = "__OTR__startup_logo/startup_logo_seg6_gfx_7E90";
static const ALIGN_ASSET(2) char startup_logo_dl14[] = "__OTR__startup_logo/dl14";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_7ED0[] = "__OTR__startup_logo/startup_logo_seg6_gfx_7ED0";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_7F88[] = "__OTR__startup_logo/startup_logo_seg6_gfx_7F88";
static const ALIGN_ASSET(2) char startup_logo_dl15[] = "__OTR__startup_logo/dl15";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_80F0[] = "__OTR__startup_logo/startup_logo_seg6_gfx_80F0";
static const ALIGN_ASSET(2) char startup_logo_dl16[] = "__OTR__startup_logo/dl16";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_8250[] = "__OTR__startup_logo/startup_logo_seg6_gfx_8250";
static const ALIGN_ASSET(2) char startup_logo_dl17[] = "__OTR__startup_logo/dl17";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_83C8[] = "__OTR__startup_logo/startup_logo_seg6_gfx_83C8";
static const ALIGN_ASSET(2) char startup_logo_dl18[] = "__OTR__startup_logo/dl18";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_8548[] = "__OTR__startup_logo/startup_logo_seg6_gfx_8548";
static const ALIGN_ASSET(2) char startup_logo_dl19[] = "__OTR__startup_logo/dl19";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_87A0[] = "__OTR__startup_logo/startup_logo_seg6_gfx_87A0";
static const ALIGN_ASSET(2) char startup_logo_dl20[] = "__OTR__startup_logo/dl20";
static const ALIGN_ASSET(2) char startup_reflection_map_gold[] = "__OTR__startup_logo/reflection_map_gold";
static const ALIGN_ASSET(2) char startup_texture_dl1[] = "__OTR__startup_logo/startup_texture_dl1";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_9248[] = "__OTR__startup_logo/startup_logo_seg6_gfx_9248";
static const ALIGN_ASSET(2) char lights[] = "__OTR__startup_logo/lights";
static const ALIGN_ASSET(2) char startup_texture_dl2[] = "__OTR__startup_logo/startup_texture_dl2";
static const ALIGN_ASSET(2) char startup_logo_seg6_gfx_9320[] = "__OTR__startup_logo/startup_logo_seg6_gfx_9320";
static const ALIGN_ASSET(2) char startup_texture_dl3[] = "__OTR__startup_logo/startup_texture_dl3";
static const ALIGN_ASSET(2) char startup_texture_dl4[] = "__OTR__startup_logo/startup_texture_dl4";