author | unc0rr |
Fri, 18 Aug 2006 21:02:11 +0000 | |
changeset 119 | 665c07365cb6 |
parent 112 | ca5f06017e99 |
child 155 | 401f4ea24715 |
permissions | -rw-r--r-- |
4 | 1 |
(* |
2 |
* Hedgewars, a worms-like game |
|
3 |
* Copyright (c) 2004, 2005 Andrey Korotaev <unC0Rr@gmail.com> |
|
4 |
* |
|
5 |
* Distributed under the terms of the BSD-modified licence: |
|
6 |
* |
|
7 |
* Permission is hereby granted, free of charge, to any person obtaining a copy |
|
8 |
* of this software and associated documentation files (the "Software"), to deal |
|
9 |
* with the Software without restriction, including without limitation the |
|
10 |
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
11 |
* sell copies of the Software, and to permit persons to whom the Software is |
|
12 |
* furnished to do so, subject to the following conditions: |
|
13 |
* |
|
14 |
* 1. Redistributions of source code must retain the above copyright notice, |
|
15 |
* this list of conditions and the following disclaimer. |
|
16 |
* 2. Redistributions in binary form must reproduce the above copyright notice, |
|
17 |
* this list of conditions and the following disclaimer in the documentation |
|
18 |
* and/or other materials provided with the distribution. |
|
19 |
* 3. The name of the author may not be used to endorse or promote products |
|
20 |
* derived from this software without specific prior written permission. |
|
21 |
* |
|
22 |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED |
|
23 |
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
|
24 |
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
|
25 |
* EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
26 |
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
|
27 |
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
|
28 |
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
|
29 |
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
|
30 |
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
|
31 |
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
32 |
*) |
|
33 |
||
34 |
unit uConsts; |
|
35 |
interface |
|
80 | 36 |
uses SDLh, uLocale; |
4 | 37 |
{$INCLUDE options.inc} |
80 | 38 |
type TStuff = (sConsoleBG, sPowerBar, sQuestion, sWindBar, |
35 | 39 |
sWindL, sWindR, sRopeNode); |
4 | 40 |
TGameState = (gsLandGen, gsStart, gsGame, gsConsole, gsExit); |
72 | 41 |
TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave); |
80 | 42 |
TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
43 |
ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
|
44 |
ptLocale); |
|
4 | 45 |
TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame, |
46 |
sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO, |
|
10 | 47 |
sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff, |
78 | 48 |
sprMineOn, sprCase, sprFAid, sprDynamite, sprPower, |
80 | 49 |
sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont, |
50 |
sprSky); |
|
4 | 51 |
TGearType = (gtCloud, gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, |
83 | 52 |
gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, |
49 | 53 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, |
82 | 54 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, |
83 | 55 |
gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame); |
16 | 56 |
TGearsType = set of TGearType; |
4 | 57 |
TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, sndSplash, |
13 | 58 |
sndShotgunReload, sndShotgunFire, sndGraveImpact, sndMineTick); |
82 | 59 |
TAmmoType = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer, |
60 |
amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, |
|
61 |
amBaseballBat); |
|
4 | 62 |
THWFont = (fnt16, fntBig); |
83 | 63 |
TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay); |
4 | 64 |
THHFont = record |
65 |
Handle: PTTF_Font; |
|
66 |
Height: integer; |
|
67 |
Name: string[15]; |
|
68 |
end; |
|
69 |
TAmmo = record |
|
70 |
Propz: LongWord; |
|
71 |
Count: LongWord; |
|
72 |
NumPerTurn: LongWord; |
|
73 |
Timer: LongWord; |
|
74 |
AmmoType: TAmmoType; |
|
75 |
end; |
|
76 |
||
77 |
||
105 | 78 |
const |
43 | 79 |
errmsgCreateSurface = 'Error creating SDL surface'; |
4 | 80 |
errmsgTransparentSet = 'Error setting transparent color'; |
81 |
errmsgUnknownCommand = 'Unknown command'; |
|
82 |
errmsgUnknownVariable = 'Unknown variable'; |
|
83 |
errmsgIncorrectUse = 'Incorrect use'; |
|
84 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
85 |
||
86 |
msgLoading = 'Loading '; |
|
87 |
msgOK = 'ok'; |
|
88 |
msgFailed = 'failed'; |
|
89 |
msgGettingConfig = 'Getting game config...'; |
|
90 |
||
91 |
const |
|
92 |
cNetProtoVersion = 1; |
|
93 |
||
74 | 94 |
MAXNAMELEN = 32; |
95 |
||
64 | 96 |
COLOR_LAND = $00FFFFFF; |
97 |
||
55
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
98 |
cifRandomize = $00000001; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
99 |
cifTheme = $00000002; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
100 |
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
|
101 |
cifAllInited = cifRandomize or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
102 |
cifTheme or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
103 |
cifMap; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
104 |
|
4 | 105 |
cTransparentColor: Cardinal = $000000; |
106 |
||
109 | 107 |
cMaxHHIndex = 7; |
22 | 108 |
cMaxHHs = 20; |
53 | 109 |
cMaxSpawnPoints = 1024; |
4 | 110 |
cHHSurfaceWidth = 512; |
70 | 111 |
// cHHSurfaceHeigth = 256; |
4 | 112 |
|
22 | 113 |
cMaxEdgePoints = 16384; |
114 |
||
53 | 115 |
cHHRadius = 9; |
70 | 116 |
cHHStepTicks = 38; |
4 | 117 |
|
109 | 118 |
cKeyMaxIndex = 1023; |
4 | 119 |
|
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
120 |
cMaxCaptions = 4; |
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
121 |
|
4 | 122 |
cInactDelay = 1500; |
123 |
||
124 |
gfForts = $00000001; |
|
125 |
||
126 |
gstDrowning = $00000001; |
|
127 |
gstHHDriven = $00000002; |
|
128 |
gstMoving = $00000004; |
|
129 |
gstAttacked = $00000008; |
|
130 |
gstAttacking = $00000010; |
|
131 |
gstCollision = $00000020; |
|
132 |
gstHHChooseTarget = $00000040; |
|
133 |
gstFalling = $00000080; |
|
134 |
gstHHJumping = $00000100; |
|
135 |
gsttmpFlag = $00000200; |
|
136 |
gstHHThinking = $00000800; |
|
79 | 137 |
gstNoDamage = $00001000; |
4 | 138 |
|
139 |
gm_Left = $00000001; |
|
140 |
gm_Right = $00000002; |
|
141 |
gm_Up = $00000004; |
|
142 |
gm_Down = $00000008; |
|
143 |
gm_Switch = $00000010; |
|
144 |
gm_Attack = $00000020; |
|
145 |
gm_LJump = $00000040; |
|
146 |
gm_HJump = $00000080; |
|
147 |
gm_Destroy= $00000100; |
|
148 |
||
79 | 149 |
cMaxSlotIndex = 7; |
10 | 150 |
cMaxSlotAmmoIndex = 1; |
4 | 151 |
|
152 |
ammoprop_Timerable = $00000001; |
|
153 |
ammoprop_Power = $00000002; |
|
154 |
ammoprop_NeedTarget = $00000004; |
|
155 |
ammoprop_ForwMsgs = $00000008; |
|
156 |
ammoprop_AttackInFall = $00000010; |
|
157 |
ammoprop_AttackInJump = $00000020; |
|
13 | 158 |
ammoprop_NoCrosshair = $00000040; |
4 | 159 |
AMMO_INFINITE = High(LongWord); |
160 |
||
42 | 161 |
EXPLAllDamageInRadius = $00000001; |
162 |
EXPLAutoSound = $00000002; |
|
163 |
EXPLNoDamage = $00000004; |
|
164 |
EXPLDoNotTouchHH = $00000008; |
|
165 |
||
166 |
posCaseAmmo = $00000001; |
|
167 |
posCaseHealth = $00000002; |
|
4 | 168 |
|
79 | 169 |
NoPointX = Low(Integer); |
4 | 170 |
|
74 | 171 |
cHHFileName = 'Hedgehog'; |
172 |
cCHFileName = 'Crosshair'; |
|
4 | 173 |
cThemeCFGFilename = 'theme.cfg'; |
174 |
||
175 |
Fontz: array[THWFont] of THHFont = ( |
|
176 |
(Height: 12; |
|
74 | 177 |
Name: 'DejaVuSans.ttf'), |
4 | 178 |
(Height: 24; |
74 | 179 |
Name: 'DejaVuSans.ttf') |
4 | 180 |
); |
181 |
||
99 | 182 |
PathPrefix: string = './'; |
183 |
Pathz: array[TPathType] of string = ( |
|
80 | 184 |
'', // ptNone |
53 | 185 |
'Data', // ptData |
186 |
'Data/Graphics', // ptGraphics |
|
187 |
'Data/Themes', // ptThemes |
|
80 | 188 |
'Data/Themes/avematan', // ptCurrTheme |
53 | 189 |
'Data/Teams', // ptTeams |
190 |
'Data/Maps', // ptMaps |
|
191 |
'', // ptMapCurrent |
|
192 |
'Data/Demos', // ptDemos |
|
193 |
'Data/Sounds', // ptSounds |
|
194 |
'Data/Graphics/Graves', // ptGraves |
|
195 |
'Data/Fonts', // ptFonts |
|
80 | 196 |
'Data/Forts', // ptForts |
197 |
'Data/Locale' // ptLocale |
|
4 | 198 |
); |
199 |
||
200 |
StuffLoadData: array[TStuff] of record |
|
201 |
FileName: String[31]; |
|
202 |
Path : TPathType; |
|
203 |
end = ( |
|
74 | 204 |
(FileName: 'Console'; Path: ptGraphics ), // sConsoleBG |
205 |
(FileName: 'PowerBar'; Path: ptGraphics ), // sPowerBar |
|
206 |
(FileName: 'thinking'; Path: ptGraphics ), // sQuestion |
|
207 |
(FileName: 'WindBar'; Path: ptGraphics ), // sWindBar |
|
208 |
(FileName: 'WindL'; Path: ptGraphics ), // sWindL |
|
209 |
(FileName: 'WindR'; Path: ptGraphics ), // sWindR |
|
210 |
(FileName: 'RopeNode'; Path: ptGraphics ) // sRopeNode |
|
4 | 211 |
); |
212 |
StuffPoz: array[TStuff] of TSDL_Rect = ( |
|
213 |
(x: 256; y: 256; w: 256; h: 256), // sConsoleBG |
|
214 |
(x: 256; y: 768; w: 256; h: 32), // sPowerBar |
|
5 | 215 |
(x: 256; y: 512; w: 32; h: 32), // sQuestion |
216 |
(x: 256; y: 800; w: 151; h: 17), // sWindBar |
|
217 |
(x: 256; y: 817; w: 80; h: 13), // sWindL |
|
35 | 218 |
(x: 336; y: 817; w: 80; h: 13), // sWindR |
219 |
(x: 256; y: 544; w: 6; h: 6) // sRopeNode |
|
4 | 220 |
); |
221 |
SpritesData: array[TSprite] of record |
|
35 | 222 |
FileName: String[31]; |
80 | 223 |
Path, AltPath: TPathType; |
35 | 224 |
Surface : PSDL_Surface; |
225 |
Width, Height: integer; |
|
226 |
hasAlpha: boolean; |
|
227 |
end = ( |
|
74 | 228 |
(FileName: 'BlueWater'; Path: ptGraphics; Width: 256; Height: 48; hasAlpha: false),// sprWater |
80 | 229 |
(FileName: 'Clouds'; Path: ptCurrTheme; |
230 |
AltPath: ptGraphics; Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
74 | 231 |
(FileName: 'Bomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprBomb |
232 |
(FileName: 'BigDigits'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
233 |
(FileName: 'Frame'; Path: ptGraphics; Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
234 |
(FileName: 'Lag'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprLag |
|
235 |
(FileName: 'Arrow'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
236 |
(FileName: 'Grenade'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
237 |
(FileName: 'Targetp'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
238 |
(FileName: 'UFO'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
239 |
(FileName:'SmokeTrace'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
240 |
(FileName: 'RopeHook'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
241 |
(FileName: 'Expl50'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
242 |
(FileName: 'MineOff'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
243 |
(FileName: 'MineOn'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
244 |
(FileName: 'Case'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
75 | 245 |
(FileName: 'FirstAid'; Path: ptGraphics; Width: 48; Height: 48; hasAlpha: false),// sprFAid |
74 | 246 |
(FileName: 'dynamite'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
78 | 247 |
(FileName: 'Power'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprPower |
248 |
(FileName: 'ClBomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
79 | 249 |
(FileName:'ClParticle'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
80 | 250 |
(FileName: 'Flame'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprFlame |
251 |
(FileName: 'horizont'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
252 |
(FileName: 'Sky'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false) // sprSky |
|
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; |
379 |
TimeAfterTurn: 5000)); |
|
37 | 380 |
|
4 | 381 |
implementation |
382 |
||
383 |
end. |