3#include "host/KSystem.hh"
5#include <egg/core/SceneManager.hh>
7#include <game/system/RaceConfig.hh>
20 static void DestroyInstance();
27 typedef std::pair<const System::Timer &, const System::Timer &> DesyncingTimerPair;
45 const char *m_currentGhostFileName;
47 const u8 *m_currentRawGhost;
48 size_t m_currentRawGhostSize;
Manages the scene stack and transitions between scenes.
Kinoko system designed to execute replays.
s32 getDesyncingTimerIdx() const
Finds the desyncing timer index, if one exists.
void parseOptions(int argc, char **argv) override
Parses non-generic command line options.
void reportFail(const std::string &msg) const
Reports failure to file.
bool calcEnd() const
Determines whether or not the ghost simulation should end.
bool run() override
Executes a run.
static void OnInit(System::RaceConfig *config, void *arg)
Initializes the race configuration as needed for replays.
DesyncingTimerPair getDesyncingTimer(s32 i) const
Gets the desyncing timer according to the index.
bool success() const
Determines whether the simulation was a success or not.
void calc() override
Executes a frame.
void init() override
Initializes the system.
Base interface for a Kinoko system.
Parsed representation of a binary ghost file.
Initializes the player with parameters specified in the provided ghost file.