author | unc0rr |
Sat, 09 Dec 2006 19:47:31 +0000 | |
changeset 293 | 00a532e8808e |
parent 285 | cdab49768c83 |
child 294 | 92a7ccd67bb9 |
permissions | -rw-r--r-- |
4 | 1 |
(* |
2 |
* Hedgewars, a worms-like game |
|
3 |
* Copyright (c) 2004, 2005 Andrey Korotaev <unC0Rr@gmail.com> |
|
4 |
* |
|
183 | 5 |
* This program is free software; you can redistribute it and/or modify |
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
4 | 8 |
* |
183 | 9 |
* This program is distributed in the hope that it will be useful, |
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
4 | 13 |
* |
183 | 14 |
* You should have received a copy of the GNU General Public License |
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
4 | 17 |
*) |
18 |
||
19 |
unit uConsts; |
|
20 |
interface |
|
80 | 21 |
uses SDLh, uLocale; |
4 | 22 |
{$INCLUDE options.inc} |
271 | 23 |
{$INCLUDE proto.inc} |
80 | 24 |
type TStuff = (sConsoleBG, sPowerBar, sQuestion, sWindBar, |
35 | 25 |
sWindL, sWindR, sRopeNode); |
282 | 26 |
|
4 | 27 |
TGameState = (gsLandGen, gsStart, gsGame, gsConsole, gsExit); |
282 | 28 |
|
155
401f4ea24715
Engine can generate land preview and send it via IPC
unc0rr
parents:
112
diff
changeset
|
29 |
TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview); |
282 | 30 |
|
80 | 31 |
TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
32 |
ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
|
161 | 33 |
ptLocale, ptAmmoMenu); |
282 | 34 |
|
4 | 35 |
TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame, |
36 |
sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO, |
|
10 | 37 |
sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff, |
78 | 38 |
sprMineOn, sprCase, sprFAid, sprDynamite, sprPower, |
80 | 39 |
sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont, |
161 | 40 |
sprSky, sprAMBorders, sprAMSlot, sprAMSlotName, sprAMAmmos, |
283 | 41 |
sprAMSlotKeys, sprAMSelection, sprFinger, sprAirBomb, |
42 |
sprAirplane); |
|
282 | 43 |
|
4 | 44 |
TGearType = (gtCloud, gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, |
83 | 45 |
gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, |
49 | 46 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, |
82 | 47 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, |
211 | 48 |
gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, |
263 | 49 |
gtParachute, gtAirAttack, gtAirBomb); |
282 | 50 |
|
16 | 51 |
TGearsType = set of TGearType; |
282 | 52 |
|
53 |
TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, |
|
54 |
sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact, |
|
55 |
sndMineTick, sndPickhammer); |
|
56 |
||
82 | 57 |
TAmmoType = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer, |
58 |
amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, |
|
285 | 59 |
amBaseballBat, amParachute, amAirAttack, amMineStrike); |
282 | 60 |
|
4 | 61 |
THWFont = (fnt16, fntBig); |
282 | 62 |
|
174 | 63 |
TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume); |
282 | 64 |
|
4 | 65 |
THHFont = record |
66 |
Handle: PTTF_Font; |
|
67 |
Height: integer; |
|
202 | 68 |
style: integer; |
4 | 69 |
Name: string[15]; |
70 |
end; |
|
282 | 71 |
|
4 | 72 |
TAmmo = record |
73 |
Propz: LongWord; |
|
74 |
Count: LongWord; |
|
75 |
NumPerTurn: LongWord; |
|
76 |
Timer: LongWord; |
|
77 |
AmmoType: TAmmoType; |
|
78 |
end; |
|
79 |
||
80 |
||
105 | 81 |
const |
43 | 82 |
errmsgCreateSurface = 'Error creating SDL surface'; |
4 | 83 |
errmsgTransparentSet = 'Error setting transparent color'; |
84 |
errmsgUnknownCommand = 'Unknown command'; |
|
85 |
errmsgUnknownVariable = 'Unknown variable'; |
|
86 |
errmsgIncorrectUse = 'Incorrect use'; |
|
87 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
88 |
||
89 |
msgLoading = 'Loading '; |
|
90 |
msgOK = 'ok'; |
|
91 |
msgFailed = 'failed'; |
|
92 |
msgGettingConfig = 'Getting game config...'; |
|
93 |
||
94 |
const |
|
74 | 95 |
MAXNAMELEN = 32; |
96 |
||
64 | 97 |
COLOR_LAND = $00FFFFFF; |
98 |
||
55
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
99 |
cifRandomize = $00000001; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
100 |
cifTheme = $00000002; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
101 |
cifMap = $00000002; // either theme or map (or map+theme) |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
102 |
cifAllInited = cifRandomize or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
103 |
cifTheme or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
104 |
cifMap; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
105 |
|
188 | 106 |
cTransparentColor: Longword = $000000; |
4 | 107 |
|
109 | 108 |
cMaxHHIndex = 7; |
22 | 109 |
cMaxHHs = 20; |
53 | 110 |
cMaxSpawnPoints = 1024; |
4 | 111 |
cHHSurfaceWidth = 512; |
70 | 112 |
// cHHSurfaceHeigth = 256; |
4 | 113 |
|
22 | 114 |
cMaxEdgePoints = 16384; |
115 |
||
53 | 116 |
cHHRadius = 9; |
70 | 117 |
cHHStepTicks = 38; |
4 | 118 |
|
109 | 119 |
cKeyMaxIndex = 1023; |
4 | 120 |
|
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
121 |
cMaxCaptions = 4; |
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
122 |
|
4 | 123 |
cInactDelay = 1500; |
124 |
||
125 |
gfForts = $00000001; |
|
126 |
||
127 |
gstDrowning = $00000001; |
|
128 |
gstHHDriven = $00000002; |
|
129 |
gstMoving = $00000004; |
|
130 |
gstAttacked = $00000008; |
|
131 |
gstAttacking = $00000010; |
|
132 |
gstCollision = $00000020; |
|
133 |
gstHHChooseTarget = $00000040; |
|
134 |
gstFalling = $00000080; |
|
135 |
gstHHJumping = $00000100; |
|
136 |
gsttmpFlag = $00000200; |
|
137 |
gstHHThinking = $00000800; |
|
79 | 138 |
gstNoDamage = $00001000; |
4 | 139 |
|
140 |
gm_Left = $00000001; |
|
141 |
gm_Right = $00000002; |
|
142 |
gm_Up = $00000004; |
|
143 |
gm_Down = $00000008; |
|
144 |
gm_Switch = $00000010; |
|
145 |
gm_Attack = $00000020; |
|
146 |
gm_LJump = $00000040; |
|
147 |
gm_HJump = $00000080; |
|
148 |
gm_Destroy= $00000100; |
|
149 |
||
263 | 150 |
cMaxSlotIndex = 8; |
10 | 151 |
cMaxSlotAmmoIndex = 1; |
4 | 152 |
|
153 |
ammoprop_Timerable = $00000001; |
|
154 |
ammoprop_Power = $00000002; |
|
155 |
ammoprop_NeedTarget = $00000004; |
|
156 |
ammoprop_ForwMsgs = $00000008; |
|
157 |
ammoprop_AttackInFall = $00000010; |
|
158 |
ammoprop_AttackInJump = $00000020; |
|
13 | 159 |
ammoprop_NoCrosshair = $00000040; |
263 | 160 |
ammoprop_AttackingPut = $00000080; |
4 | 161 |
AMMO_INFINITE = High(LongWord); |
162 |
||
42 | 163 |
EXPLAllDamageInRadius = $00000001; |
164 |
EXPLAutoSound = $00000002; |
|
165 |
EXPLNoDamage = $00000004; |
|
166 |
EXPLDoNotTouchHH = $00000008; |
|
167 |
||
168 |
posCaseAmmo = $00000001; |
|
169 |
posCaseHealth = $00000002; |
|
4 | 170 |
|
79 | 171 |
NoPointX = Low(Integer); |
4 | 172 |
|
74 | 173 |
cHHFileName = 'Hedgehog'; |
174 |
cCHFileName = 'Crosshair'; |
|
4 | 175 |
cThemeCFGFilename = 'theme.cfg'; |
176 |
||
177 |
Fontz: array[THWFont] of THHFont = ( |
|
178 |
(Height: 12; |
|
202 | 179 |
style: TTF_STYLE_NORMAL; |
74 | 180 |
Name: 'DejaVuSans.ttf'), |
4 | 181 |
(Height: 24; |
202 | 182 |
style: TTF_STYLE_NORMAL; |
74 | 183 |
Name: 'DejaVuSans.ttf') |
4 | 184 |
); |
185 |
||
202 | 186 |
FontBorder = 2; |
187 |
||
99 | 188 |
PathPrefix: string = './'; |
189 |
Pathz: array[TPathType] of string = ( |
|
80 | 190 |
'', // ptNone |
267 | 191 |
'', // ptData |
192 |
'Graphics', // ptGraphics |
|
193 |
'Themes', // ptThemes |
|
194 |
'Themes/avematan', // ptCurrTheme |
|
195 |
'Teams', // ptTeams |
|
196 |
'Maps', // ptMaps |
|
53 | 197 |
'', // ptMapCurrent |
267 | 198 |
'Demos', // ptDemos |
199 |
'Sounds', // ptSounds |
|
200 |
'Graphics/Graves', // ptGraves |
|
201 |
'Fonts', // ptFonts |
|
202 |
'Forts', // ptForts |
|
203 |
'Locale', // ptLocale |
|
204 |
'Graphics/AmmoMenu' // ptAmmoMenu |
|
4 | 205 |
); |
206 |
||
207 |
StuffLoadData: array[TStuff] of record |
|
208 |
FileName: String[31]; |
|
209 |
Path : TPathType; |
|
210 |
end = ( |
|
74 | 211 |
(FileName: 'Console'; Path: ptGraphics ), // sConsoleBG |
212 |
(FileName: 'PowerBar'; Path: ptGraphics ), // sPowerBar |
|
213 |
(FileName: 'thinking'; Path: ptGraphics ), // sQuestion |
|
214 |
(FileName: 'WindBar'; Path: ptGraphics ), // sWindBar |
|
215 |
(FileName: 'WindL'; Path: ptGraphics ), // sWindL |
|
216 |
(FileName: 'WindR'; Path: ptGraphics ), // sWindR |
|
217 |
(FileName: 'RopeNode'; Path: ptGraphics ) // sRopeNode |
|
4 | 218 |
); |
219 |
StuffPoz: array[TStuff] of TSDL_Rect = ( |
|
220 |
(x: 256; y: 256; w: 256; h: 256), // sConsoleBG |
|
221 |
(x: 256; y: 768; w: 256; h: 32), // sPowerBar |
|
5 | 222 |
(x: 256; y: 512; w: 32; h: 32), // sQuestion |
223 |
(x: 256; y: 800; w: 151; h: 17), // sWindBar |
|
224 |
(x: 256; y: 817; w: 80; h: 13), // sWindL |
|
35 | 225 |
(x: 336; y: 817; w: 80; h: 13), // sWindR |
226 |
(x: 256; y: 544; w: 6; h: 6) // sRopeNode |
|
4 | 227 |
); |
228 |
SpritesData: array[TSprite] of record |
|
35 | 229 |
FileName: String[31]; |
80 | 230 |
Path, AltPath: TPathType; |
35 | 231 |
Surface : PSDL_Surface; |
232 |
Width, Height: integer; |
|
233 |
hasAlpha: boolean; |
|
234 |
end = ( |
|
74 | 235 |
(FileName: 'BlueWater'; Path: ptGraphics; Width: 256; Height: 48; hasAlpha: false),// sprWater |
80 | 236 |
(FileName: 'Clouds'; Path: ptCurrTheme; |
237 |
AltPath: ptGraphics; Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
74 | 238 |
(FileName: 'Bomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprBomb |
239 |
(FileName: 'BigDigits'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
240 |
(FileName: 'Frame'; Path: ptGraphics; Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
241 |
(FileName: 'Lag'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprLag |
|
242 |
(FileName: 'Arrow'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
243 |
(FileName: 'Grenade'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
244 |
(FileName: 'Targetp'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
245 |
(FileName: 'UFO'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
246 |
(FileName:'SmokeTrace'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
247 |
(FileName: 'RopeHook'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
248 |
(FileName: 'Expl50'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
249 |
(FileName: 'MineOff'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
250 |
(FileName: 'MineOn'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
251 |
(FileName: 'Case'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
75 | 252 |
(FileName: 'FirstAid'; Path: ptGraphics; Width: 48; Height: 48; hasAlpha: false),// sprFAid |
74 | 253 |
(FileName: 'dynamite'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
78 | 254 |
(FileName: 'Power'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprPower |
255 |
(FileName: 'ClBomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
79 | 256 |
(FileName:'ClParticle'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
80 | 257 |
(FileName: 'Flame'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprFlame |
258 |
(FileName: 'horizont'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
161 | 259 |
(FileName: 'Sky'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false),// sprSky |
260 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; Width: 202; Height: 1; hasAlpha: false),// sprAMBorders |
|
261 |
(FileName: 'Slot'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlot |
|
262 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName |
|
263 |
(FileName: 'Ammos'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMAmmos |
|
162 | 264 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMSlotKeys |
176 | 265 |
(FileName: 'Selection'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMSelection |
263 | 266 |
(FileName: 'Finger'; Path: ptGraphics; Width: 32; Height: 48; hasAlpha: false),// sprFinger |
283 | 267 |
(FileName: 'AirBomb'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprAirBomb |
268 |
(FileName: 'Airplane'; Path: ptGraphics; Width: 125; Height: 42; hasAlpha: false) // sprAirplane |
|
35 | 269 |
); |
4 | 270 |
Soundz: array[TSound] of record |
271 |
FileName: String[31]; |
|
272 |
Path : TPathType; |
|
273 |
id : PMixChunk; |
|
282 | 274 |
lastChan: LongInt; |
4 | 275 |
end = ( |
276 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds ),// sndGrenadeImpact |
|
277 |
(FileName: 'explosion.ogg'; Path: ptSounds ),// sndExplosion |
|
278 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds ),// sndThrowPowerUp |
|
279 |
(FileName: 'throwrelease.ogg'; Path: ptSounds ),// sndThrowRelease |
|
280 |
(FileName: 'splash.ogg'; Path: ptSounds ),// sndSplash |
|
281 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds ),// sndShotgunReload |
|
282 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds ),// sndShotgunFire |
|
13 | 283 |
(FileName: 'graveimpact.ogg'; Path: ptSounds ),// sndGraveImpact |
282 | 284 |
(FileName: 'minetick.ogg'; Path: ptSounds ),// sndMineTicks |
285 |
(FileName: 'pickhammer.ogg'; Path: ptSounds ) // sndPickhammer |
|
4 | 286 |
); |
287 |
||
288 |
Ammoz: array [TAmmoType] of record |
|
80 | 289 |
NameId: TAmmoStrId; |
4 | 290 |
Ammo: TAmmo; |
112 | 291 |
Slot: 0..cMaxSlotIndex; |
4 | 292 |
TimeAfterTurn: Longword; |
293 |
end = ( |
|
80 | 294 |
(NameId: sidGrenade; |
263 | 295 |
Ammo: (Propz: ammoprop_Timerable or |
296 |
ammoprop_Power; |
|
4 | 297 |
Count: AMMO_INFINITE; |
298 |
NumPerTurn: 0; |
|
299 |
Timer: 3000; |
|
300 |
AmmoType: amGrenade); |
|
10 | 301 |
Slot: 1; |
4 | 302 |
TimeAfterTurn: 3000), |
80 | 303 |
(NameId: sidClusterBomb; |
263 | 304 |
Ammo: (Propz: ammoprop_Timerable or |
305 |
ammoprop_Power; |
|
78 | 306 |
Count: 5; |
307 |
NumPerTurn: 0; |
|
308 |
Timer: 3000; |
|
309 |
AmmoType: amClusterBomb); |
|
310 |
Slot: 1; |
|
311 |
TimeAfterTurn: 3000), |
|
80 | 312 |
(NameId: sidBazooka; |
4 | 313 |
Ammo: (Propz: ammoprop_Power; |
314 |
Count: AMMO_INFINITE; |
|
315 |
NumPerTurn: 0; |
|
316 |
Timer: 0; |
|
317 |
AmmoType: amBazooka); |
|
10 | 318 |
Slot: 0; |
4 | 319 |
TimeAfterTurn: 3000), |
80 | 320 |
(NameId: sidUFO; |
263 | 321 |
Ammo: (Propz: ammoprop_Power or |
322 |
ammoprop_NeedTarget; |
|
56 | 323 |
Count: 2; |
4 | 324 |
NumPerTurn: 0; |
325 |
Timer: 0; |
|
326 |
AmmoType: amUFO); |
|
327 |
Slot: 0; |
|
328 |
TimeAfterTurn: 3000), |
|
80 | 329 |
(NameId: sidShotgun; |
95 | 330 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 331 |
Count: AMMO_INFINITE; |
332 |
NumPerTurn: 1; |
|
333 |
Timer: 0; |
|
334 |
AmmoType: amShotgun); |
|
335 |
Slot: 2; |
|
336 |
TimeAfterTurn: 3000), |
|
80 | 337 |
(NameId: sidPickHammer; |
263 | 338 |
Ammo: (Propz: ammoprop_ForwMsgs or |
339 |
ammoprop_AttackInFall or |
|
340 |
ammoprop_AttackInJump or |
|
341 |
ammoprop_NoCrosshair; |
|
4 | 342 |
Count: 2; |
343 |
NumPerTurn: 0; |
|
344 |
Timer: 0; |
|
345 |
AmmoType: amPickHammer); |
|
263 | 346 |
Slot: 6; |
4 | 347 |
TimeAfterTurn: 0), |
80 | 348 |
(NameId: sidSkip; |
4 | 349 |
Ammo: (Propz: 0; |
350 |
Count: AMMO_INFINITE; |
|
351 |
NumPerTurn: 0; |
|
352 |
Timer: 0; |
|
353 |
AmmoType: amSkip); |
|
263 | 354 |
Slot: 8; |
4 | 355 |
TimeAfterTurn: 0), |
80 | 356 |
(NameId: sidRope; |
263 | 357 |
Ammo: (Propz: ammoprop_ForwMsgs or |
358 |
ammoprop_AttackInFall or |
|
359 |
ammoprop_AttackInJump; |
|
4 | 360 |
Count: 5; |
361 |
NumPerTurn: 0; |
|
362 |
Timer: 0; |
|
363 |
AmmoType: amRope); |
|
263 | 364 |
Slot: 7; |
10 | 365 |
TimeAfterTurn: 0), |
80 | 366 |
(NameId: sidMine; |
13 | 367 |
Ammo: (Propz: ammoprop_NoCrosshair; |
56 | 368 |
Count: 2; |
10 | 369 |
NumPerTurn: 0; |
370 |
Timer: 0; |
|
371 |
AmmoType: amMine); |
|
79 | 372 |
Slot: 4; |
373 |
TimeAfterTurn: 5000), |
|
80 | 374 |
(NameId: sidDEagle; |
37 | 375 |
Ammo: (Propz: 0; |
75 | 376 |
Count: 3; |
37 | 377 |
NumPerTurn: 3; |
378 |
Timer: 0; |
|
379 |
AmmoType: amDEagle); |
|
380 |
Slot: 2; |
|
39 | 381 |
TimeAfterTurn: 3000), |
80 | 382 |
(NameId: sidDynamite; |
263 | 383 |
Ammo: (Propz: ammoprop_NoCrosshair or |
384 |
ammoprop_AttackInJump or |
|
385 |
ammoprop_AttackInFall; |
|
56 | 386 |
Count: 1; |
39 | 387 |
NumPerTurn: 0; |
388 |
Timer: 0; |
|
389 |
AmmoType: amDynamite); |
|
79 | 390 |
Slot: 4; |
391 |
TimeAfterTurn: 5000), |
|
82 | 392 |
(NameId: sidFirePunch; |
263 | 393 |
Ammo: (Propz: ammoprop_NoCrosshair or |
394 |
ammoprop_ForwMsgs or |
|
395 |
ammoprop_AttackInJump or |
|
396 |
ammoprop_AttackInFall; |
|
82 | 397 |
Count: AMMO_INFINITE; |
398 |
NumPerTurn: 0; |
|
399 |
Timer: 0; |
|
400 |
AmmoType: amFirePunch); |
|
401 |
Slot: 3; |
|
402 |
TimeAfterTurn: 3000), |
|
80 | 403 |
(NameId: sidBaseballBat; |
79 | 404 |
Ammo: (Propz: 0; |
405 |
Count: 1; |
|
406 |
NumPerTurn: 0; |
|
407 |
Timer: 0; |
|
408 |
AmmoType: amBaseballBat); |
|
39 | 409 |
Slot: 3; |
211 | 410 |
TimeAfterTurn: 5000), |
411 |
(NameId: sidParachute; |
|
263 | 412 |
Ammo: (Propz: ammoprop_ForwMsgs or |
413 |
ammoprop_AttackInJump or |
|
414 |
ammoprop_AttackInFall; |
|
211 | 415 |
Count: 2; |
416 |
NumPerTurn: 0; |
|
417 |
Timer: 0; |
|
418 |
AmmoType: amParachute); |
|
263 | 419 |
Slot: 7; |
420 |
TimeAfterTurn: 0), |
|
421 |
(NameId: sidAirAttack; |
|
422 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
423 |
ammoprop_NeedTarget or |
|
424 |
ammoprop_AttackingPut; |
|
285 | 425 |
Count: 1; |
263 | 426 |
NumPerTurn: 0; |
427 |
Timer: 0; |
|
428 |
AmmoType: amAirAttack); |
|
429 |
Slot: 5; |
|
285 | 430 |
TimeAfterTurn: 0), |
431 |
(NameId: sidMineStrike; |
|
432 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
433 |
ammoprop_NeedTarget or |
|
434 |
ammoprop_AttackingPut; |
|
435 |
Count: 1; |
|
436 |
NumPerTurn: 0; |
|
437 |
Timer: 0; |
|
438 |
AmmoType: amMineStrike); |
|
439 |
Slot: 5; |
|
211 | 440 |
TimeAfterTurn: 0)); |
37 | 441 |
|
4 | 442 |
implementation |
443 |
||
444 |
end. |