#include "utils.h" #ifndef SETTINGS_H #define SETTINGS_H typedef struct { // Window. int windowWidth; int windowHeight; // Screen (render texture for pixellyness). int screenWidth; int screenHeight; // Render. float fov; int maxFPS; bool showFPSDefault; Color backgroundColor; bool useBackgroundTexture; int backgroundTextureNumber; // Edge detection. float edgeDetectionWidth; float edgeDetectionHeight; float edgeDetectionFactor; // Color. float gamma; float colorCount; // Update. float maxUpdateDistance; // Cross hair. bool isCrossHairEnabledDefault; float crossHairSize; float crossHairThickness; Color crossHairColor; // Player movement. bool isBobbleEnabled; float bobbleRate; float bobbleAmount; float playerAcceleration; // Map. bool isMapPreviewEnabledDefault; float mapPreviewWidth; float mapPreviewHeight; unsigned char mapAlpha; float mapPreviewZoomDefault; Color mapLowColor; Color mapHighColor; float mapColorCount; float mapZoomSpeed; // Side info and status. int entityInfoFontSize; unsigned char statusAndInfoAlpha; // Interaction chat and menu. int interactionFontSize; unsigned char interactionAlpha; float interactionOutlineSize; float interactionChatHeight; float interactionMenuWidth; float interactionChatAnimationSpeed; // Controls. float mouseSpeed; KeyboardKey forwardKey; KeyboardKey backwardKey; KeyboardKey rightKey; KeyboardKey leftKey; KeyboardKey runKey; KeyboardKey toggleCursorKey; KeyboardKey toggleCrossHairKey; KeyboardKey toggleFPSKey; KeyboardKey toggleMapPreviewKey; KeyboardKey defaultMapZoomKey; KeyboardKey interactKey; KeyboardKey nextMessageKey; KeyboardKey leaveKey; } Settings; Settings defaultSettings(); // Bite my shiny metal ass! #endif