#ifndef BLACKSHADES_CONFIG_H #define BLACKSHADES_CONFIG_H #include #include struct Level { int environment; unsigned char evil_weapons; unsigned char evil_rarity; unsigned char guard_weapon; unsigned char guard_reloads; int time; float difficulty; }; struct Key { int forwards, backwards, left, right; int crouch, accelerate, dive; int reload, aim, psychic_aim, psychic; int switch_view, switch_weapon; int skip, pause, slomo, force; }; struct Config { int width; int height; bool vsync; bool blood; bool music; float mouse_sensitivity; struct Key key; struct { struct Level *ptr; size_t len; } levels; bool debug; }; #endif // BLACKSHADES_CONFIG_H