Work Life (Visual Novel / Game)
|
control loop of game built on top of vnlib::next More...
Functions | |
void | day_starting () |
first function called in the day. determines weekday/weekend | |
void | day_ending () |
last function called in the day. used to advance day variable and run cutscene | |
void | desk_work () |
the morning task | |
void | desk_work_complete () |
run after the morning task | |
void | work_life () |
the afternoon task | |
void | work_life_complete () |
run after the afternoon task | |
void | play_daily_music () |
play a different tune each weekday. play weekend tune on Saturday and Sunday | |
void | desk_work_options () |
set various toggles in runtime_state::runtime_state | |
vnlib::MenuOptions | desktop_grid_menu_options () |
default MenuOptions for grid menu on BG_DESKTOP | |
vnlib::MenuOptions | desktop_list_menu_options () |
default MenuOptions for single column menu on BG_DESKTOP | |
bn::string< 4 > | desk_work_progress_pad (int n) |
add a space of padding to single digit numbers | |
bn::string< 48 > | desk_work_progress_str (character::CHAR_ENUM c) |
format progress string for a character | |
Variables | |
vnlib::MenuOptions | desk_work_options_options = desktop_list_menu_options() |
global option menu MenuOptions to save selection between renders | |
control loop of game built on top of vnlib::next
workday: always handle work/life tasks weekend: possibly handle special weekend event