#include "settings.h" Settings defaultSettings() { return (Settings){ .windowWidth = 960, .windowHeight = 720, .screenWidth = 596, .screenHeight = 447, .fov = 90.0, .showFPSDefault = true, .edgeDetectionWidth = 80.0, .edgeDetectionHeight = 60.0, .edgeDetectionFactor = 0.11, .gamma = 0.6, .colorCount = 11.0, .maxUpdateDistance = 255.0, .isCrossHairEnabledDefault = true, .crossHairSize = 8.0, .crossHairThickness = 3.0, .crossHairColor = BLUE, .isMapPreviewEnabledDefault = true, .mapPreviewWidth = 300.0, .mapPreviewHeight = 300.0, .mapAlpha = (unsigned char)255.0 * 0.8, .mapPreviewZoomDefault = 3.0, .mapLowColor = (Color){255, 255, 0, 255}, .mapHighColor = (Color){0, 0, 255, 255}, .mapColorCount = 7.0, .mapZoomSpeed = 0.2, .entityInfoFontSize = 20, .entityInfoAlpha = (unsigned char)255.0 * 0.8, .interactionFontSize = 20, .interactionAlpha = (unsigned char)255.0 * 0.9, .interactionOutlineSize = 2.0, .interactionChatHeight = 300.0, .interactionMenuWidth = 500.0, .mouseSpeed = 0.1, .forwardKey = KEY_W, .backwardKey = KEY_S, .rightKey = KEY_D, .leftKey = KEY_A, .toggleCursorKey = KEY_LEFT_ALT, .toggleCrossHairKey = KEY_C, .toggleFPSKey = KEY_F, .toggleMapPreviewKey = KEY_P, .defaultMapZoomKey = KEY_Z, .interactKey = KEY_E, .nextMessageKey = KEY_ENTER }; }