-
Notifications
You must be signed in to change notification settings - Fork 90
/
KaM_Remake.dpr
280 lines (256 loc) · 13.3 KB
/
KaM_Remake.dpr
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
program KaM_Remake;
{$I KaM_Remake.inc}
uses
//{$IFDEF WDC} FastMM4, {$ENDIF} //Can be used only in Delphi, not Lazarus
{$IFDEF USE_MAD_EXCEPT}
madExcept,
madLinkDisAsm,
madListHardware,
madListModules,
{$ENDIF}
{$IFDEF UNIX} cthreads, {$ENDIF} //Required for thread support on Unix/Linux
Forms,
{$IFDEF FPC} Interfaces, {$ENDIF}
KM_FormMain in 'src\KM_FormMain.pas' {FormMain},
KM_FormLoading in 'src\KM_FormLoading.pas' {FormLoading},
//KM_Achievements in 'KM_Achievements.pas',
KromOGLUtils in 'src\common\KromOGLUtils.pas',
KromUtils in 'src\common\KromUtils.pas',
ScriptValidatorResult in 'src\common\ScriptValidatorResult.pas',
KM_AI in 'src\ai\KM_AI.pas',
KM_AIArmyEvaluation in 'src\ai\KM_AIArmyEvaluation.pas',
KM_AIAttacks in 'src\ai\KM_AIAttacks.pas',
KM_AICityPlanner in 'src\ai\KM_AICityPlanner.pas',
KM_AIDefensePos in 'src\ai\KM_AIDefensePos.pas',
KM_AIInfluences in 'src\ai\KM_AIInfluences.pas',
KM_AIFields in 'src\ai\KM_AIFields.pas',
KM_AIGeneral in 'src\ai\KM_AIGeneral.pas',
KM_AIGoals in 'src\ai\KM_AIGoals.pas',
KM_AIMayor in 'src\ai\KM_AIMayor.pas',
KM_AIMayorBalance in 'src\ai\KM_AIMayorBalance.pas',
KM_AISetup in 'src\ai\KM_AISetup.pas',
KM_Alerts in 'src\KM_Alerts.pas',
KM_BinPacking in 'src\KM_BinPacking.pas',
KM_BuildList in 'src\KM_BuildList.pas',
KM_Campaigns in 'src\KM_Campaigns.pas',
KM_CommonClasses in 'src\KM_CommonClasses.pas',
KM_CommonTypes in 'src\KM_CommonTypes.pas',
KM_Controls in 'src\KM_Controls.pas',
KM_DedicatedServer in 'src\KM_DedicatedServer.pas',
KM_Defaults in 'src\KM_Defaults.pas',
{$IFDEF USE_MAD_EXCEPT}KM_Exceptions in 'src\KM_Exceptions.pas',{$ENDIF}
KM_FileIO in 'src\KM_FileIO.pas',
KM_FogOfWar in 'src\KM_FogOfWar.pas',
KM_Game in 'src\KM_Game.pas',
KM_GameApp in 'src\KM_GameApp.pas',
KM_GameCursor in 'src\KM_GameCursor.pas',
KM_GameInfo in 'src\KM_GameInfo.pas',
KM_GameOptions in 'src\KM_GameOptions.pas',
KM_GameInputProcess in 'src\KM_GameInputProcess.pas',
KM_GameInputProcess_Multi in 'src\KM_GameInputProcess_Multi.pas',
KM_GameInputProcess_Single in 'src\KM_GameInputProcess_Single.pas',
KM_GUIGameBuild in 'src\gui\pages_game\KM_GUIGameBuild.pas',
KM_GUIGameChat in 'src\gui\pages_game\KM_GUIGameChat.pas',
KM_GUIGameHouse in 'src\gui\pages_game\KM_GUIGameHouse.pas',
KM_GUIGameRatios in 'src\gui\pages_game\KM_GUIGameRatios.pas',
KM_GUIGameStats in 'src\gui\pages_game\KM_GUIGameStats.pas',
KM_GUIGameMenuSettings in 'src\gui\pages_game\KM_GUIGameMenuSettings.pas',
KM_GUIMapEdAttack in 'src\gui\pages_maped\KM_GUIMapEdAttack.pas',
KM_GUIMapEdExtras in 'src\gui\pages_maped\KM_GUIMapEdExtras.pas',
KM_GUIMapEdFormations in 'src\gui\pages_maped\KM_GUIMapEdFormations.pas',
KM_GUIMapEdGoal in 'src\gui\pages_maped\KM_GUIMapEdGoal.pas',
KM_GUIMapEdHouse in 'src\gui\pages_maped\KM_GUIMapEdHouse.pas',
KM_GUIMapEdMarkerDefence in 'src\gui\pages_maped\KM_GUIMapEdMarkerDefence.pas',
KM_GUIMapEdMarkerReveal in 'src\gui\pages_maped\KM_GUIMapEdMarkerReveal.pas',
KM_GUIMapEdMenu in 'src\gui\pages_maped\KM_GUIMapEdMenu.pas',
KM_GUIMapEdMenuLoad in 'src\gui\pages_maped\KM_GUIMapEdMenuLoad.pas',
KM_GUIMapEdMenuSave in 'src\gui\pages_maped\KM_GUIMapEdMenuSave.pas',
KM_GUIMapEdMenuQuit in 'src\gui\pages_maped\KM_GUIMapEdMenuQuit.pas',
KM_GUIMapEdMenuSettings in 'src\gui\pages_maped\KM_GUIMapEdMenuSettings.pas',
KM_GUIMapEdMessage in 'src\gui\pages_maped\KM_GUIMapEdMessage.pas',
KM_GUIMapEdPlayer in 'src\gui\pages_maped\KM_GUIMapEdPlayer.pas',
KM_GUIMapEdPlayerBlockHouse in 'src\gui\pages_maped\KM_GUIMapEdPlayerBlockHouse.pas',
KM_GUIMapEdPlayerBlockTrade in 'src\gui\pages_maped\KM_GUIMapEdPlayerBlockTrade.pas',
KM_GUIMapEdPlayerBlockUnit in 'src\gui\pages_maped\KM_GUIMapEdPlayerBlockUnit.pas',
KM_GUIMapEdPlayerColors in 'src\gui\pages_maped\KM_GUIMapEdPlayerColors.pas',
KM_GUIMapEdPlayerGoals in 'src\gui\pages_maped\KM_GUIMapEdPlayerGoals.pas',
KM_GUIMapEdPlayerView in 'src\gui\pages_maped\KM_GUIMapEdPlayerView.pas',
KM_GUIMapEdMission in 'src\gui\pages_maped\KM_GUIMapEdMission.pas',
KM_GUIMapEdMissionAlliances in 'src\gui\pages_maped\KM_GUIMapEdMissionAlliances.pas',
KM_GUIMapEdMissionMode in 'src\gui\pages_maped\KM_GUIMapEdMissionMode.pas',
KM_GUIMapEdMissionPlayers in 'src\gui\pages_maped\KM_GUIMapEdMissionPlayers.pas',
KM_GUIMapEdTerrain in 'src\gui\pages_maped\KM_GUIMapEdTerrain.pas',
KM_GUIMapEdTerrainBrushes in 'src\gui\pages_maped\KM_GUIMapEdTerrainBrushes.pas',
KM_GUIMapEdTerrainHeights in 'src\gui\pages_maped\KM_GUIMapEdTerrainHeights.pas',
KM_GUIMapEdTerrainTiles in 'src\gui\pages_maped\KM_GUIMapEdTerrainTiles.pas',
KM_GUIMapEdTerrainObjects in 'src\gui\pages_maped\KM_GUIMapEdTerrainObjects.pas',
KM_GUIMapEdTerrainSelection in 'src\gui\pages_maped\KM_GUIMapEdTerrainSelection.pas',
KM_GUIMapEdTown in 'src\gui\pages_maped\KM_GUIMapEdTown.pas',
KM_GUIMapEdTownUnits in 'src\gui\pages_maped\KM_GUIMapEdTownUnits.pas',
KM_GUIMapEdTownHouses in 'src\gui\pages_maped\KM_GUIMapEdTownHouses.pas',
KM_GUIMapEdTownScript in 'src\gui\pages_maped\KM_GUIMapEdTownScript.pas',
KM_GUIMapEdTownDefence in 'src\gui\pages_maped\KM_GUIMapEdTownDefence.pas',
KM_GUIMapEdTownOffence in 'src\gui\pages_maped\KM_GUIMapEdTownOffence.pas',
KM_GUIMapEdUnit in 'src\gui\pages_maped\KM_GUIMapEdUnit.pas',
KM_GUIMenuCampaign in 'src\gui\pages_menu\KM_GUIMenuCampaign.pas',
KM_GUIMenuCampaigns in 'src\gui\pages_menu\KM_GUIMenuCampaigns.pas',
KM_GUIMenuCredits in 'src\gui\pages_menu\KM_GUIMenuCredits.pas',
KM_GUIMenuError in 'src\gui\pages_menu\KM_GUIMenuError.pas',
KM_GUIMenuLoad in 'src\gui\pages_menu\KM_GUIMenuLoad.pas',
KM_GUIMenuLoading in 'src\gui\pages_menu\KM_GUIMenuLoading.pas',
KM_GUIMenuLobby in 'src\gui\pages_menu\KM_GUIMenuLobby.pas',
KM_GUIMenuMain in 'src\gui\pages_menu\KM_GUIMenuMain.pas',
KM_GUIMenuMapEditor in 'src\gui\pages_menu\KM_GUIMenuMapEditor.pas',
KM_GUIMenuMultiplayer in 'src\gui\pages_menu\KM_GUIMenuMultiplayer.pas',
KM_GUIMenuOptions in 'src\gui\pages_menu\KM_GUIMenuOptions.pas',
KM_GUIMenuReplays in 'src\gui\pages_menu\KM_GUIMenuReplays.pas',
KM_GUIMenuResultsMP in 'src\gui\pages_menu\KM_GUIMenuResultsMP.pas',
KM_GUIMenuResultsSP in 'src\gui\pages_menu\KM_GUIMenuResultsSP.pas',
KM_GUIMenuSingleMap in 'src\gui\pages_menu\KM_GUIMenuSingleMap.pas',
KM_GUIMenuSinglePlayer in 'src\gui\pages_menu\KM_GUIMenuSinglePlayer.pas',
KM_Hand in 'src\hands\KM_Hand.pas',
KM_HandsCollection in 'src\hands\KM_HandsCollection.pas',
KM_HandLocks in 'src\hands\KM_HandLocks.pas',
KM_HandLogistics in 'src\hands\KM_HandLogistics.pas',
KM_HandSpectator in 'src\hands\KM_HandSpectator.pas',
KM_HandStats in 'src\hands\KM_HandStats.pas',
KM_HouseBarracks in 'src\houses\KM_HouseBarracks.pas',
KM_HouseInn in 'src\houses\KM_HouseInn.pas',
KM_HouseCollection in 'src\houses\KM_HouseCollection.pas',
KM_HouseMarket in 'src\houses\KM_HouseMarket.pas',
KM_Houses in 'src\houses\KM_Houses.pas',
KM_HouseSchool in 'src\houses\KM_HouseSchool.pas',
KM_HTTPClient in 'src\KM_HTTPClient.pas',
{$IFDEF WDC} KM_HTTPClientOverbyte in 'src\KM_HTTPClientOverbyte.pas', {$ENDIF}
{$IFDEF FPC} KM_HTTPClientLNet in 'src\KM_HTTPClientLNet.pas', {$ENDIF}
KM_Hungarian in 'src\KM_Hungarian.pas',
KM_InterfaceDefaults in 'src\gui\KM_InterfaceDefaults.pas',
KM_InterfaceGame in 'src\gui\KM_InterfaceGame.pas',
KM_InterfaceGamePlay in 'src\gui\KM_InterfaceGamePlay.pas',
KM_InterfaceMainMenu in 'src\gui\KM_InterfaceMainMenu.pas',
KM_InterfaceMapEditor in 'src\gui\KM_InterfaceMapEditor.pas',
KM_Log in 'src\KM_Log.pas',
KM_Main in 'src\KM_Main.pas',
KM_Maps in 'src\KM_Maps.pas',
KM_MapEditor in 'src\KM_MapEditor.pas',
KM_MasterServer in 'src\KM_MasterServer.pas',
KM_MessageLog in 'src\KM_MessageLog.pas',
KM_MessageStack in 'src\KM_MessageStack.pas',
KM_Minimap in 'src\KM_Minimap.pas',
KM_MissionScript in 'src\KM_MissionScript.pas',
KM_MissionScript_Info in 'src\KM_MissionScript_Info.pas',
KM_MissionScript_Preview in 'src\KM_MissionScript_Preview.pas',
KM_MissionScript_Standard in 'src\KM_MissionScript_Standard.pas',
KM_Music in 'src\KM_Music.pas',
KM_NavMesh in 'src\KM_NavMesh.pas',
{$IFDEF USESECUREAUTH}
KM_NetAuthSecure in 'src\net\KM_NetAuthSecure.pas',
{$ELSE}
KM_NetAuthUnsecure in 'src\net\KM_NetAuthUnsecure.pas',
{$ENDIF}
KM_NetClient in 'src\net\KM_NetClient.pas',
{$IFDEF WDC} KM_NetClientOverbyte in 'src\net\KM_NetClientOverbyte.pas', {$ENDIF}
{$IFDEF FPC} KM_NetClientLNet in 'src\net\KM_NetClientLNet.pas', {$ENDIF}
KM_NetFileTransfer in 'src\net\KM_NetFileTransfer.pas',
KM_NetPlayersList in 'src\net\KM_NetPlayersList.pas',
KM_NetServer in 'src\net\KM_NetServer.pas',
{$IFDEF WDC} KM_NetServerOverbyte in 'src\net\KM_NetServerOverbyte.pas', {$ENDIF}
{$IFDEF FPC} KM_NetServerLNet in 'src\net\KM_NetServerLNet.pas', {$ENDIF}
KM_NetUDP in 'src\net\KM_NetUDP.pas',
{$IFDEF WDC} KM_NetUDPOverbyte in 'src\net\KM_NetUDPOverbyte.pas', {$ENDIF}
{$IFDEF FPC} KM_NetUDPLNet in 'src\net\KM_NetUDPLNet.pas', {$ENDIF}
KM_NetworkClasses in 'src\net\KM_NetworkClasses.pas',
KM_Networking in 'src\net\KM_Networking.pas',
KM_NetworkTypes in 'src\net\KM_NetworkTypes.pas',
KM_Outline in 'src\KM_Outline.pas',
KM_PathFinding in 'src\KM_PathFinding.pas',
KM_PathFindingAStarOld in 'src\KM_PathFindingAStarOld.pas',
KM_PathFindingAStarNew in 'src\KM_PathFindingAStarNew.pas',
KM_PathFindingJPS in 'src\KM_PathFindingJPS.pas',
KM_PathFindingRoad in 'src\KM_PathFindingRoad.pas',
KM_PerfLog in 'src\KM_PerfLog.pas',
KM_Pics in 'src\KM_Pics.pas',
KM_PNG in 'src\KM_PNG.pas',
KM_Points in 'src\KM_Points.pas',
KM_PolySimplify in 'src\KM_PolySimplify.pas',
KM_Projectiles in 'src\KM_Projectiles.pas',
KM_Render in 'src\render\KM_Render.pas',
KM_RenderAux in 'src\render\KM_RenderAux.pas',
KM_RenderControl in 'src\render\KM_RenderControl.pas',
KM_RenderPool in 'src\render\KM_RenderPool.pas',
KM_RenderTerrain in 'src\render\KM_RenderTerrain.pas',
KM_RenderUI in 'src\render\KM_RenderUI.pas',
KM_Resolutions in 'src\KM_Resolutions.pas',
KM_Resource in 'src\res\KM_Resource.pas',
KM_ResCursors in 'src\res\KM_ResCursors.pas',
KM_ResFonts in 'src\res\KM_ResFonts.pas',
KM_ResHouses in 'src\res\KM_ResHouses.pas',
KM_ResKeys in 'src\res\KM_ResKeys.pas',
KM_ResLocales in 'src\res\KM_ResLocales.pas',
KM_ResMapElements in 'src\res\KM_ResMapElements.pas',
KM_ResPalettes in 'src\res\KM_ResPalettes.pas',
KM_ResSound in 'src\res\KM_ResSound.pas',
KM_ResSprites in 'src\res\KM_ResSprites.pas',
KM_ResTexts in 'src\res\KM_ResTexts.pas',
KM_ResTileset in 'src\res\KM_ResTileset.pas',
KM_ResUnits in 'src\res\KM_ResUnits.pas',
KM_ResWares in 'src\res\KM_ResWares.pas',
KM_Saves in 'src\KM_Saves.pas',
KM_Scripting in 'src\scripting\KM_Scripting.pas',
KM_ScriptingActions in 'src\scripting\KM_ScriptingActions.pas',
KM_ScriptingEvents in 'src\scripting\KM_ScriptingEvents.pas',
KM_ScriptingIdCache in 'src\scripting\KM_ScriptingIdCache.pas',
KM_ScriptingStates in 'src\scripting\KM_ScriptingStates.pas',
KM_ScriptingUtils in 'src\scripting\KM_ScriptingUtils.pas',
KM_ServerQuery in 'src\KM_ServerQuery.pas',
KM_Settings in 'src\KM_Settings.pas',
KM_Sound in 'src\KM_Sound.pas',
KM_Terrain in 'src\terrain\KM_Terrain.pas',
KM_TerrainDeposits in 'src\terrain\KM_TerrainDeposits.pas',
KM_TerrainFinder in 'src\terrain\KM_TerrainFinder.pas',
KM_TerrainPainter in 'src\terrain\KM_TerrainPainter.pas',
KM_TerrainSelection in 'src\terrain\KM_TerrainSelection.pas',
KM_TerrainWalkConnect in 'src\terrain\KM_TerrainWalkConnect.pas',
KM_UnitActionAbandonWalk in 'src\units\KM_UnitActionAbandonWalk.pas',
KM_UnitActionFight in 'src\units\KM_UnitActionFight.pas',
KM_UnitActionGoInOut in 'src\units\KM_UnitActionGoInOut.pas',
KM_UnitActionStay in 'src\units\KM_UnitActionStay.pas',
KM_UnitActionSteer in 'src\units\KM_UnitActionSteer.pas',
KM_UnitActionStormAttack in 'src\units\KM_UnitActionStormAttack.pas',
KM_UnitActionWalkTo in 'src\units\KM_UnitActionWalkTo.pas',
KM_UnitGroups in 'src\units\KM_UnitGroups.pas',
KM_Units in 'src\units\KM_Units.pas',
KM_UnitsCollection in 'src\units\KM_UnitsCollection.pas',
KM_Units_Warrior in 'src\units\KM_Units_Warrior.pas',
KM_Units_WorkPlan in 'src\units\KM_Units_WorkPlan.pas',
KM_UnitTaskAttackHouse in 'src\units\KM_UnitTaskAttackHouse.pas',
KM_UnitTaskBuild in 'src\units\KM_UnitTaskBuild.pas',
KM_UnitTaskDelivery in 'src\units\KM_UnitTaskDelivery.pas',
KM_UnitTaskDie in 'src\units\KM_UnitTaskDie.pas',
KM_UnitTaskGoEat in 'src\units\KM_UnitTaskGoEat.pas',
KM_UnitTaskGoHome in 'src\units\KM_UnitTaskGoHome.pas',
KM_UnitTaskGoOutShowHungry in 'src\units\KM_UnitTaskGoOutShowHungry.pas',
KM_UnitTaskMining in 'src\units\KM_UnitTaskMining.pas',
KM_UnitTaskSelfTrain in 'src\units\KM_UnitTaskSelfTrain.pas',
KM_UnitTaskThrowRock in 'src\units\KM_UnitTaskThrowRock.pas',
KM_Utils in 'src\KM_Utils.pas',
KM_Viewport in 'src\KM_Viewport.pas',
KM_WareDistribution in 'src\KM_WareDistribution.pas';
{$IFDEF WDC}
{$R KaM_Remake_Icon.res KaM_Remake_Icon.rc} //Keeps the Icon
{$R KaM_Manifest.res KaM_Manifest.rc}
{$ENDIF}
{$IFDEF MSWindows}
{$IFDEF FPC}
{$R KaM_Remake_Icon.res}
{$R KaM_Manifest.res}
{$ENDIF}
{$ENDIF}
begin
Application.Initialize;
Application.Title := 'KaM Remake';
gMain := TKMMain.Create;
gMain.Start;
Application.Run;
gMain.Free; //Prevents memory leak of TKMMain showing up in FastMM
end.