File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Snek compilation configuration file
2
+ # ===================================
3
+
4
+
5
+ # Feel free to tinker with these switches:
6
+ # ----------------------------------------
7
+
8
+ # --d:gridSize:100 # default: 48 (min: 16)
9
+
10
+ # Playing area size: (default: 1024)
11
+ # --d:playFieldWidth:500
12
+
13
+ # Status bar height: (default: 100)
14
+ # --d:statusBarHeight:100
15
+
16
+ # Target FPS: (default: 60)
17
+ # --d:targetFPS:420
18
+
19
+
20
+ # Other config stuff:
21
+ # -------------------
22
+ -- app:gui
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ const
16
16
# =============================================================================
17
17
18
18
const
19
- playFieldWidth* : int32 = 1024 # # Playing area width
19
+ playFieldWidth* {.intdefine.} : int32 = 1024 # # Playing area width
20
20
playFieldHeight* : int32 = playFieldWidth # # Playing area height (same as width)
21
21
22
- statusBarHeight* : int32 = 100 # # Height of the status bar at the top
22
+ statusBarHeight* {.intdefine.} : int32 = 100 # # Height of the status bar at the top
23
23
24
24
screenWidth* : int32 = playFieldWidth # # Screen width
25
25
screenHeight* : int32 = playFieldHeight + statusBarHeight # # Screen height
26
26
27
- targetFPS* : int32 = 60 # # Target fps (should not fuck with the update speed)
27
+ targetFPS* {.intdefine.} : int32 = 60 # # Target fps (should not fuck with the update speed)
28
28
29
29
30
30
# =============================================================================
You can’t perform that action at this time.
0 commit comments