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