|
Work Life (Visual Novel / Game)
|
global game state More...
Classes | |
| struct | GameState |
| encapsulated game state More... | |
| struct | lock_state |
| store if character is unlocked. see story::unlocks More... | |
Variables | |
| constexpr char | initialized_char = '@' |
| magic value used to tell if a save slot is initialized | |
| GameState | st |
| the singular global game state | |
global game state
values are loaded into the the global variable state::st when a player loads from a save file. otherwise, they are modified when a new game starts. individual game components are encapsulated in their own respective structs, though gameplayer will frequently reference state of other components.