coastline 0.0.4
Loading...
Searching...
No Matches
wizardrun.h
Go to the documentation of this file.
1#pragma once
2
7
8#include <filesystem>
9#include <span>
10#include <string>
11
12#include <SDL3/SDL.h>
13
14#include "config.h"
15#include "gpu.h"
16#include "paths.h"
17#include "runscript.h"
18
19namespace coastline {
20
22struct SetupRun {
23 bool finished = false;
25 bool failed = true;
26 bool portable = false;
27 int frames = 0;
28};
29
51 GamePaths &paths,
52 GameConfig &config,
53 const Script &script,
55 const std::filesystem::path &captures,
56 bool fixedTime,
57 const std::string &reimportReason = {},
58 const std::filesystem::path &portableDirectory = {});
59
60} // namespace coastline
The settings of BossRally.ini.
Definition config.h:18
The window of the game and the GPU device that draws into it.
Definition gpu.h:112
Definition assetimport.h:11
SetupRun RunSetupWizard(GpuWindow &window, GamePaths &paths, GameConfig &config, const Script &script, std::span< const SDL_Scancode > scriptKeys, const std::filesystem::path &captures, bool fixedTime, const std::string &reimportReason={}, const std::filesystem::path &portableDirectory={})
Show the setup wizard until the user finishes or quits it.
The directories the game reads and writes, each ending in the application directory.
Definition paths.h:25
The input and the captures of a script of run-script.
Definition runscript.h:55
How a run of the setup wizard ended.
Definition wizardrun.h:22
int frames
Definition wizardrun.h:27
bool portable
Definition wizardrun.h:26
bool failed
Whether renderer, font, or portable-configuration setup failed.
Definition wizardrun.h:25
bool finished
Definition wizardrun.h:23