You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
57 lines
1.8 KiB
C
57 lines
1.8 KiB
C
#include <ultra64.h>
|
|
#include "sm64.h"
|
|
#include "behavior_data.h"
|
|
#include "model_ids.h"
|
|
#include "seq_ids.h"
|
|
#include "dialog_ids.h"
|
|
#include "segment_symbols.h"
|
|
#include "level_commands.h"
|
|
|
|
#include "game/level_update.h"
|
|
|
|
#include "levels/scripts.h"
|
|
|
|
|
|
/* Fast64 begin persistent block [includes] */
|
|
/* Fast64 end persistent block [includes] */
|
|
|
|
#include "make_const_nonconst.h"
|
|
#include "levels/lighting_engine_demo/header.h"
|
|
|
|
/* Fast64 begin persistent block [scripts] */
|
|
/* Fast64 end persistent block [scripts] */
|
|
|
|
const LevelScript level_lighting_engine_demo_entry[] = {
|
|
INIT_LEVEL(),
|
|
LOAD_MIO0(0x7, _lighting_engine_demo_segment_7SegmentRomStart, _lighting_engine_demo_segment_7SegmentRomEnd),
|
|
LOAD_MIO0(0xa, _water_skybox_mio0SegmentRomStart, _water_skybox_mio0SegmentRomEnd),
|
|
LOAD_MIO0(0x08, _common0_yay0SegmentRomStart, _common0_yay0SegmentRomEnd),
|
|
LOAD_RAW(0x0F, _common0_geoSegmentRomStart, _common0_geoSegmentRomEnd),
|
|
ALLOC_LEVEL_POOL(),
|
|
MARIO(MODEL_MARIO, 0x00000001, bhvMario),
|
|
JUMP_LINK(script_func_global_1),
|
|
|
|
/* Fast64 begin persistent block [level commands] */
|
|
/* Fast64 end persistent block [level commands] */
|
|
|
|
AREA(1, lighting_engine_demo_area_1),
|
|
OBJECT(MODEL_BREAKABLE_BOX_SMALL, -300, 100, 800, 0, 0, 0, 0x00000000, bhvBreakableBoxSmall),
|
|
MARIO_POS(0x01, 0, 0, 52, 0),
|
|
OBJECT(MODEL_RED_FLAME, 800, 198, 802, 0, 0, 0, 0x00000000, bhvFlame),
|
|
TERRAIN(lighting_engine_demo_area_1_collision),
|
|
MACRO_OBJECTS(lighting_engine_demo_area_1_macro_objs),
|
|
STOP_MUSIC(0),
|
|
TERRAIN_TYPE(TERRAIN_STONE),
|
|
/* Fast64 begin persistent block [area commands] */
|
|
/* Fast64 end persistent block [area commands] */
|
|
END_AREA(),
|
|
|
|
FREE_LEVEL_POOL(),
|
|
MARIO_POS(0x01, 0, 0, 52, 0),
|
|
CALL(0, lvl_init_or_update),
|
|
CALL_LOOP(1, lvl_init_or_update),
|
|
CLEAR_LEVEL(),
|
|
SLEEP_BEFORE_EXIT(1),
|
|
EXIT(),
|
|
};
|