Initial commit. Needs debugging.

This commit is contained in:
J-D-K
2026-03-20 12:41:04 -04:00
parent d39fd80a20
commit 347f1bc75f
112 changed files with 1331 additions and 1109 deletions

View File

@@ -19,9 +19,7 @@ class SaveCreateState final : public BaseState
/// @brief Returns a new SaveCreate state. See constructor for arguments.
static inline std::shared_ptr<SaveCreateState> create(data::User *user, TitleSelectCommon *titleSelect)
{
return std::make_shared<SaveCreateState>(user, titleSelect);
}
{ return std::make_shared<SaveCreateState>(user, titleSelect); }
/// @brief Creates, pushes, returns and new SaveCreateState.
static inline std::shared_ptr<SaveCreateState> create_and_push(data::User *user, TitleSelectCommon *titleSelect)
@@ -32,10 +30,10 @@ class SaveCreateState final : public BaseState
}
/// @brief Runs the update routine.
void update() override;
void update(const sdl2::Input &input) override;
/// @brief Runs the render routine.
void render() override;
void render(sdl2::Renderer &renderer) override;
/// @brief This signals so data and the view can be refreshed on the next update() to avoid threading shenanigans.
void refresh_required();