aboutsummaryrefslogtreecommitdiffstats
path: root/src/settings.c
blob: 3dd1fa584df6d4ce01e2516f3d987dc975884be5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include "settings.h"

Settings defaultSettings()
{
  return (Settings){
    .windowWidth = 960,
    .windowHeight = 720,
    .screenWidth = 596,
    .screenHeight = 447,
    .fov = 90.0,
    .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.80,
    .mapPreviewZoomDefault = 10.0,
    .mouseSpeed = 0.1,
    .forwardKey = KEY_W,
    .backwardKey = KEY_S,
    .rightKey = KEY_D,
    .leftKey = KEY_A,
    .toggleCursorKey = KEY_LEFT_ALT,
    .toggleCrossHairKey = KEY_C,
    .toggleMapPreviewKey = KEY_P,
    .interactKey = KEY_E
  };
}