sm64coopdx/levels/castle_grounds/areas/1/11/anim.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

30 lines
887 B
C

#include "pc/rom_assets.h"
#include "include/types.h"
// 0x0700C7C8 - 0x0700C8F0
ROM_ASSET_LOAD_ANIM(castle_grounds_seg7_animvalue_flags, 0x0044abc0, 39442, 0x0000c7c8, 296);
// 0x0700C8F0 - 0x0700C944
ROM_ASSET_LOAD_ANIM(castle_grounds_seg7_animindex_flags, 0x0044abc0, 39442, 0x0000c8f0, 84);
// 0x0700C944 - 0x0700C95C
static const struct Animation castle_grounds_seg7_anim_flags = {
0,
0,
0,
0,
0x1D,
ANIMINDEX_NUMPARTS(castle_grounds_seg7_animindex_flags),
castle_grounds_seg7_animvalue_flags,
castle_grounds_seg7_animindex_flags,
0,
ANIM_FIELD_LENGTH(castle_grounds_seg7_animvalue_flags),
ANIM_FIELD_LENGTH(castle_grounds_seg7_animindex_flags),
};
// 0x0700C95C - 0x0700C960
const struct AnimationTable castle_grounds_seg7_anims_flags = {
.anims = {
&castle_grounds_seg7_anim_flags, // 0x0700C944
},
.count = 1
};