Work Life (Visual Novel / Game)
Loading...
Searching...
No Matches
runtime_state Namespace Reference

various settings that can be changed at runtime More...

Classes

struct  runtime_state
 struct to bundle runtime toggles More...
 

Enumerations

enum  minigame_mode { PLAY = 0 , HINT = 1 , AUTOWIN = 2 }
 toggle the way minigames should be played More...
 
enum  emergency_day { EMERGENCIES_ON_SATURDAY = 0 , EMERGENCIES_ON_SUNDAY = 1 }
 toggle the day when emergencies should happen More...
 

Functions

void toggle (bool *option)
 toggle a generic boolean option
 
void toggle (minigame_mode *option)
 toggle the minigame_mode
 
void toggle (emergency_day *option)
 toggle the emergency_day
 
bn::string< 8 > to_str (minigame_mode option)
 convert the minigame_mode to a string
 
bn::string< 8 > to_str (emergency_day option)
 convert the emergency_day to a string
 

Detailed Description

various settings that can be changed at runtime

Enumeration Type Documentation

◆ emergency_day

toggle the day when emergencies should happen

Enumerator
EMERGENCIES_ON_SATURDAY 

emergencies should happen on Saturday (default)

EMERGENCIES_ON_SUNDAY 

emergencies should happen on Sunday (see weekend_event::generic_event and weekend_event::generic_emergency)

◆ minigame_mode

toggle the way minigames should be played

Enumerator
PLAY 

play the game without any help (default)

HINT 

play the game with a hint

AUTOWIN 

do not play the game and have a magical force complete the task