jak-project/game/kernel/jak1/kmachine.h
Tyler Wilding 346a258902
game/speedrunning: Add struct with relevant information to facilitate Auto Splitting (#1775)
* game: add auto-splitter structs

* game/jak1: wire up auto-splitter updating to game when in SR mode

* game/jak1: add info to split on picking up white eco

* game/jak1: add another two tasks for fish and finalboss

* game/jak1: autosplitting code entirely in GOAL
2022-08-22 18:55:08 -04:00

43 lines
881 B
C++

#pragma once
#include "common/common_types.h"
// Discord RPC
struct DiscordRichPresence;
extern int gDiscordRpcEnabled;
extern int64_t gStartTime;
namespace jak1 {
/*!
* Initialize global variables based on command line parameters
*/
void InitParms(int argc, const char* const* argv);
/*!
* Initialize the I/O Processor
*/
void InitIOP();
/*!
* Initialze GOAL Runtime
*/
int InitMachine();
/*!
* Shutdown GOAL runtime.
*/
int ShutdownMachine();
void InitMachineScheme();
struct DiscordInfo {
u32 fuel;
u32 money_total;
u32 buzzer_total;
u32 deaths;
u32 status;
u32 level;
u32 cutscene; // check if cutscene is playing
u32 ogreboss; // are we fighting ogreboss?
u32 plantboss; // are we fighting plant-boss?
u32 racer; // are we driving the zoomer?
u32 flutflut; // are we riding on flut flut?
u32 time_of_day;
};
} // namespace jak1