SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Core

Application lifecycle, scene lifecycle, and the command-line, logging, and window helpers Application depends on. More...

Classes

class  Sleak::Application
struct  Sleak::ApplicationDefaults
struct  Sleak::Arguments
class  Sleak::CommandLine
class  Sleak::GameBase
struct  Sleak::GraphicsConfig
class  Sleak::Logger
struct  Sleak::MessageBoxColorScheme
class  Sleak::Object
class  Sleak::Scene
class  Sleak::SceneBase
class  Sleak::Timer

Enumerations

enum class  Sleak::GraphicsQuality {
  Sleak::GraphicsQuality::Off , Sleak::GraphicsQuality::Low , Sleak::GraphicsQuality::Medium , Sleak::GraphicsQuality::High ,
  Sleak::GraphicsQuality::Ultra
}
enum  Sleak::MessageBoxReturn { Sleak::Ok = 0 , Sleak::Yes = 1 , Sleak::No = 2 , Sleak::Cancel = 3 }
enum  Sleak::MessageBoxType : unsigned int { Sleak::Info = 0x00000040u , Sleak::Warning = 0x00000020u , Sleak::Error = 0x00000010u }
enum class  Sleak::SceneState {
  Sleak::SceneState::Unloaded , Sleak::SceneState::Loading , Sleak::SceneState::Active , Sleak::SceneState::Paused ,
  Sleak::SceneState::Unloading
}

Detailed Description

Application lifecycle, scene lifecycle, and the command-line, logging, and window helpers Application depends on.

Enumeration Type Documentation

◆ GraphicsQuality

enum class Sleak::GraphicsQuality
strong

#include <GraphicsConfig.hpp>

Named quality tiers a GraphicsConfig preset can be built from.

Enumerator
Off 
Low 
Medium 
High 
Ultra 

Definition at line 13 of file GraphicsConfig.hpp.

◆ MessageBoxReturn

#include <WindowHelper.hpp>

Which button the user picked in ShowMessageBox().

Enumerator
Ok 
Yes 
No 
Cancel 

Definition at line 20 of file WindowHelper.hpp.

◆ MessageBoxType

enum Sleak::MessageBoxType : unsigned int

#include <WindowHelper.hpp>

SDL message box icon/style, maps directly to SDL_MessageBoxFlags.

Enumerator
Info 
Warning 
Error 

Definition at line 12 of file WindowHelper.hpp.

◆ SceneState

enum class Sleak::SceneState
strong

#include <SceneBase.hpp>

Lifecycle state a SceneBase moves through via Load/Unload/Activate/Deactivate.

Enumerator
Unloaded 
Loading 
Active 
Paused 
Unloading 

Definition at line 14 of file SceneBase.hpp.