/* * config.h * * Configuration. * */ // Configuration Structures typedef struct { int fullscreen; int screen_width; int screen_height; } graphics_settings; typedef struct { int nuttin; } game_settings; typedef struct { graphics_settings graphics; game_settings game; } config; // Returns the user's configuration. config *user_config(); // Returns the default configuration. config *default_config(); // Sets the user's configuration. void update_user_config(config *c);