sm64coopdx/levels/ssl/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 - 0x07000800
ROM_ASSET_LOAD_TEXTURE(ssl_seg7_texture_07000000, "levels/ssl/0.rgba16.inc.c", 0x003e76b0, 82641, 0x00000000, 2048);
// 0x07000800 - 0x07001000
ROM_ASSET_LOAD_TEXTURE(ssl_seg7_texture_07000800, "levels/ssl/1.ia16.inc.c", 0x003e76b0, 82641, 0x00000800, 2048);
// 0x07001000 - 0x07001800
ROM_ASSET_LOAD_TEXTURE(ssl_pyramid_sand, "levels/ssl/2.rgba16.inc.c", 0x003e76b0, 82641, 0x00001000, 2048);
// 0x07001800 - 0x07002000
ROM_ASSET_LOAD_TEXTURE(ssl_seg7_texture_07001800, "levels/ssl/3.rgba16.inc.c", 0x003e76b0, 82641, 0x00001800, 2048);
// 0x07002000 - 0x07002800
ROM_ASSET_LOAD_TEXTURE(ssl_seg7_texture_07002000, "levels/ssl/4.rgba16.inc.c", 0x003e76b0, 82641, 0x00002000, 2048);
// 0x07002800 - 0x07003800
ROM_ASSET_LOAD_TEXTURE(ssl_seg7_texture_07002800, "levels/ssl/5.rgba16.inc.c", 0x003e76b0, 82641, 0x00002800, 4096);
// 0x07003800 - 0x07004000
ROM_ASSET_LOAD_TEXTURE(ssl_seg7_texture_07003800, "levels/ssl/6.rgba16.inc.c", 0x003e76b0, 82641, 0x00003800, 2048);