sm64coopdx/actors/whomp/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

39 lines
946 B
C

#include "pc/rom_assets.h"
// Whomp
// 0x06020A0C - 0x06020A90
#ifndef VERSION_JP
ROM_ASSET_LOAD_COLLISION(whomp_seg6_collision_06020A0C, 0x001c4230, 80474, 0x00020a0c, 132);
#endif
#ifdef VERSION_JP
const Collision whomp_seg6_collision_06020A0C[] = {
COL_INIT(),
COL_VERTEX_INIT(0x8),
COL_VERTEX(-200, 50, -100),
COL_VERTEX(150, 50, -100),
COL_VERTEX(150, 430, -100),
COL_VERTEX(-200, 430, -100),
COL_VERTEX(-200, 50, -3),
COL_VERTEX(150, 430, -3),
COL_VERTEX(150, 50, -3),
COL_VERTEX(-200, 430, -3),
COL_TRI_INIT(SURFACE_NO_CAM_COLLISION, 12),
COL_TRI(2, 1, 0),
COL_TRI(3, 2, 0),
COL_TRI(6, 5, 4),
COL_TRI(5, 7, 4),
COL_TRI(7, 5, 3),
COL_TRI(5, 2, 3),
COL_TRI(6, 4, 0),
COL_TRI(1, 6, 0),
COL_TRI(5, 1, 2),
COL_TRI(6, 1, 5),
COL_TRI(0, 7, 3),
COL_TRI(0, 4, 7),
COL_TRI_STOP(),
COL_END(),
};
#endif
UNUSED static const u32 whomp_unused_2 = 0;