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.
16 lines
272 B
C
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);
|