author | unc0rr |
Sun, 23 Jul 2006 21:22:44 +0000 | |
changeset 82 | 2f4f3236cccc |
parent 80 | 3c3dc6a148ca |
child 83 | 207c85fbef51 |
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, |
52 |
gtGrave, gtUFO, gtShotgunShot, gtActionTimer, gtPickHammer, gtRope, |
|
49 | 53 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, |
82 | 54 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, |
55 |
gtFirePunch); |
|
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); |
63 |
THHFont = record |
|
64 |
Handle: PTTF_Font; |
|
65 |
Height: integer; |
|
66 |
Name: string[15]; |
|
67 |
end; |
|
68 |
TAmmo = record |
|
69 |
Propz: LongWord; |
|
70 |
Count: LongWord; |
|
71 |
NumPerTurn: LongWord; |
|
72 |
Timer: LongWord; |
|
73 |
AmmoType: TAmmoType; |
|
74 |
end; |
|
75 |
||
76 |
||
77 |
resourcestring |
|
43 | 78 |
errmsgCreateSurface = 'Error creating SDL surface'; |
4 | 79 |
errmsgTransparentSet = 'Error setting transparent color'; |
80 |
errmsgUnknownCommand = 'Unknown command'; |
|
81 |
errmsgUnknownVariable = 'Unknown variable'; |
|
82 |
errmsgIncorrectUse = 'Incorrect use'; |
|
83 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
84 |
||
85 |
msgLoading = 'Loading '; |
|
86 |
msgOK = 'ok'; |
|
87 |
msgFailed = 'failed'; |
|
88 |
msgGettingConfig = 'Getting game config...'; |
|
89 |
||
90 |
const |
|
91 |
cNetProtoVersion = 1; |
|
92 |
||
93 |
rndfillstr = 'hw'; |
|
94 |
||
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 |
|
4 | 106 |
cTransparentColor: Cardinal = $000000; |
107 |
||
22 | 108 |
cMaxHHIndex = 9; |
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 |
|
119 |
cKeyMaxIndex = 322; |
|
120 |
||
53 | 121 |
cMaxCaptions = 4; |
4 | 122 |
|
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 |
gtsStartGame = 1; |
|
6 | 141 |
gtsSmoothWindCh = 2; |
4 | 142 |
|
143 |
gm_Left = $00000001; |
|
144 |
gm_Right = $00000002; |
|
145 |
gm_Up = $00000004; |
|
146 |
gm_Down = $00000008; |
|
147 |
gm_Switch = $00000010; |
|
148 |
gm_Attack = $00000020; |
|
149 |
gm_LJump = $00000040; |
|
150 |
gm_HJump = $00000080; |
|
151 |
gm_Destroy= $00000100; |
|
152 |
||
79 | 153 |
cMaxSlotIndex = 7; |
10 | 154 |
cMaxSlotAmmoIndex = 1; |
4 | 155 |
|
156 |
ammoprop_Timerable = $00000001; |
|
157 |
ammoprop_Power = $00000002; |
|
158 |
ammoprop_NeedTarget = $00000004; |
|
159 |
ammoprop_ForwMsgs = $00000008; |
|
160 |
ammoprop_AttackInFall = $00000010; |
|
161 |
ammoprop_AttackInJump = $00000020; |
|
13 | 162 |
ammoprop_NoCrosshair = $00000040; |
4 | 163 |
AMMO_INFINITE = High(LongWord); |
164 |
||
165 |
capgrpStartGame = 0; |
|
166 |
capgrpAmmoinfo = 1; |
|
167 |
capgrpNetSay = 2; |
|
168 |
||
42 | 169 |
EXPLAllDamageInRadius = $00000001; |
170 |
EXPLAutoSound = $00000002; |
|
171 |
EXPLNoDamage = $00000004; |
|
172 |
EXPLDoNotTouchHH = $00000008; |
|
173 |
||
174 |
posCaseAmmo = $00000001; |
|
175 |
posCaseHealth = $00000002; |
|
4 | 176 |
|
79 | 177 |
NoPointX = Low(Integer); |
4 | 178 |
|
74 | 179 |
cHHFileName = 'Hedgehog'; |
180 |
cCHFileName = 'Crosshair'; |
|
4 | 181 |
cThemeCFGFilename = 'theme.cfg'; |
182 |
||
183 |
Fontz: array[THWFont] of THHFont = ( |
|
184 |
(Height: 12; |
|
74 | 185 |
Name: 'DejaVuSans.ttf'), |
4 | 186 |
(Height: 24; |
74 | 187 |
Name: 'DejaVuSans.ttf') |
4 | 188 |
); |
189 |
||
190 |
Pathz: array[TPathType] of string[ 64] = ( |
|
80 | 191 |
'', // ptNone |
53 | 192 |
'Data', // ptData |
193 |
'Data/Graphics', // ptGraphics |
|
194 |
'Data/Themes', // ptThemes |
|
80 | 195 |
'Data/Themes/avematan', // ptCurrTheme |
53 | 196 |
'Data/Teams', // ptTeams |
197 |
'Data/Maps', // ptMaps |
|
198 |
'', // ptMapCurrent |
|
199 |
'Data/Demos', // ptDemos |
|
200 |
'Data/Sounds', // ptSounds |
|
201 |
'Data/Graphics/Graves', // ptGraves |
|
202 |
'Data/Fonts', // ptFonts |
|
80 | 203 |
'Data/Forts', // ptForts |
204 |
'Data/Locale' // ptLocale |
|
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 |
|
259 |
(FileName: 'Sky'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false) // sprSky |
|
35 | 260 |
); |
4 | 261 |
Soundz: array[TSound] of record |
262 |
FileName: String[31]; |
|
263 |
Path : TPathType; |
|
264 |
id : PMixChunk; |
|
265 |
end = ( |
|
266 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds ),// sndGrenadeImpact |
|
267 |
(FileName: 'explosion.ogg'; Path: ptSounds ),// sndExplosion |
|
268 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds ),// sndThrowPowerUp |
|
269 |
(FileName: 'throwrelease.ogg'; Path: ptSounds ),// sndThrowRelease |
|
270 |
(FileName: 'splash.ogg'; Path: ptSounds ),// sndSplash |
|
271 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds ),// sndShotgunReload |
|
272 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds ),// sndShotgunFire |
|
13 | 273 |
(FileName: 'graveimpact.ogg'; Path: ptSounds ),// sndGraveImpact |
274 |
(FileName: 'minetick.ogg'; Path: ptSounds ) // sndMineTicks |
|
4 | 275 |
); |
276 |
||
277 |
Ammoz: array [TAmmoType] of record |
|
80 | 278 |
NameId: TAmmoStrId; |
4 | 279 |
Ammo: TAmmo; |
280 |
Slot: Longword; |
|
281 |
TimeAfterTurn: Longword; |
|
282 |
end = ( |
|
80 | 283 |
(NameId: sidGrenade; |
4 | 284 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power; |
285 |
Count: AMMO_INFINITE; |
|
286 |
NumPerTurn: 0; |
|
287 |
Timer: 3000; |
|
288 |
AmmoType: amGrenade); |
|
10 | 289 |
Slot: 1; |
4 | 290 |
TimeAfterTurn: 3000), |
80 | 291 |
(NameId: sidClusterBomb; |
78 | 292 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power; |
293 |
Count: 5; |
|
294 |
NumPerTurn: 0; |
|
295 |
Timer: 3000; |
|
296 |
AmmoType: amClusterBomb); |
|
297 |
Slot: 1; |
|
298 |
TimeAfterTurn: 3000), |
|
80 | 299 |
(NameId: sidBazooka; |
4 | 300 |
Ammo: (Propz: ammoprop_Power; |
301 |
Count: AMMO_INFINITE; |
|
302 |
NumPerTurn: 0; |
|
303 |
Timer: 0; |
|
304 |
AmmoType: amBazooka); |
|
10 | 305 |
Slot: 0; |
4 | 306 |
TimeAfterTurn: 3000), |
80 | 307 |
(NameId: sidUFO; |
4 | 308 |
Ammo: (Propz: ammoprop_Power or ammoprop_NeedTarget; |
56 | 309 |
Count: 2; |
4 | 310 |
NumPerTurn: 0; |
311 |
Timer: 0; |
|
312 |
AmmoType: amUFO); |
|
313 |
Slot: 0; |
|
314 |
TimeAfterTurn: 3000), |
|
80 | 315 |
(NameId: sidShotgun; |
4 | 316 |
Ammo: (Propz: 0; |
317 |
Count: AMMO_INFINITE; |
|
318 |
NumPerTurn: 1; |
|
319 |
Timer: 0; |
|
320 |
AmmoType: amShotgun); |
|
321 |
Slot: 2; |
|
322 |
TimeAfterTurn: 3000), |
|
80 | 323 |
(NameId: sidPickHammer; |
4 | 324 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump; |
325 |
Count: 2; |
|
326 |
NumPerTurn: 0; |
|
327 |
Timer: 0; |
|
328 |
AmmoType: amPickHammer); |
|
79 | 329 |
Slot: 5; |
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); |
|
79 | 337 |
Slot: 7; |
4 | 338 |
TimeAfterTurn: 0), |
80 | 339 |
(NameId: sidRope; |
4 | 340 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump; |
341 |
Count: 5; |
|
342 |
NumPerTurn: 0; |
|
343 |
Timer: 0; |
|
344 |
AmmoType: amRope); |
|
79 | 345 |
Slot: 6; |
10 | 346 |
TimeAfterTurn: 0), |
80 | 347 |
(NameId: sidMine; |
13 | 348 |
Ammo: (Propz: ammoprop_NoCrosshair; |
56 | 349 |
Count: 2; |
10 | 350 |
NumPerTurn: 0; |
351 |
Timer: 0; |
|
352 |
AmmoType: amMine); |
|
79 | 353 |
Slot: 4; |
354 |
TimeAfterTurn: 5000), |
|
80 | 355 |
(NameId: sidDEagle; |
37 | 356 |
Ammo: (Propz: 0; |
75 | 357 |
Count: 3; |
37 | 358 |
NumPerTurn: 3; |
359 |
Timer: 0; |
|
360 |
AmmoType: amDEagle); |
|
361 |
Slot: 2; |
|
39 | 362 |
TimeAfterTurn: 3000), |
80 | 363 |
(NameId: sidDynamite; |
39 | 364 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_AttackInJump or ammoprop_AttackInFall; |
56 | 365 |
Count: 1; |
39 | 366 |
NumPerTurn: 0; |
367 |
Timer: 0; |
|
368 |
AmmoType: amDynamite); |
|
79 | 369 |
Slot: 4; |
370 |
TimeAfterTurn: 5000), |
|
82 | 371 |
(NameId: sidFirePunch; |
372 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_ForwMsgs or ammoprop_AttackInJump or ammoprop_AttackInFall; |
|
373 |
Count: AMMO_INFINITE; |
|
374 |
NumPerTurn: 0; |
|
375 |
Timer: 0; |
|
376 |
AmmoType: amFirePunch); |
|
377 |
Slot: 3; |
|
378 |
TimeAfterTurn: 3000), |
|
80 | 379 |
(NameId: sidBaseballBat; |
79 | 380 |
Ammo: (Propz: 0; |
381 |
Count: 1; |
|
382 |
NumPerTurn: 0; |
|
383 |
Timer: 0; |
|
384 |
AmmoType: amBaseballBat); |
|
39 | 385 |
Slot: 3; |
386 |
TimeAfterTurn: 5000)); |
|
37 | 387 |
|
4 | 388 |
implementation |
389 |
||
390 |
end. |