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