aboutsummaryrefslogtreecommitdiffstats
path: root/src/settings.c
blob: 7720c64dfeddc73f6dfff7b74428d6eff5b4809e (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
#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,
    .nonEditWindowAlpha = 255.0 * 0.75,
    .crossHairSize = 8.0,
    .crossHairThickness = 3.0,
    .crossHairColor = BLUE,
    .mouseSpeed = 0.1,
    .forwardKey = KEY_W,
    .backwardKey = KEY_S,
    .rightKey = KEY_D,
    .leftKey = KEY_A,
    .toggleCursorKey = KEY_C,
    .interactKey = KEY_E
  };
}