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