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
|
#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,
.mapPreviewSize = 300.0,
.mouseSpeed = 0.1,
.forwardKey = KEY_W,
.backwardKey = KEY_S,
.rightKey = KEY_D,
.leftKey = KEY_A,
.toggleCursorKey = KEY_LEFT_ALT,
.toggleCrossHairKey = KEY_C,
.interactKey = KEY_E
};
}
|