Revert "Add settings"

This reverts commit 430ca985d3.
This commit is contained in:
mwalker33
2020-04-10 13:58:57 +10:00
parent 430ca985d3
commit 0542825567
5 changed files with 113 additions and 164 deletions

View File

@@ -8,13 +8,29 @@
//-----------------------------------------------------------------------------
// Settings Functions
//-----------------------------------------------------------------------------
#ifndef SETTINGS_H_
#define SETTINGS_H_
#ifndef settings_h
#define settings_h
#include "fileutils.h"
#define settingsFilename "settings.json"
typedef struct {
bool loaded;
char version[20];
bool os_windows_usecolor;
bool os_windows_useansicolor;
int window_xpos;
int window_ypos;
int window_hsize;
int window_wsize;
bool use_emojis;
bool use_hints;
} settings_t;
// Settings struct so as to be available to other modules by including settings.h
settings_t mySettings;
int settings_load (void);
int settings_save (void);