Skip to content

Commit 49b751c

Browse files
committed
asdf
Signed-off-by: Slendi <[email protected]>
1 parent 86f29fb commit 49b751c

File tree

3 files changed

+256
-1
lines changed

3 files changed

+256
-1
lines changed

src/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ int main(int argc, char **argv)
155155
if (argc != 1) {
156156
g_gs.cheat = 1;
157157
}
158+
#ifdef _DEBUG
159+
g_gs.cheat = 1;
160+
#endif
158161

159162
try {
160163
if (!std::filesystem::exists("resources")) {

src/resources/Dialog.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
{
2121
"name": "Byte",
22-
"msg": "I am sure you have questions but we don't have time. Go!"
22+
"msg": "I am sure you have questions but we don't have time. Sorry! .-."
2323
}
2424
],
2525
[
@@ -86,5 +86,17 @@
8686
"msg": "Don't worry though, I got your back ^_^"
8787
}
8888
]
89+
],
90+
"core.omnitek.co": [
91+
[
92+
{
93+
"name": "Byte",
94+
"msg": "You made it to the core!"
95+
},
96+
{
97+
"name": "Byte",
98+
"msg": "Just two more computers to infect and are going to finally get the data we need ^_^"
99+
}
100+
]
89101
]
90102
}

src/resources/levels/Level4.json

Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
{
2+
"files_required": 4,
3+
"name": "core.omnitek.co",
4+
"author_time": 21.26,
5+
"start_position": [
6+
75,
7+
75
8+
],
9+
"start_angle": 0,
10+
"pickups": [
11+
{
12+
"kind": 0,
13+
"id": 0,
14+
"x": 550,
15+
"y": -230
16+
},
17+
{
18+
"kind": 0,
19+
"id": 1,
20+
"x": 550,
21+
"y": 400
22+
},
23+
{
24+
"kind": 1,
25+
"id": 2,
26+
"x": 900,
27+
"y": 75
28+
}
29+
],
30+
"walls": [
31+
{
32+
"kind": 0,
33+
"points": [
34+
[
35+
-150,
36+
0
37+
],
38+
[
39+
150,
40+
0
41+
],
42+
[
43+
150,
44+
-300
45+
],
46+
[
47+
600,
48+
-300
49+
],
50+
[
51+
600,
52+
0
53+
],
54+
[
55+
900,
56+
0
57+
],
58+
[
59+
975,
60+
75
61+
]
62+
],
63+
"key_id": 0
64+
},
65+
{
66+
"kind": 0,
67+
"points": [
68+
[
69+
-150,
70+
150
71+
],
72+
[
73+
150,
74+
150
75+
],
76+
[
77+
150,
78+
450
79+
],
80+
[
81+
600,
82+
450
83+
],
84+
[
85+
600,
86+
150
87+
],
88+
[
89+
900,
90+
150
91+
],
92+
[
93+
975,
94+
75
95+
]
96+
],
97+
"key_id": 0
98+
},
99+
{
100+
"kind": 1,
101+
"points": [
102+
[
103+
0,
104+
0
105+
],
106+
[
107+
0,
108+
150
109+
]
110+
],
111+
"key_id": 0
112+
},
113+
{
114+
"kind": 1,
115+
"points": [
116+
[
117+
-20,
118+
0
119+
],
120+
[
121+
-20,
122+
150
123+
]
124+
],
125+
"key_id": 1
126+
},
127+
{
128+
"kind": 0,
129+
"points": [
130+
[
131+
300,
132+
-150
133+
],
134+
[
135+
300,
136+
0
137+
]
138+
],
139+
"key_id": 0
140+
},
141+
{
142+
"kind": 0,
143+
"points": [
144+
[
145+
495,
146+
-300
147+
],
148+
[
149+
495,
150+
-45
151+
],
152+
[
153+
450,
154+
0
155+
]
156+
],
157+
"key_id": 0
158+
},
159+
{
160+
"kind": 0,
161+
"points": [
162+
[
163+
450,
164+
150
165+
],
166+
[
167+
495,
168+
195
169+
],
170+
[
171+
495,
172+
450
173+
]
174+
],
175+
"key_id": 0
176+
},
177+
{
178+
"kind": 0,
179+
"points": [
180+
[
181+
300,
182+
300
183+
],
184+
[
185+
300,
186+
150
187+
]
188+
],
189+
"key_id": 0
190+
}
191+
],
192+
"zones": [
193+
{
194+
"kind": 0,
195+
"points": [
196+
[
197+
-150,
198+
0
199+
],
200+
[
201+
-100,
202+
0
203+
],
204+
[
205+
-100,
206+
150
207+
],
208+
[
209+
-150,
210+
150
211+
]
212+
],
213+
"value": 0
214+
},
215+
{
216+
"kind": 2,
217+
"points": [
218+
[
219+
300,
220+
0
221+
],
222+
[
223+
450,
224+
0
225+
],
226+
[
227+
450,
228+
150
229+
],
230+
[
231+
300,
232+
150
233+
]
234+
],
235+
"value": 3.14159,
236+
"power": 1.2
237+
}
238+
],
239+
"on_unlock_dialog": 0
240+
}

0 commit comments

Comments
 (0)