sm64coopdx/levels/hmc/areas/1/grill_door/collision.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

35 lines
858 B
C

#include "pc/rom_assets.h"
// 0x0702B65C - 0x0702B6E0
#ifndef VERSION_JP
ROM_ASSET_LOAD_COLLISION(hmc_seg7_collision_0702B65C, 0x003d0dc0, 89137, 0x0002b65c, 132);
#endif
#ifdef VERSION_JP
const Collision hmc_seg7_collision_0702B65C[] = {
COL_INIT(),
COL_VERTEX_INIT(0x8),
COL_VERTEX(410, 0, 51),
COL_VERTEX(410, 819, -50),
COL_VERTEX(410, 819, 51),
COL_VERTEX(0, 819, 51),
COL_VERTEX(0, 0, 51),
COL_VERTEX(0, 819, -50),
COL_VERTEX(410, 0, -50),
COL_VERTEX(0, 0, -50),
COL_TRI_INIT(SURFACE_DEFAULT, 12),
COL_TRI(0, 1, 2),
COL_TRI(2, 3, 4),
COL_TRI(2, 4, 0),
COL_TRI(2, 1, 5),
COL_TRI(2, 5, 3),
COL_TRI(6, 5, 1),
COL_TRI(0, 6, 1),
COL_TRI(6, 7, 5),
COL_TRI(3, 5, 7),
COL_TRI(3, 7, 4),
COL_TRI(4, 7, 6),
COL_TRI(4, 6, 0),
COL_TRI_STOP(),
COL_END(),
};
#endif