mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-22 16:30:23 +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>
35 lines
847 B
C
35 lines
847 B
C
#define COURSE_ACTS(id, name, a,b,c,d,e,f) \
|
|
static u8 GLUE2(COURSE_TABLE, _ ## id)[name] = { 0xFF };
|
|
|
|
#define SECRET_STAR(id, name) \
|
|
static u8 GLUE2(COURSE_TABLE, _ ## id)[name] = { 0xFF };
|
|
|
|
#define CASTLE_SECRET_STARS(str) \
|
|
static u8 GLUE2(COURSE_TABLE, _castle_secret_stars)[str] = { 0xFF };
|
|
|
|
#define EXTRA_TEXT(id, str)
|
|
|
|
#include "courses.h"
|
|
|
|
#undef COURSE_ACTS
|
|
#undef SECRET_STAR
|
|
#undef CASTLE_SECRET_STARS
|
|
|
|
#define COURSE_ACTS(id, name, a,b,c,d,e,f) GLUE2(COURSE_TABLE, _ ## id),
|
|
#define SECRET_STAR(id, name) GLUE2(COURSE_TABLE, _ ## id),
|
|
#define CASTLE_SECRET_STARS(str) GLUE2(COURSE_TABLE, _castle_secret_stars),
|
|
|
|
const u8* COURSE_TABLE[] = {
|
|
#include "courses.h"
|
|
NULL
|
|
};
|
|
|
|
const u8* GLUE2(COURSE_TABLE, _original)[] = {
|
|
#include "courses.h"
|
|
NULL
|
|
};
|
|
|
|
#undef COURSE_ACTS
|
|
#undef SECRET_STAR
|
|
#undef CASTLE_SECRET_STARS
|
|
|