Work Life (Visual Novel / Game)
Loading...
Searching...
No Matches
instant_message_state.h
1#pragma once
2#include "character.h"
6 struct im_state {
12 void init() {
13 for(auto c : character::characters) {
14 progress[c] = 0;
15 thank_you[c] = 0;
16 }
17 }
18 };
19}
constexpr int COUNT
there are four characters
Definition character.h:6
const CHAR_ENUM characters[]
conviences array used in loop structures
Definition character.h:16
state used in instant_message.h
Definition instant_message_state.h:4
various state components when sending messages
Definition instant_message_state.h:6
unsigned int thank_you[character::COUNT]
internal counter for various "thank you" functions
Definition instant_message_state.h:10
unsigned int progress[character::COUNT]
the progress into each instant message array
Definition instant_message_state.h:8
void init()
initialze the struct
Definition instant_message_state.h:12