author | displacer |
Sat, 18 Nov 2006 23:48:24 +0000 | |
changeset 249 | ff85fa029541 |
parent 211 | 558476056205 |
child 263 | 36379e6abcdd |
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, |
176 | 36 |
sprAMSlotKeys, sprAMSelection, sprFinger); |
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, |
42 |
gtParachute); |
|
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, |
|
211 | 48 |
amBaseballBat, amParachute); |
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 |
|
80 |
cNetProtoVersion = 1; |
|
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 |
||
79 | 137 |
cMaxSlotIndex = 7; |
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; |
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 |
53 | 177 |
'Data', // ptData |
178 |
'Data/Graphics', // ptGraphics |
|
179 |
'Data/Themes', // ptThemes |
|
80 | 180 |
'Data/Themes/avematan', // ptCurrTheme |
53 | 181 |
'Data/Teams', // ptTeams |
182 |
'Data/Maps', // ptMaps |
|
183 |
'', // ptMapCurrent |
|
184 |
'Data/Demos', // ptDemos |
|
185 |
'Data/Sounds', // ptSounds |
|
186 |
'Data/Graphics/Graves', // ptGraves |
|
187 |
'Data/Fonts', // ptFonts |
|
80 | 188 |
'Data/Forts', // ptForts |
161 | 189 |
'Data/Locale', // ptLocale |
190 |
'Data/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 |
252 |
(FileName: 'Finger'; Path: ptGraphics; Width: 32; Height: 48; hasAlpha: false) // sprFinger |
|
35 | 253 |
); |
4 | 254 |
Soundz: array[TSound] of record |
255 |
FileName: String[31]; |
|
256 |
Path : TPathType; |
|
257 |
id : PMixChunk; |
|
258 |
end = ( |
|
259 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds ),// sndGrenadeImpact |
|
260 |
(FileName: 'explosion.ogg'; Path: ptSounds ),// sndExplosion |
|
261 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds ),// sndThrowPowerUp |
|
262 |
(FileName: 'throwrelease.ogg'; Path: ptSounds ),// sndThrowRelease |
|
263 |
(FileName: 'splash.ogg'; Path: ptSounds ),// sndSplash |
|
264 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds ),// sndShotgunReload |
|
265 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds ),// sndShotgunFire |
|
13 | 266 |
(FileName: 'graveimpact.ogg'; Path: ptSounds ),// sndGraveImpact |
267 |
(FileName: 'minetick.ogg'; Path: ptSounds ) // sndMineTicks |
|
4 | 268 |
); |
269 |
||
270 |
Ammoz: array [TAmmoType] of record |
|
80 | 271 |
NameId: TAmmoStrId; |
4 | 272 |
Ammo: TAmmo; |
112 | 273 |
Slot: 0..cMaxSlotIndex; |
4 | 274 |
TimeAfterTurn: Longword; |
275 |
end = ( |
|
80 | 276 |
(NameId: sidGrenade; |
4 | 277 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power; |
278 |
Count: AMMO_INFINITE; |
|
279 |
NumPerTurn: 0; |
|
280 |
Timer: 3000; |
|
281 |
AmmoType: amGrenade); |
|
10 | 282 |
Slot: 1; |
4 | 283 |
TimeAfterTurn: 3000), |
80 | 284 |
(NameId: sidClusterBomb; |
78 | 285 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power; |
286 |
Count: 5; |
|
287 |
NumPerTurn: 0; |
|
288 |
Timer: 3000; |
|
289 |
AmmoType: amClusterBomb); |
|
290 |
Slot: 1; |
|
291 |
TimeAfterTurn: 3000), |
|
80 | 292 |
(NameId: sidBazooka; |
4 | 293 |
Ammo: (Propz: ammoprop_Power; |
294 |
Count: AMMO_INFINITE; |
|
295 |
NumPerTurn: 0; |
|
296 |
Timer: 0; |
|
297 |
AmmoType: amBazooka); |
|
10 | 298 |
Slot: 0; |
4 | 299 |
TimeAfterTurn: 3000), |
80 | 300 |
(NameId: sidUFO; |
4 | 301 |
Ammo: (Propz: ammoprop_Power or ammoprop_NeedTarget; |
56 | 302 |
Count: 2; |
4 | 303 |
NumPerTurn: 0; |
304 |
Timer: 0; |
|
305 |
AmmoType: amUFO); |
|
306 |
Slot: 0; |
|
307 |
TimeAfterTurn: 3000), |
|
80 | 308 |
(NameId: sidShotgun; |
95 | 309 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 310 |
Count: AMMO_INFINITE; |
311 |
NumPerTurn: 1; |
|
312 |
Timer: 0; |
|
313 |
AmmoType: amShotgun); |
|
314 |
Slot: 2; |
|
315 |
TimeAfterTurn: 3000), |
|
80 | 316 |
(NameId: sidPickHammer; |
4 | 317 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump; |
318 |
Count: 2; |
|
319 |
NumPerTurn: 0; |
|
320 |
Timer: 0; |
|
321 |
AmmoType: amPickHammer); |
|
79 | 322 |
Slot: 5; |
4 | 323 |
TimeAfterTurn: 0), |
80 | 324 |
(NameId: sidSkip; |
4 | 325 |
Ammo: (Propz: 0; |
326 |
Count: AMMO_INFINITE; |
|
327 |
NumPerTurn: 0; |
|
328 |
Timer: 0; |
|
329 |
AmmoType: amSkip); |
|
79 | 330 |
Slot: 7; |
4 | 331 |
TimeAfterTurn: 0), |
80 | 332 |
(NameId: sidRope; |
4 | 333 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump; |
334 |
Count: 5; |
|
335 |
NumPerTurn: 0; |
|
336 |
Timer: 0; |
|
337 |
AmmoType: amRope); |
|
79 | 338 |
Slot: 6; |
10 | 339 |
TimeAfterTurn: 0), |
80 | 340 |
(NameId: sidMine; |
13 | 341 |
Ammo: (Propz: ammoprop_NoCrosshair; |
56 | 342 |
Count: 2; |
10 | 343 |
NumPerTurn: 0; |
344 |
Timer: 0; |
|
345 |
AmmoType: amMine); |
|
79 | 346 |
Slot: 4; |
347 |
TimeAfterTurn: 5000), |
|
80 | 348 |
(NameId: sidDEagle; |
37 | 349 |
Ammo: (Propz: 0; |
75 | 350 |
Count: 3; |
37 | 351 |
NumPerTurn: 3; |
352 |
Timer: 0; |
|
353 |
AmmoType: amDEagle); |
|
354 |
Slot: 2; |
|
39 | 355 |
TimeAfterTurn: 3000), |
80 | 356 |
(NameId: sidDynamite; |
39 | 357 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_AttackInJump or ammoprop_AttackInFall; |
56 | 358 |
Count: 1; |
39 | 359 |
NumPerTurn: 0; |
360 |
Timer: 0; |
|
361 |
AmmoType: amDynamite); |
|
79 | 362 |
Slot: 4; |
363 |
TimeAfterTurn: 5000), |
|
82 | 364 |
(NameId: sidFirePunch; |
365 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_ForwMsgs or ammoprop_AttackInJump or ammoprop_AttackInFall; |
|
366 |
Count: AMMO_INFINITE; |
|
367 |
NumPerTurn: 0; |
|
368 |
Timer: 0; |
|
369 |
AmmoType: amFirePunch); |
|
370 |
Slot: 3; |
|
371 |
TimeAfterTurn: 3000), |
|
80 | 372 |
(NameId: sidBaseballBat; |
79 | 373 |
Ammo: (Propz: 0; |
374 |
Count: 1; |
|
375 |
NumPerTurn: 0; |
|
376 |
Timer: 0; |
|
377 |
AmmoType: amBaseballBat); |
|
39 | 378 |
Slot: 3; |
211 | 379 |
TimeAfterTurn: 5000), |
380 |
(NameId: sidParachute; |
|
381 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInJump or ammoprop_AttackInFall; |
|
382 |
Count: 2; |
|
383 |
NumPerTurn: 0; |
|
384 |
Timer: 0; |
|
385 |
AmmoType: amParachute); |
|
386 |
Slot: 6; |
|
387 |
TimeAfterTurn: 0)); |
|
37 | 388 |
|
4 | 389 |
implementation |
390 |
||
391 |
end. |