mirror of
https://github.com/zeldaret/ss
synced 2026-05-27 08:08:07 -04:00
b96e6ee19f
* Meter Madness Part 1 * progress * maybe * ::build meters too * vtables labeling, small order problems * Moar symbols * Renames * some dLytNote_c * Fixes * Checkpoint * ::remove funcs * Fix includes * Move code around * rm dead code * rm dead include * Draw functions * Update include/s/s_State.hpp * Update include/toBeSorted/scgame.h
34 lines
711 B
C++
34 lines
711 B
C++
#ifndef SCGAME_H
|
|
#define SCGAME_H
|
|
|
|
#include "common.h"
|
|
#include "sized_string.h"
|
|
|
|
struct SpawnInfo {
|
|
/* 0x00 */ SizedString<32> stageName;
|
|
/* 0x20 */ s16 transitionFadeFrames;
|
|
/* 0x22 */ s8 room;
|
|
/* 0x23 */ u8 layer;
|
|
/* 0x24 */ s8 entrance;
|
|
/* 0x25 */ s8 night;
|
|
/* 0x26 */ s8 trial;
|
|
/* 0x27 */ s8 transitionType;
|
|
/* 0x28 */ s32 unk;
|
|
|
|
bool isNight() {
|
|
return night == 1;
|
|
}
|
|
};
|
|
|
|
class ScGame {
|
|
public:
|
|
static SpawnInfo currentSpawnInfo;
|
|
static SpawnInfo nextSpawnInfo;
|
|
static ScGame *sInstance;
|
|
|
|
static bool isCurrentStage(const char *stageName);
|
|
void triggerExit(s32 room, u8 exitIndex, s32 forcedNight = 2, s32 forcedTrial = 2);
|
|
};
|
|
|
|
#endif
|