Files
Microtransactions64/levels/ending/script.c
Gregory Heskett 7fdb5af8fd Add support for preset options to be used with BETTER_REVERB (#508)
* Bugfix: BETTER_REVERB starts before buffers are ready

* Add support for preset options to be used with BETTER_REVERB

* Some BETTER_REVERB cleanup

* The funny whoops

* Address suggested level script change

* Bugfix: useReverb crashes when disabled

* Allow window size override for vanilla-esque BETTER_REVERB presets

* Remove unnecessary downsampling limit check

* Fix up a few things + some slight reformatting

* Add light documentation to the BETTER_REVERB parameters

* Adjust BETTER_REVERB preset types to make more sense

* Reset BETTER_REVERB data buffer to be unallocated when not in use

* Properly disable BETTER_REVERB when disabling all reverb processing

* Remove an unnecessary BETTER_REVERB ifdef

* Remove D_80332108

* Revise BETTER_REVERB config description
2023-01-24 09:22:49 -05:00

42 lines
1.0 KiB
C

#include <ultra64.h>
#include "sm64.h"
#include "behavior_data.h"
#include "model_ids.h"
#include "seq_ids.h"
#include "segment_symbols.h"
#include "level_commands.h"
#include "game/area.h"
#include "game/level_update.h"
#include "levels/scripts.h"
#include "actors/common1.h"
#include "make_const_nonconst.h"
#include "levels/ending/header.h"
const LevelScript level_ending_entry_loop[] = {
SLEEP(/*frames*/ 1),
JUMP(level_ending_entry_loop), // (loop sleep 1 forever)
};
const LevelScript level_ending_entry[] = {
INIT_LEVEL(),
LOAD_LEVEL_DATA(ending),
ALLOC_LEVEL_POOL(),
AREA(/*index*/ 1, ending_geo_area_1),
END_AREA(),
FREE_LEVEL_POOL(),
SLEEP(/*frames*/ 60),
BLACKOUT(/*active*/ FALSE),
LOAD_AREA(/*area*/ 1),
TRANSITION(/*transType*/ WARP_TRANSITION_FADE_FROM_COLOR, /*time*/ 75, /*color*/ 0x00, 0x00, 0x00),
SLEEP(/*frames*/ 120),
CALL(/*arg*/ 0, /*func*/ lvl_play_the_end_screen_sound),
JUMP(level_ending_entry_loop), // (loop sleep 1 forever)
};