#include "settings.h" Settings defaultSettings() { return (Settings){ .windowWidth = 960, .windowHeight = 720, .screenWidth = 596, .screenHeight = 447, .edgeDetectionWidth = 80.0, .edgeDetectionHeight = 60.0, .edgeDetectionFactor = 0.11, .gamma = 0.6, .colorCount = 11.0, .mouseSpeed = 0.1, .forwardKey = KEY_W, .backwardKey = KEY_S, .rightKey = KEY_D, .leftKey = KEY_A }; }