#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; // 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; // Map. bool isMapPreviewEnabledDefault; float mapPreviewWidth; float mapPreviewHeight; unsigned char mapAlpha; float mapPreviewZoomDefault; // Controls. float mouseSpeed; KeyboardKey forwardKey; KeyboardKey backwardKey; KeyboardKey rightKey; KeyboardKey leftKey; KeyboardKey toggleCursorKey; KeyboardKey toggleCrossHairKey; KeyboardKey toggleMapPreviewKey; KeyboardKey interactKey; } Settings; Settings defaultSettings(); // Bite my shiny metal ass! #endif