-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
98 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef DEBUG_SETTINGS_HPP | ||
#define DEBUG_SETTINGS_HPP | ||
|
||
struct DebugSettings { | ||
bool enabled{false}; | ||
bool debugGlyphBound{true}; | ||
bool debugBaseline{true}; | ||
bool debugCaret{true}; | ||
bool debugAscend{true}; | ||
bool debugDescend{true}; | ||
}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#ifndef MAIN_SCENE_HPP | ||
#define MAIN_SCENE_HPP | ||
|
||
#include "context.hpp" | ||
#include "debug_settings.hpp" | ||
#include <SDL2/SDL.h> | ||
|
||
bool SceneInit(Context &context); | ||
void SceneTick(SDL_Renderer *renderer, Context &ctx); | ||
void SceneCleanUp(Context &context); | ||
void SceneDoUI(Context &context); | ||
bool SceneInit(); | ||
void SceneTick(SDL_Renderer *renderer); | ||
void SceneCleanUp(); | ||
void SceneDoUI(); | ||
|
||
#endif |
Oops, something went wrong.