mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
663e4549d8
* 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>
77 lines
3.4 KiB
C
77 lines
3.4 KiB
C
#include "pc/rom_assets.h"
|
|
#include "macros.h"
|
|
#include "types.h"
|
|
|
|
#include "make_const_nonconst.h"
|
|
|
|
// 0x09000000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09000000, "textures/grass/wf_textures.00000.rgba16.inc.c", 0x00357350, 31161, 0x00000000, 2048);
|
|
|
|
// 0x09000800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09000800, "textures/grass/wf_textures.00800.rgba16.inc.c", 0x00357350, 31161, 0x00000800, 2048);
|
|
|
|
// 0x09001000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09001000, "textures/grass/wf_textures.01000.rgba16.inc.c", 0x00357350, 31161, 0x00001000, 2048);
|
|
|
|
// 0x09001800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09001800, "textures/grass/wf_textures.01800.rgba16.inc.c", 0x00357350, 31161, 0x00001800, 2048);
|
|
|
|
// 0x09002000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09002000, "textures/grass/wf_textures.02000.rgba16.inc.c", 0x00357350, 31161, 0x00002000, 2048);
|
|
|
|
// 0x09002800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09002800, "textures/grass/wf_textures.02800.rgba16.inc.c", 0x00357350, 31161, 0x00002800, 2048);
|
|
|
|
// 0x09003000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09003000, "textures/grass/wf_textures.03000.rgba16.inc.c", 0x00357350, 31161, 0x00003000, 2048);
|
|
|
|
// 0x09003800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09003800, "textures/grass/wf_textures.03800.rgba16.inc.c", 0x00357350, 31161, 0x00003800, 2048);
|
|
|
|
// 0x09004000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09004000, "textures/grass/wf_textures.04000.rgba16.inc.c", 0x00357350, 31161, 0x00004000, 2048);
|
|
|
|
// 0x09004800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09004800, "textures/grass/wf_textures.04800.rgba16.inc.c", 0x00357350, 31161, 0x00004800, 2048);
|
|
|
|
// 0x09005000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09005000, "textures/grass/wf_textures.05000.rgba16.inc.c", 0x00357350, 31161, 0x00005000, 2048);
|
|
|
|
// 0x09005800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09005800, "textures/grass/wf_textures.05800.rgba16.inc.c", 0x00357350, 31161, 0x00005800, 2048);
|
|
|
|
// 0x09006000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09006000, "textures/grass/wf_textures.06000.rgba16.inc.c", 0x0033d710, 14883, 0x00005000, 2048);
|
|
|
|
// 0x09006800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09006800, "textures/grass/wf_textures.06800.rgba16.inc.c", 0x00357350, 31161, 0x00006800, 2048);
|
|
|
|
// 0x09007000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09007000, "textures/grass/wf_textures.07000.rgba16.inc.c", 0x00357350, 31161, 0x00007000, 2048);
|
|
|
|
// 0x09007800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09007800, "textures/grass/wf_textures.07800.rgba16.inc.c", 0x00357350, 31161, 0x00007800, 2048);
|
|
|
|
// 0x09008000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09008000, "textures/grass/wf_textures.08000.rgba16.inc.c", 0x00357350, 31161, 0x00008000, 2048);
|
|
|
|
// 0x09008800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09008800, "textures/grass/wf_textures.08800.rgba16.inc.c", 0x00357350, 31161, 0x00008800, 2048);
|
|
|
|
// 0x09009000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09009000, "textures/grass/wf_textures.09000.rgba16.inc.c", 0x00357350, 31161, 0x00009000, 2048);
|
|
|
|
// 0x09009800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_09009800, "textures/grass/wf_textures.09800.rgba16.inc.c", 0x00357350, 31161, 0x00009800, 2048);
|
|
|
|
// 0x0900A000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_0900A000, "textures/grass/wf_textures.0A000.rgba16.inc.c", 0x00357350, 31161, 0x0000a000, 2048);
|
|
|
|
// 0x0900A800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_0900A800, "textures/grass/wf_textures.0A800.rgba16.inc.c", 0x00357350, 31161, 0x0000a800, 2048);
|
|
|
|
// 0x0900B000
|
|
ROM_ASSET_LOAD_TEXTURE(grass_0900B000, "textures/grass/wf_textures.0B000.ia16.inc.c", 0x0032d070, 31409, 0x0000b000, 2048);
|
|
|
|
// 0x0900B800
|
|
ROM_ASSET_LOAD_TEXTURE(grass_0900B800, "textures/grass/wf_textures.0B800.ia16.inc.c", 0x00357350, 31161, 0x0000b800, 2048);
|