~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to win32/code_blocks/Armagetron.cbp

  • Committer: SwagTron
  • Date: 2019-03-03 20:57:16 UTC
  • Revision ID: swagtron-20190303205716-nk32wtrusb3tum54
As far as I am aware, compiling 2.9 sty+ct+ap was incredibly difficult and impossible without using older versions merged with the latest revision (thanks to Nelg's help). Created a proper win32 folder, a readme file, and made it simple to compile for windows.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 
2
<CodeBlocks_project_file>
 
3
        <FileVersion major="1" minor="6" />
 
4
        <Project>
 
5
                <Option title="Armagetron" />
 
6
                <Option pch_mode="0" />
 
7
                <Option default_target="Win32 Release" />
 
8
                <Option compiler="gcc" />
 
9
                <Build>
 
10
                        <Target title="Win32 Release">
 
11
                                <Option output="..\..\..\dist\armagetronad.exe" prefix_auto="0" extension_auto="0" />
 
12
                                <Option working_dir="..\..\..\dist" />
 
13
                                <Option object_output="tmp\Armagetron___Win32_Release" />
 
14
                                <Option type="0" />
 
15
                                <Option compiler="gcc" />
 
16
                                <Option projectResourceIncludeDirsRelation="0" />
 
17
                                <Compiler>
 
18
                                        <Add option="-O2" />
 
19
                                        <Add option="-W" />
 
20
                                        <Add option="-DNDEBUG" />
 
21
                                        <Add option="-DDIRTY" />
 
22
                                </Compiler>
 
23
                                <Linker>
 
24
                                        <Add option="-s" />
 
25
                                        <Add library="..\..\..\dist\libSDL.a" />
 
26
                                        <Add library="..\..\..\dist\libSDL_image.a" />
 
27
                                        <Add library="..\..\..\dist\libSDL_mixer.a" />
 
28
                                </Linker>
 
29
                        </Target>
 
30
                        <Target title="Win32 Debug">
 
31
                                <Option output="..\..\..\debug\armagetronad.exe" prefix_auto="0" extension_auto="0" />
 
32
                                <Option working_dir="..\..\..\debug" />
 
33
                                <Option object_output="tmp\Armagetron___Win32_Debug" />
 
34
                                <Option type="0" />
 
35
                                <Option compiler="gcc" />
 
36
                                <Option projectResourceIncludeDirsRelation="0" />
 
37
                                <Compiler>
 
38
                                        <Add option="-W" />
 
39
                                        <Add option="-g" />
 
40
                                        <Add option="-DNDEBUG" />
 
41
                                        <Add option="-DDEBUG" />
 
42
                                </Compiler>
 
43
                                <Linker>
 
44
                                        <Add library="..\..\..\debug\libSDL.a" />
 
45
                                        <Add library="..\..\..\debug\libSDL_image.a" />
 
46
                                        <Add library="..\..\..\debug\libSDL_mixer.a" />
 
47
                                </Linker>
 
48
                        </Target>
 
49
                </Build>
 
50
                <VirtualTargets>
 
51
                        <Add alias="All" targets="Win32 Release;Win32 Debug;" />
 
52
                </VirtualTargets>
 
53
                <Compiler>
 
54
                        <Add option="-fexceptions" />
 
55
                        <Add option="-DWIN32" />
 
56
                        <Add option="-D_WINDOWS" />
 
57
                        <Add option="-D_MBCS" />
 
58
                        <Add option="-DDONTUSEMEMMANAGER" />
 
59
                        <Add directory="..\..\src" />
 
60
                        <Add directory="..\..\src\engine" />
 
61
                        <Add directory="..\..\src\network" />
 
62
                        <Add directory="..\..\src\render" />
 
63
                        <Add directory="..\..\src\tools" />
 
64
                        <Add directory="..\..\src\ui" />
 
65
                        <Add directory="..\..\src\win32" />
 
66
                        <Add directory="..\..\..\winlibs\include" />
 
67
                        <Add directory="..\..\..\winlibs\SDL\include" />
 
68
                        <Add directory="..\..\..\winlibs\SDL_image" />
 
69
                        <Add directory="..\..\..\winlibs\SDL_image\VisualC\graphics\include" />
 
70
                        <Add directory="..\..\..\winlibs\SDL_mixer" />
 
71
                        <Add directory="..\..\..\winlibs\libxml2\include" />
 
72
                        <Add directory="..\..\..\winlibs\iconv\include" />
 
73
                </Compiler>
 
74
                <Linker>
 
75
                        <Add library="libopengl32.a" />
 
76
                        <Add library="libglu32.a" />
 
77
                        <Add library="libshell32.a" />
 
78
                        <Add library="libwsock32.a" />
 
79
                        <Add library="..\..\..\winlibs\SDL_image\VisualC\graphics\lib\libpng13.lib" />
 
80
                        <Add library="..\..\..\winlibs\libxml2\lib\libxml2.lib" />
 
81
                </Linker>
 
82
                <Unit filename="..\required\armagetron.rc">
 
83
                        <Option compilerVar="WINDRES" />
 
84
                </Unit>
 
85
                <Unit filename="language\english_base.txt" />
 
86
                <Unit filename="..\..\src\defs.h" />
 
87
                <Unit filename="..\..\src\engine\eAdvWall.cpp" />
 
88
                <Unit filename="..\..\src\engine\eAdvWall.h" />
 
89
                <Unit filename="..\..\src\engine\eAuthentication.cpp" />
 
90
                <Unit filename="..\..\src\engine\eAuthentication.h" />
 
91
                <Unit filename="..\..\src\engine\eAxis.cpp" />
 
92
                <Unit filename="..\..\src\engine\eAxis.h" />
 
93
                <Unit filename="..\..\src\engine\eBannedWords.cpp" />
 
94
                <Unit filename="..\..\src\engine\eBannedWords.h" />
 
95
                <Unit filename="..\..\src\engine\eCamera.cpp" />
 
96
                <Unit filename="..\..\src\engine\eCamera.h" />
 
97
                <Unit filename="..\..\src\engine\eChat.cpp" />
 
98
                <Unit filename="..\..\src\engine\eChat.h" />
 
99
                <Unit filename="..\..\src\engine\eCoord.h" />
 
100
                <Unit filename="..\..\src\engine\eDebugLine.cpp" />
 
101
                <Unit filename="..\..\src\engine\eDebugLine.h" />
 
102
                <Unit filename="..\..\src\engine\eDisplay.cpp" />
 
103
                <Unit filename="..\..\src\engine\eFloor.cpp" />
 
104
                <Unit filename="..\..\src\engine\eFloor.h" />
 
105
                <Unit filename="..\..\src\engine\eGameObject.cpp" />
 
106
                <Unit filename="..\..\src\engine\eGameObject.h" />
 
107
                <Unit filename="..\..\src\engine\eGrid.cpp" />
 
108
                <Unit filename="..\..\src\engine\eGrid.h" />
 
109
                <Unit filename="..\..\src\engine\eKrawall.cpp" />
 
110
                <Unit filename="..\..\src\engine\eKrawall.h" />
 
111
                <Unit filename="..\..\src\engine\eLagCompensation.cpp" />
 
112
                <Unit filename="..\..\src\engine\eLagCompensation.h" />
 
113
                <Unit filename="..\..\src\engine\eNetGameObject.cpp" />
 
114
                <Unit filename="..\..\src\engine\eNetGameObject.h" />
 
115
                <Unit filename="..\..\src\engine\ePath.cpp" />
 
116
                <Unit filename="..\..\src\engine\ePath.h" />
 
117
                <Unit filename="..\..\src\engine\ePlayer.cpp" />
 
118
                <Unit filename="..\..\src\engine\ePlayer.h" />
 
119
                <Unit filename="..\..\src\engine\eRectangle.cpp" />
 
120
                <Unit filename="..\..\src\engine\eRectangle.h" />
 
121
                <Unit filename="..\..\src\engine\eSensor.cpp" />
 
122
                <Unit filename="..\..\src\engine\eSensor.h" />
 
123
                <Unit filename="..\..\src\engine\eSound.cpp" />
 
124
                <Unit filename="..\..\src\engine\eSound.h" />
 
125
                <Unit filename="..\..\src\engine\eTeam.cpp" />
 
126
                <Unit filename="..\..\src\engine\eTeam.h" />
 
127
                <Unit filename="..\..\src\engine\eTess2.h" />
 
128
                <Unit filename="..\..\src\engine\eTimer.cpp" />
 
129
                <Unit filename="..\..\src\engine\eTimer.h" />
 
130
                <Unit filename="..\..\src\engine\eVoter.cpp" />
 
131
                <Unit filename="..\..\src\engine\eVoter.h" />
 
132
                <Unit filename="..\..\src\engine\eWall.cpp" />
 
133
                <Unit filename="..\..\src\engine\eWall.h" />
 
134
                <Unit filename="..\..\src\network\md5.cpp" />
 
135
                <Unit filename="..\..\src\network\md5.h" />
 
136
                <Unit filename="..\..\src\network\nAuthentication.cpp" />
 
137
                <Unit filename="..\..\src\network\nAuthentication.h" />
 
138
                <Unit filename="..\..\src\network\nConfig.cpp" />
 
139
                <Unit filename="..\..\src\network\nConfig.h" />
 
140
                <Unit filename="..\..\src\network\nKrawall.cpp" />
 
141
                <Unit filename="..\..\src\network\nKrawall.h" />
 
142
                <Unit filename="..\..\src\network\nKrawallPrivate.cpp" />
 
143
                <Unit filename="..\..\src\network\nNetObject.cpp" />
 
144
                <Unit filename="..\..\src\network\nNetObject.h" />
 
145
                <Unit filename="..\..\src\network\nNetwork.cpp" />
 
146
                <Unit filename="..\..\src\network\nNetwork.h" />
 
147
                <Unit filename="..\..\src\network\nObserver.cpp" />
 
148
                <Unit filename="..\..\src\network\nObserver.h" />
 
149
                <Unit filename="..\..\src\network\nPriorizing.cpp" />
 
150
                <Unit filename="..\..\src\network\nPriorizing.h" />
 
151
                <Unit filename="..\..\src\network\nServerInfo.cpp" />
 
152
                <Unit filename="..\..\src\network\nServerInfo.h" />
 
153
                <Unit filename="..\..\src\network\nSimulatePing.h" />
 
154
                <Unit filename="..\..\src\network\nSocket.cpp" />
 
155
                <Unit filename="..\..\src\network\nSocket.h" />
 
156
                <Unit filename="..\..\src\network\nSpamProtection.cpp" />
 
157
                <Unit filename="..\..\src\network\nSpamProtection.h" />
 
158
                <Unit filename="..\..\src\render\rConsole.cpp" />
 
159
                <Unit filename="..\..\src\render\rConsole.h" />
 
160
                <Unit filename="..\..\src\render\rConsoleGraph.cpp" />
 
161
                <Unit filename="..\..\src\render\rDisplayList.cpp" />
 
162
                <Unit filename="..\..\src\render\rDisplayList.h" />
 
163
                <Unit filename="..\..\src\render\rFont.cpp" />
 
164
                <Unit filename="..\..\src\render\rFont.h" />
 
165
                <Unit filename="..\..\src\render\rGL.cpp" />
 
166
                <Unit filename="..\..\src\render\rGL.h" />
 
167
                <Unit filename="..\..\src\render\rGLRender.cpp" />
 
168
                <Unit filename="..\..\src\render\rModel.cpp" />
 
169
                <Unit filename="..\..\src\render\rModel.h" />
 
170
                <Unit filename="..\..\src\render\rRender.cpp" />
 
171
                <Unit filename="..\..\src\render\rRender.h" />
 
172
                <Unit filename="..\..\src\render\rSDL.h" />
 
173
                <Unit filename="..\..\src\render\rScreen.cpp" />
 
174
                <Unit filename="..\..\src\render\rScreen.h" />
 
175
                <Unit filename="..\..\src\render\rSysdep.cpp" />
 
176
                <Unit filename="..\..\src\render\rSysdep.h" />
 
177
                <Unit filename="..\..\src\render\rTexture.cpp" />
 
178
                <Unit filename="..\..\src\render\rTexture.h" />
 
179
                <Unit filename="..\..\src\render\rViewport.cpp" />
 
180
                <Unit filename="..\..\src\render\rViewport.h" />
 
181
                <Unit filename="..\..\src\tools\tArray.cpp" />
 
182
                <Unit filename="..\..\src\tools\tArray.h" />
 
183
                <Unit filename="..\..\src\tools\tCallback.cpp" />
 
184
                <Unit filename="..\..\src\tools\tCallback.h" />
 
185
                <Unit filename="..\..\src\tools\tCallbackString.h" />
 
186
                <Unit filename="..\..\src\tools\tColor.cpp" />
 
187
                <Unit filename="..\..\src\tools\tColor.h" />
 
188
                <Unit filename="..\..\src\tools\tCommandLine.cpp" />
 
189
                <Unit filename="..\..\src\tools\tCommandLine.h" />
 
190
                <Unit filename="..\..\src\tools\tConfiguration.cpp" />
 
191
                <Unit filename="..\..\src\tools\tConfiguration.h" />
 
192
                <Unit filename="..\..\src\tools\tConsole.cpp" />
 
193
                <Unit filename="..\..\src\tools\tConsole.h" />
 
194
                <Unit filename="..\..\src\tools\tCrypt.cpp" />
 
195
                <Unit filename="..\..\src\tools\tCrypt.h" />
 
196
                <Unit filename="..\..\src\tools\tDirectories.cpp" />
 
197
                <Unit filename="..\..\src\tools\tDirectories.h" />
 
198
                <Unit filename="..\..\src\tools\tError.cpp" />
 
199
                <Unit filename="..\..\src\tools\tError.h" />
 
200
                <Unit filename="..\..\src\tools\tEventQueue.cpp" />
 
201
                <Unit filename="..\..\src\tools\tEventQueue.h" />
 
202
                <Unit filename="..\..\src\tools\tException.cpp" />
 
203
                <Unit filename="..\..\src\tools\tException.h" />
 
204
                <Unit filename="..\..\src\tools\tHeap.cpp" />
 
205
                <Unit filename="..\..\src\tools\tHeap.h" />
 
206
                <Unit filename="..\..\src\tools\tInitExit.h" />
 
207
                <Unit filename="..\..\src\tools\tLinkedList.cpp" />
 
208
                <Unit filename="..\..\src\tools\tLinkedList.h" />
 
209
                <Unit filename="..\..\src\tools\tList.h" />
 
210
                <Unit filename="..\..\src\tools\tLocale.cpp" />
 
211
                <Unit filename="..\..\src\tools\tLocale.h" />
 
212
                <Unit filename="..\..\src\tools\tMath.h" />
 
213
                <Unit filename="..\..\src\tools\tMemManager.cpp" />
 
214
                <Unit filename="..\..\src\tools\tMemManager.h" />
 
215
                <Unit filename="..\..\src\tools\tMemStack.cpp" />
 
216
                <Unit filename="..\..\src\tools\tMemStack.h" />
 
217
                <Unit filename="..\..\src\tools\tRandom.cpp" />
 
218
                <Unit filename="..\..\src\tools\tRandom.h" />
 
219
                <Unit filename="..\..\src\tools\tRecorder.cpp" />
 
220
                <Unit filename="..\..\src\tools\tRecorder.h" />
 
221
                <Unit filename="..\..\src\tools\tRecorderInternal.cpp" />
 
222
                <Unit filename="..\..\src\tools\tRecorderInternal.h" />
 
223
                <Unit filename="..\..\src\tools\tReferenceHolder.h" />
 
224
                <Unit filename="..\..\src\tools\tResourceManager.cpp" />
 
225
                <Unit filename="..\..\src\tools\tResourceManager.h" />
 
226
                <Unit filename="..\..\src\tools\tRing.cpp" />
 
227
                <Unit filename="..\..\src\tools\tRing.h" />
 
228
                <Unit filename="..\..\src\tools\tSafePTR.cpp" />
 
229
                <Unit filename="..\..\src\tools\tSafePTR.h" />
 
230
                <Unit filename="..\..\src\tools\tString.cpp" />
 
231
                <Unit filename="..\..\src\tools\tString.h" />
 
232
                <Unit filename="..\..\src\tools\tSysTime.cpp" />
 
233
                <Unit filename="..\..\src\tools\tSysTime.h" />
 
234
                <Unit filename="..\..\src\tools\tToDo.cpp" />
 
235
                <Unit filename="..\..\src\tools\tToDo.h" />
 
236
                <Unit filename="..\..\src\tron\gAIBase.cpp" />
 
237
                <Unit filename="..\..\src\tron\gAIBase.h" />
 
238
                <Unit filename="..\..\src\tron\gAICharacter.cpp" />
 
239
                <Unit filename="..\..\src\tron\gAICharacter.h" />
 
240
                <Unit filename="..\..\src\tron\gArena.cpp" />
 
241
                <Unit filename="..\..\src\tron\gArena.h" />
 
242
                <Unit filename="..\..\src\tron\gArmagetron.cpp" />
 
243
                <Unit filename="..\..\src\tron\gCamera.cpp" />
 
244
                <Unit filename="..\..\src\tron\gCamera.h" />
 
245
                <Unit filename="..\..\src\tron\gCycle.cpp" />
 
246
                <Unit filename="..\..\src\tron\gCycle.h" />
 
247
                <Unit filename="..\..\src\tron\gCycleMovement.cpp" />
 
248
                <Unit filename="..\..\src\tron\gCycleMovement.h" />
 
249
                <Unit filename="..\..\src\tron\gExplosion.cpp" />
 
250
                <Unit filename="..\..\src\tron\gExplosion.h" />
 
251
                <Unit filename="..\..\src\tron\gFloor.cpp" />
 
252
                <Unit filename="..\..\src\tron\gFriends.cpp" />
 
253
                <Unit filename="..\..\src\tron\gFriends.h" />
 
254
                <Unit filename="..\..\src\tron\gGame.cpp" />
 
255
                <Unit filename="..\..\src\tron\gGame.h" />
 
256
                <Unit filename="..\..\src\tron\gHud.cpp" />
 
257
                <Unit filename="..\..\src\tron\gHud.h" />
 
258
                <Unit filename="..\..\src\tron\gLanguageMenu.cpp" />
 
259
                <Unit filename="..\..\src\tron\gLanguageMenu.h" />
 
260
                <Unit filename="..\..\src\tron\gLogo.cpp" />
 
261
                <Unit filename="..\..\src\tron\gLogo.h" />
 
262
                <Unit filename="..\..\src\tron\gMenus.cpp" />
 
263
                <Unit filename="..\..\src\tron\gMenus.h" />
 
264
                <Unit filename="..\..\src\tron\gParser.cpp" />
 
265
                <Unit filename="..\..\src\tron\gParser.h" />
 
266
                <Unit filename="..\..\src\tron\gRace.cpp" />
 
267
                <Unit filename="..\..\src\tron\gRace.h" />
 
268
                <Unit filename="..\..\src\tron\gRotation.cpp" />
 
269
                <Unit filename="..\..\src\tron\gRotation.h" />
 
270
                <Unit filename="..\..\src\tron\gSensor.cpp" />
 
271
                <Unit filename="..\..\src\tron\gSensor.h" />
 
272
                <Unit filename="..\..\src\tron\gServerBrowser.cpp" />
 
273
                <Unit filename="..\..\src\tron\gServerBrowser.h" />
 
274
                <Unit filename="..\..\src\tron\gServerFavorites.cpp" />
 
275
                <Unit filename="..\..\src\tron\gServerFavorites.h" />
 
276
                <Unit filename="..\..\src\tron\gSparks.cpp" />
 
277
                <Unit filename="..\..\src\tron\gSparks.h" />
 
278
                <Unit filename="..\..\src\tron\gSpawn.cpp" />
 
279
                <Unit filename="..\..\src\tron\gSpawn.h" />
 
280
                <Unit filename="..\..\src\tron\gStuff.cpp" />
 
281
                <Unit filename="..\..\src\tron\gStuff.h" />
 
282
                <Unit filename="..\..\src\tron\gSvgOutput.cpp" />
 
283
                <Unit filename="..\..\src\tron\gSvgOutput.h" />
 
284
                <Unit filename="..\..\src\tron\gTeam.cpp" />
 
285
                <Unit filename="..\..\src\tron\gTeam.h" />
 
286
                <Unit filename="..\..\src\tron\gWall.cpp" />
 
287
                <Unit filename="..\..\src\tron\gWall.h" />
 
288
                <Unit filename="..\..\src\tron\gZone.cpp" />
 
289
                <Unit filename="..\..\src\tron\gZone.h" />
 
290
                <Unit filename="..\..\src\ui\uInput.cpp" />
 
291
                <Unit filename="..\..\src\ui\uInput.h" />
 
292
                <Unit filename="..\..\src\ui\uInputQueue.cpp" />
 
293
                <Unit filename="..\..\src\ui\uInputQueue.h" />
 
294
                <Unit filename="..\..\src\ui\uMenu.cpp" />
 
295
                <Unit filename="..\..\src\ui\uMenu.h" />
 
296
                <Unit filename="..\..\src\win32\config.h" />
 
297
                <Unit filename="..\..\src\win32\dirent.c">
 
298
                        <Option compilerVar="CC" />
 
299
                </Unit>
 
300
                <Unit filename="..\..\..\debug\config\default.cfg" />
 
301
                <Unit filename="..\..\..\debug\config\settings.cfg" />
 
302
                <Unit filename="..\..\..\debug\config\settings_dedicated.cfg" />
 
303
                <Unit filename="..\..\..\debug\language\deutsch.txt" />
 
304
                <Unit filename="..\..\..\debug\language\new.txt" />
 
305
                <Unit filename="..\..\..\winlibs\SDL\src\main\win32\SDL_win32_main.c">
 
306
                        <Option compilerVar="CC" />
 
307
                </Unit>
 
308
                <Extensions>
 
309
                        <code_completion />
 
310
                        <envvars />
 
311
                        <debugger />
 
312
                </Extensions>
 
313
        </Project>
 
314
</CodeBlocks_project_file>