sm64coopdx/levels/bbh/texture.inc.c
Isaac0-dev 663e4549d8
extract assets from rom at runtime (#4)
* Proof of concept for loading rom assets at runtime

* Added skybox textures

* Adjusted format

* Load all texture assets from rom

* Adjusted rom asset loading

* Load all Vtx lists from rom

* clean up toad, wario and his cap conflicts

* Load sound samples from rom

* fix toad sounds

* Loaded sequences from rom

* Load collisions from rom

* Object animations are now loaded from the rom

* Load player animations from rom

* Load goddard anims from rom

* whoops

* fix some compile errors

* drag and drop rom checker, everything works now.

* fix errors due to merge conflicts

* fix compile errors on windows, switch to md5

* fix vertex colors during load

Co-Authored-By: Agent X <44549182+agent-11@users.noreply.github.com>

* Load dialogs from rom

* Loaded course/act names from rom

* Loaded ingame text from rom

* rerun autogen & blacklist smlua_text_utils_init

* fix ttc_seg7_vertex_0700B238 colors

---------

Co-authored-by: MysterD <myster@d>
Co-authored-by: Agent X <44549182+agent-11@users.noreply.github.com>
2024-03-23 16:11:30 -04:00

21 lines
1 KiB
C

#include "pc/rom_assets.h"
// 0x07000000 - 0x07001000
ROM_ASSET_LOAD_TEXTURE(bbh_seg7_texture_07000000, "levels/bbh/0.rgba16.inc.c", 0x00371c40, 68724, 0x00000000, 4096);
// 0x07001000 - 0x07001800
ROM_ASSET_LOAD_TEXTURE(bbh_seg7_texture_07001000, "levels/bbh/1.rgba16.inc.c", 0x00371c40, 68724, 0x00001000, 2048);
// 0x07001800 - 0x07002000
ROM_ASSET_LOAD_TEXTURE(bbh_seg7_texture_07001800, "levels/bbh/2.rgba16.inc.c", 0x00371c40, 68724, 0x00001800, 2048);
// 0x07002000 - 0x07003000
ROM_ASSET_LOAD_TEXTURE(bbh_seg7_texture_07002000, "levels/bbh/3.rgba16.inc.c", 0x00371c40, 68724, 0x00002000, 4096);
// 0x07003000 - 0x07003400
ROM_ASSET_LOAD_TEXTURE(bbh_seg7_texture_07003000, "levels/bbh/4.rgba16.inc.c", 0x00371c40, 68724, 0x00003000, 1024);
// 0x07003400 - 0x07004400
ROM_ASSET_LOAD_TEXTURE(bbh_seg7_texture_07003400, "levels/bbh/5.rgba16.inc.c", 0x00371c40, 68724, 0x00003400, 4096);
// 0x07004400 - 0x07004800
ROM_ASSET_LOAD_TEXTURE(bbh_seg7_texture_07004400, "levels/bbh/6.rgba16.inc.c", 0x00371c40, 68724, 0x00004400, 1024);