mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-12-15 07:00:58 +01:00
Added user settings persistence.
Using ImGui .ini writer.
This commit is contained in:
parent
af5a70785e
commit
8bae7a5b05
12 changed files with 158 additions and 227 deletions
|
|
@ -11,12 +11,11 @@ struct high_score_struct
|
|||
class high_score
|
||||
{
|
||||
public:
|
||||
static int read(high_score_struct* table, int* ptrToSmth);
|
||||
static int write(high_score_struct* table, int* ptrToSmth);
|
||||
static int read(high_score_struct* table);
|
||||
static int write(high_score_struct* table);
|
||||
static void clear_table(high_score_struct* table);
|
||||
static int get_score_position(high_score_struct* table, int score);
|
||||
static int place_new_score_into(high_score_struct* table, int score, LPSTR scoreStr, int position);
|
||||
static void scramble_number_string(int Value, char* Buffer);
|
||||
|
||||
static void show_high_score_dialog(high_score_struct* table);
|
||||
static void show_and_set_high_score_dialog(high_score_struct* table, int score, int pos, LPCSTR defaultName);
|
||||
|
|
@ -27,6 +26,5 @@ private :
|
|||
static int dlg_position;
|
||||
static char default_name[32];
|
||||
static high_score_struct* dlg_hst;
|
||||
static winhelp_entry help[21];
|
||||
static bool ShowDialog;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue