Files
m4kc/src/options.h
Sasha Koshka 2b96639b9f Added options loading
options_load loads the config file at ~/.m4kc/m4kc.conf and is called within
options_init. Entering in adbormal values for parameters causes the second page
to segfault. Will attempt fix in next commit.
2022-05-06 19:09:45 -04:00

16 lines
272 B
C

#pragma once
#include "inputbuffer.h"
typedef struct {
int fogType;
int drawDistance;
int trapMouse;
double fov;
InputBuffer username;
} Options;
extern Options options;
int options_init (void);
int options_load (void);