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