mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
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
This commit is contained in:
@@ -412,6 +412,10 @@ int get_monitor_count() {
|
||||
return Gfx::get_monitor_count();
|
||||
}
|
||||
|
||||
int get_unix_timestamp() {
|
||||
return std::time(nullptr);
|
||||
}
|
||||
|
||||
void mkdir_path(u32 filepath) {
|
||||
auto filepath_str = std::string(Ptr<String>(filepath).c()->data());
|
||||
file_util::create_dir_if_needed_for_file(filepath_str);
|
||||
|
||||
Reference in New Issue
Block a user