Add new level transition state machine
This commit is contained in:
@@ -28,6 +28,14 @@
|
||||
/* ── Level transitions ─────────────────────────────── */
|
||||
#define MAX_EXIT_ZONES 16 /* max exit zones per level */
|
||||
|
||||
typedef enum TransitionStyle {
|
||||
TRANS_NONE, /* instant cut (default) */
|
||||
TRANS_SPACECRAFT, /* handled by spacecraft entity */
|
||||
TRANS_ELEVATOR, /* doors close, rumble, doors open */
|
||||
TRANS_TELEPORTER, /* scanline dissolve, flash, materialize */
|
||||
TRANS_STYLE_COUNT
|
||||
} TransitionStyle;
|
||||
|
||||
/* ── Rendering ──────────────────────────────────────── */
|
||||
#define MAX_SPRITES 2048 /* max queued sprites per frame */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user