Curation round 11: effects, room clears, items, Continue, bombs, active items, the boss and Basement II
This commit is contained in:
1 parent
d8385e6c64
commit
698eeb74e9
74 files changed
+13965
-2078
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "classes.h"
|
||||
|
||||
// Whether a room's clear plays the clear sound (Lua's Room:TriggerClear(silent)).
|
||||
enum ClearSound
|
||||
{
|
||||
CLEAR_SOUND_PLAY,
|
||||
CLEAR_SOUND_SILENT
|
||||
};
|
||||
|
||||
// Whether the room clear's pickup roll may come up empty, or always gives a pickup.
|
||||
enum AwardRoll
|
||||
{
|
||||
AWARD_ROLL_ANY,
|
||||
AWARD_ROLL_PICKUP
|
||||
};
|
||||
|
||||
void room_clear_trigger(Room& room, ClearSound sound = CLEAR_SOUND_PLAY);
|
||||
void room_clear_award_spawn(Room& room);
|
||||
int clear_award_variant_pick(RNG& rng, AwardRoll roll);
|
||||
void room_spawn_cell_clear(Room& room, int& gridIndex);
|
||||
Reference in new issue
Block a user