mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 11:35: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>
216 lines
9.8 KiB
C
216 lines
9.8 KiB
C
#include "pc/rom_assets.h"
|
|
#include "types.h"
|
|
|
|
#include "make_const_nonconst.h"
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00000, "bitdw_skybox_texture_00000", 0x00301cd0, 45542, 0x00000000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00001, "bitdw_skybox_texture_00001", 0x00301cd0, 45542, 0x00000800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00002, "bitdw_skybox_texture_00002", 0x00301cd0, 45542, 0x00001000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00003, "bitdw_skybox_texture_00003", 0x00301cd0, 45542, 0x00001800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00004, "bitdw_skybox_texture_00004", 0x00301cd0, 45542, 0x00002000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00005, "bitdw_skybox_texture_00005", 0x00301cd0, 45542, 0x00002800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00006, "bitdw_skybox_texture_00006", 0x00301cd0, 45542, 0x00003000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00007, "bitdw_skybox_texture_00007", 0x00301cd0, 45542, 0x00003800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00008, "bitdw_skybox_texture_00008", 0x00301cd0, 45542, 0x00004000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00009, "bitdw_skybox_texture_00009", 0x00301cd0, 45542, 0x00004800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0000A, "bitdw_skybox_texture_0000A", 0x00301cd0, 45542, 0x00005000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0000B, "bitdw_skybox_texture_0000B", 0x00301cd0, 45542, 0x00005800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0000C, "bitdw_skybox_texture_0000C", 0x00301cd0, 45542, 0x00006000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0000D, "bitdw_skybox_texture_0000D", 0x00301cd0, 45542, 0x00006800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0000E, "bitdw_skybox_texture_0000E", 0x00301cd0, 45542, 0x00007000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0000F, "bitdw_skybox_texture_0000F", 0x00301cd0, 45542, 0x00007800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00010, "bitdw_skybox_texture_00010", 0x00301cd0, 45542, 0x00008000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00011, "bitdw_skybox_texture_00011", 0x00301cd0, 45542, 0x00008800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00012, "bitdw_skybox_texture_00012", 0x00301cd0, 45542, 0x00009000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00013, "bitdw_skybox_texture_00013", 0x00301cd0, 45542, 0x00009800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00014, "bitdw_skybox_texture_00014", 0x00301cd0, 45542, 0x0000a000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00015, "bitdw_skybox_texture_00015", 0x00301cd0, 45542, 0x0000a800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00016, "bitdw_skybox_texture_00016", 0x00301cd0, 45542, 0x0000b000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00017, "bitdw_skybox_texture_00017", 0x00301cd0, 45542, 0x0000b800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00018, "bitdw_skybox_texture_00018", 0x00301cd0, 45542, 0x0000c000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00019, "bitdw_skybox_texture_00019", 0x00301cd0, 45542, 0x0000c800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0001A, "bitdw_skybox_texture_0001A", 0x00301cd0, 45542, 0x0000d000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0001B, "bitdw_skybox_texture_0001B", 0x00301cd0, 45542, 0x0000d800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0001C, "bitdw_skybox_texture_0001C", 0x00301cd0, 45542, 0x0000e000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0001D, "bitdw_skybox_texture_0001D", 0x00301cd0, 45542, 0x0000e800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0001E, "bitdw_skybox_texture_0001E", 0x00301cd0, 45542, 0x0000f000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0001F, "bitdw_skybox_texture_0001F", 0x00301cd0, 45542, 0x0000f800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00020, "bitdw_skybox_texture_00020", 0x00301cd0, 45542, 0x00010000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00021, "bitdw_skybox_texture_00021", 0x00301cd0, 45542, 0x00010800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00022, "bitdw_skybox_texture_00022", 0x00301cd0, 45542, 0x00011000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00023, "bitdw_skybox_texture_00023", 0x00301cd0, 45542, 0x00011800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00024, "bitdw_skybox_texture_00024", 0x00301cd0, 45542, 0x00012000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00025, "bitdw_skybox_texture_00025", 0x00301cd0, 45542, 0x00012800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00026, "bitdw_skybox_texture_00026", 0x00301cd0, 45542, 0x00013000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00027, "bitdw_skybox_texture_00027", 0x00301cd0, 45542, 0x00013800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00028, "bitdw_skybox_texture_00028", 0x00301cd0, 45542, 0x00014000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00029, "bitdw_skybox_texture_00029", 0x00301cd0, 45542, 0x00014800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0002A, "bitdw_skybox_texture_0002A", 0x00301cd0, 45542, 0x00015000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0002B, "bitdw_skybox_texture_0002B", 0x00301cd0, 45542, 0x00015800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0002C, "bitdw_skybox_texture_0002C", 0x00301cd0, 45542, 0x00016000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0002D, "bitdw_skybox_texture_0002D", 0x00301cd0, 45542, 0x00016800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0002E, "bitdw_skybox_texture_0002E", 0x00301cd0, 45542, 0x00017000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0002F, "bitdw_skybox_texture_0002F", 0x00301cd0, 45542, 0x00017800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00030, "bitdw_skybox_texture_00030", 0x00301cd0, 45542, 0x00018000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00031, "bitdw_skybox_texture_00031", 0x00301cd0, 45542, 0x00018800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00032, "bitdw_skybox_texture_00032", 0x00301cd0, 45542, 0x00019000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00033, "bitdw_skybox_texture_00033", 0x00301cd0, 45542, 0x00019800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00034, "bitdw_skybox_texture_00034", 0x00301cd0, 45542, 0x0001a000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00035, "bitdw_skybox_texture_00035", 0x00301cd0, 45542, 0x0001a800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00036, "bitdw_skybox_texture_00036", 0x00301cd0, 45542, 0x0001b000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00037, "bitdw_skybox_texture_00037", 0x00301cd0, 45542, 0x0001b800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00038, "bitdw_skybox_texture_00038", 0x00301cd0, 45542, 0x0001c000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_00039, "bitdw_skybox_texture_00039", 0x00301cd0, 45542, 0x0001c800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0003A, "bitdw_skybox_texture_0003A", 0x00301cd0, 45542, 0x0001d000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0003B, "bitdw_skybox_texture_0003B", 0x00301cd0, 45542, 0x0001d800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0003C, "bitdw_skybox_texture_0003C", 0x00301cd0, 45542, 0x0001e000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0003D, "bitdw_skybox_texture_0003D", 0x00301cd0, 45542, 0x0001e800, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0003E, "bitdw_skybox_texture_0003E", 0x00301cd0, 45542, 0x0001f000, 2048);
|
|
|
|
ROM_ASSET_LOAD_TEXTURE(bitdw_skybox_texture_0003F, "bitdw_skybox_texture_0003F", 0x00301cd0, 45542, 0x0001f800, 2048);
|
|
|
|
const Texture *const bitdw_skybox_ptrlist[] = {
|
|
bitdw_skybox_texture_00000,
|
|
bitdw_skybox_texture_00001,
|
|
bitdw_skybox_texture_00002,
|
|
bitdw_skybox_texture_00003,
|
|
bitdw_skybox_texture_00004,
|
|
bitdw_skybox_texture_00005,
|
|
bitdw_skybox_texture_00006,
|
|
bitdw_skybox_texture_00007,
|
|
bitdw_skybox_texture_00000,
|
|
bitdw_skybox_texture_00001,
|
|
bitdw_skybox_texture_00008,
|
|
bitdw_skybox_texture_00009,
|
|
bitdw_skybox_texture_0000A,
|
|
bitdw_skybox_texture_0000B,
|
|
bitdw_skybox_texture_0000C,
|
|
bitdw_skybox_texture_0000D,
|
|
bitdw_skybox_texture_0000E,
|
|
bitdw_skybox_texture_0000F,
|
|
bitdw_skybox_texture_00008,
|
|
bitdw_skybox_texture_00009,
|
|
bitdw_skybox_texture_00010,
|
|
bitdw_skybox_texture_00011,
|
|
bitdw_skybox_texture_00012,
|
|
bitdw_skybox_texture_00013,
|
|
bitdw_skybox_texture_00014,
|
|
bitdw_skybox_texture_00015,
|
|
bitdw_skybox_texture_00016,
|
|
bitdw_skybox_texture_00017,
|
|
bitdw_skybox_texture_00010,
|
|
bitdw_skybox_texture_00011,
|
|
bitdw_skybox_texture_00018,
|
|
bitdw_skybox_texture_00019,
|
|
bitdw_skybox_texture_0001A,
|
|
bitdw_skybox_texture_0001B,
|
|
bitdw_skybox_texture_0001C,
|
|
bitdw_skybox_texture_0001D,
|
|
bitdw_skybox_texture_0001E,
|
|
bitdw_skybox_texture_0001F,
|
|
bitdw_skybox_texture_00018,
|
|
bitdw_skybox_texture_00019,
|
|
bitdw_skybox_texture_00020,
|
|
bitdw_skybox_texture_00021,
|
|
bitdw_skybox_texture_00022,
|
|
bitdw_skybox_texture_00023,
|
|
bitdw_skybox_texture_00024,
|
|
bitdw_skybox_texture_00025,
|
|
bitdw_skybox_texture_00026,
|
|
bitdw_skybox_texture_00027,
|
|
bitdw_skybox_texture_00020,
|
|
bitdw_skybox_texture_00021,
|
|
bitdw_skybox_texture_00028,
|
|
bitdw_skybox_texture_00029,
|
|
bitdw_skybox_texture_0002A,
|
|
bitdw_skybox_texture_0002B,
|
|
bitdw_skybox_texture_0002C,
|
|
bitdw_skybox_texture_0002D,
|
|
bitdw_skybox_texture_0002E,
|
|
bitdw_skybox_texture_0002F,
|
|
bitdw_skybox_texture_00028,
|
|
bitdw_skybox_texture_00029,
|
|
bitdw_skybox_texture_00030,
|
|
bitdw_skybox_texture_00031,
|
|
bitdw_skybox_texture_00032,
|
|
bitdw_skybox_texture_00033,
|
|
bitdw_skybox_texture_00034,
|
|
bitdw_skybox_texture_00035,
|
|
bitdw_skybox_texture_00036,
|
|
bitdw_skybox_texture_00037,
|
|
bitdw_skybox_texture_00030,
|
|
bitdw_skybox_texture_00031,
|
|
bitdw_skybox_texture_00038,
|
|
bitdw_skybox_texture_00039,
|
|
bitdw_skybox_texture_0003A,
|
|
bitdw_skybox_texture_0003B,
|
|
bitdw_skybox_texture_0003C,
|
|
bitdw_skybox_texture_0003D,
|
|
bitdw_skybox_texture_0003E,
|
|
bitdw_skybox_texture_0003F,
|
|
bitdw_skybox_texture_00038,
|
|
bitdw_skybox_texture_00039,
|
|
};
|
|
|