mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55: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>
28 lines
858 B
C
28 lines
858 B
C
#include <ultra64.h>
|
|
#include "sm64.h"
|
|
#include "segment_symbols.h"
|
|
#include "level_commands.h"
|
|
|
|
#include "levels/menu/header.h"
|
|
#include "levels/scripts.h"
|
|
|
|
// #include "levels/intro/header.h"
|
|
|
|
#include "make_const_nonconst.h"
|
|
|
|
extern const LevelScript level_intro_splash_screen[];
|
|
const LevelScript level_script_entry[] = {
|
|
#if 1
|
|
SET_REG(/*value*/ LEVEL_CASTLE_GROUNDS),
|
|
EXECUTE(/*seg*/ 0x14, /*script*/ _introSegmentRomStart, /*scriptEnd*/ _introSegmentRomEnd, /*entry*/ level_main_scripts_entry),
|
|
JUMP(level_script_entry),
|
|
#else
|
|
// old behavior (intro)
|
|
INIT_LEVEL(),
|
|
SLEEP(/*frames*/ 2),
|
|
BLACKOUT(/*active*/ FALSE),
|
|
SET_REG(/*value*/ 0),
|
|
EXECUTE(/*seg*/ 0x14, /*script*/ _introSegmentRomStart, /*scriptEnd*/ _introSegmentRomEnd, /*entry*/ level_intro_splash_screen),
|
|
JUMP(/*target*/ level_script_entry),
|
|
#endif
|
|
};
|