author | unc0rr |
Thu, 19 Oct 2006 18:57:58 +0000 | |
changeset 202 | 8603c0420461 |
parent 199 | f156e54736a4 |
child 211 | 558476056205 |
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; |
|
202 | 53 |
style: integer; |
4 | 54 |
Name: string[15]; |
55 |
end; |
|
56 |
TAmmo = record |
|
57 |
Propz: LongWord; |
|
58 |
Count: LongWord; |
|
59 |
NumPerTurn: LongWord; |
|
60 |
Timer: LongWord; |
|
61 |
AmmoType: TAmmoType; |
|
62 |
end; |
|
63 |
||
64 |
||
105 | 65 |
const |
43 | 66 |
errmsgCreateSurface = 'Error creating SDL surface'; |
4 | 67 |
errmsgTransparentSet = 'Error setting transparent color'; |
68 |
errmsgUnknownCommand = 'Unknown command'; |
|
69 |
errmsgUnknownVariable = 'Unknown variable'; |
|
70 |
errmsgIncorrectUse = 'Incorrect use'; |
|
71 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
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; |
|
202 | 164 |
style: TTF_STYLE_NORMAL; |
74 | 165 |
Name: 'DejaVuSans.ttf'), |
4 | 166 |
(Height: 24; |
202 | 167 |
style: TTF_STYLE_NORMAL; |
74 | 168 |
Name: 'DejaVuSans.ttf') |
4 | 169 |
); |
170 |
||
202 | 171 |
FontBorder = 2; |
172 |
||
99 | 173 |
PathPrefix: string = './'; |
174 |
Pathz: array[TPathType] of string = ( |
|
80 | 175 |
'', // ptNone |
53 | 176 |
'Data', // ptData |
177 |
'Data/Graphics', // ptGraphics |
|
178 |
'Data/Themes', // ptThemes |
|
80 | 179 |
'Data/Themes/avematan', // ptCurrTheme |
53 | 180 |
'Data/Teams', // ptTeams |
181 |
'Data/Maps', // ptMaps |
|
182 |
'', // ptMapCurrent |
|
183 |
'Data/Demos', // ptDemos |
|
184 |
'Data/Sounds', // ptSounds |
|
185 |
'Data/Graphics/Graves', // ptGraves |
|
186 |
'Data/Fonts', // ptFonts |
|
80 | 187 |
'Data/Forts', // ptForts |
161 | 188 |
'Data/Locale', // ptLocale |
189 |
'Data/Graphics/AmmoMenu' // ptAmmoMenu |
|
4 | 190 |
); |
191 |
||
192 |
StuffLoadData: array[TStuff] of record |
|
193 |
FileName: String[31]; |
|
194 |
Path : TPathType; |
|
195 |
end = ( |
|
74 | 196 |
(FileName: 'Console'; Path: ptGraphics ), // sConsoleBG |
197 |
(FileName: 'PowerBar'; Path: ptGraphics ), // sPowerBar |
|
198 |
(FileName: 'thinking'; Path: ptGraphics ), // sQuestion |
|
199 |
(FileName: 'WindBar'; Path: ptGraphics ), // sWindBar |
|
200 |
(FileName: 'WindL'; Path: ptGraphics ), // sWindL |
|
201 |
(FileName: 'WindR'; Path: ptGraphics ), // sWindR |
|
202 |
(FileName: 'RopeNode'; Path: ptGraphics ) // sRopeNode |
|
4 | 203 |
); |
204 |
StuffPoz: array[TStuff] of TSDL_Rect = ( |
|
205 |
(x: 256; y: 256; w: 256; h: 256), // sConsoleBG |
|
206 |
(x: 256; y: 768; w: 256; h: 32), // sPowerBar |
|
5 | 207 |
(x: 256; y: 512; w: 32; h: 32), // sQuestion |
208 |
(x: 256; y: 800; w: 151; h: 17), // sWindBar |
|
209 |
(x: 256; y: 817; w: 80; h: 13), // sWindL |
|
35 | 210 |
(x: 336; y: 817; w: 80; h: 13), // sWindR |
211 |
(x: 256; y: 544; w: 6; h: 6) // sRopeNode |
|
4 | 212 |
); |
213 |
SpritesData: array[TSprite] of record |
|
35 | 214 |
FileName: String[31]; |
80 | 215 |
Path, AltPath: TPathType; |
35 | 216 |
Surface : PSDL_Surface; |
217 |
Width, Height: integer; |
|
218 |
hasAlpha: boolean; |
|
219 |
end = ( |
|
74 | 220 |
(FileName: 'BlueWater'; Path: ptGraphics; Width: 256; Height: 48; hasAlpha: false),// sprWater |
80 | 221 |
(FileName: 'Clouds'; Path: ptCurrTheme; |
222 |
AltPath: ptGraphics; Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
74 | 223 |
(FileName: 'Bomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprBomb |
224 |
(FileName: 'BigDigits'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
225 |
(FileName: 'Frame'; Path: ptGraphics; Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
226 |
(FileName: 'Lag'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprLag |
|
227 |
(FileName: 'Arrow'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
228 |
(FileName: 'Grenade'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
229 |
(FileName: 'Targetp'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
230 |
(FileName: 'UFO'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
231 |
(FileName:'SmokeTrace'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
232 |
(FileName: 'RopeHook'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
233 |
(FileName: 'Expl50'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
234 |
(FileName: 'MineOff'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
235 |
(FileName: 'MineOn'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
236 |
(FileName: 'Case'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
75 | 237 |
(FileName: 'FirstAid'; Path: ptGraphics; Width: 48; Height: 48; hasAlpha: false),// sprFAid |
74 | 238 |
(FileName: 'dynamite'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
78 | 239 |
(FileName: 'Power'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprPower |
240 |
(FileName: 'ClBomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
79 | 241 |
(FileName:'ClParticle'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
80 | 242 |
(FileName: 'Flame'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprFlame |
243 |
(FileName: 'horizont'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
161 | 244 |
(FileName: 'Sky'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false),// sprSky |
245 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; Width: 202; Height: 1; hasAlpha: false),// sprAMBorders |
|
246 |
(FileName: 'Slot'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlot |
|
247 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName |
|
248 |
(FileName: 'Ammos'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMAmmos |
|
162 | 249 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMSlotKeys |
176 | 250 |
(FileName: 'Selection'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMSelection |
251 |
(FileName: 'Finger'; Path: ptGraphics; Width: 32; Height: 48; hasAlpha: false) // sprFinger |
|
35 | 252 |
); |
4 | 253 |
Soundz: array[TSound] of record |
254 |
FileName: String[31]; |
|
255 |
Path : TPathType; |
|
256 |
id : PMixChunk; |
|
257 |
end = ( |
|
258 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds ),// sndGrenadeImpact |
|
259 |
(FileName: 'explosion.ogg'; Path: ptSounds ),// sndExplosion |
|
260 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds ),// sndThrowPowerUp |
|
261 |
(FileName: 'throwrelease.ogg'; Path: ptSounds ),// sndThrowRelease |
|
262 |
(FileName: 'splash.ogg'; Path: ptSounds ),// sndSplash |
|
263 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds ),// sndShotgunReload |
|
264 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds ),// sndShotgunFire |
|
13 | 265 |
(FileName: 'graveimpact.ogg'; Path: ptSounds ),// sndGraveImpact |
266 |
(FileName: 'minetick.ogg'; Path: ptSounds ) // sndMineTicks |
|
4 | 267 |
); |
268 |
||
269 |
Ammoz: array [TAmmoType] of record |
|
80 | 270 |
NameId: TAmmoStrId; |
4 | 271 |
Ammo: TAmmo; |
112 | 272 |
Slot: 0..cMaxSlotIndex; |
4 | 273 |
TimeAfterTurn: Longword; |
274 |
end = ( |
|
80 | 275 |
(NameId: sidGrenade; |
4 | 276 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power; |
277 |
Count: AMMO_INFINITE; |
|
278 |
NumPerTurn: 0; |
|
279 |
Timer: 3000; |
|
280 |
AmmoType: amGrenade); |
|
10 | 281 |
Slot: 1; |
4 | 282 |
TimeAfterTurn: 3000), |
80 | 283 |
(NameId: sidClusterBomb; |
78 | 284 |
Ammo: (Propz: ammoprop_Timerable or ammoprop_Power; |
285 |
Count: 5; |
|
286 |
NumPerTurn: 0; |
|
287 |
Timer: 3000; |
|
288 |
AmmoType: amClusterBomb); |
|
289 |
Slot: 1; |
|
290 |
TimeAfterTurn: 3000), |
|
80 | 291 |
(NameId: sidBazooka; |
4 | 292 |
Ammo: (Propz: ammoprop_Power; |
293 |
Count: AMMO_INFINITE; |
|
294 |
NumPerTurn: 0; |
|
295 |
Timer: 0; |
|
296 |
AmmoType: amBazooka); |
|
10 | 297 |
Slot: 0; |
4 | 298 |
TimeAfterTurn: 3000), |
80 | 299 |
(NameId: sidUFO; |
4 | 300 |
Ammo: (Propz: ammoprop_Power or ammoprop_NeedTarget; |
56 | 301 |
Count: 2; |
4 | 302 |
NumPerTurn: 0; |
303 |
Timer: 0; |
|
304 |
AmmoType: amUFO); |
|
305 |
Slot: 0; |
|
306 |
TimeAfterTurn: 3000), |
|
80 | 307 |
(NameId: sidShotgun; |
95 | 308 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 309 |
Count: AMMO_INFINITE; |
310 |
NumPerTurn: 1; |
|
311 |
Timer: 0; |
|
312 |
AmmoType: amShotgun); |
|
313 |
Slot: 2; |
|
314 |
TimeAfterTurn: 3000), |
|
80 | 315 |
(NameId: sidPickHammer; |
4 | 316 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump; |
317 |
Count: 2; |
|
318 |
NumPerTurn: 0; |
|
319 |
Timer: 0; |
|
320 |
AmmoType: amPickHammer); |
|
79 | 321 |
Slot: 5; |
4 | 322 |
TimeAfterTurn: 0), |
80 | 323 |
(NameId: sidSkip; |
4 | 324 |
Ammo: (Propz: 0; |
325 |
Count: AMMO_INFINITE; |
|
326 |
NumPerTurn: 0; |
|
327 |
Timer: 0; |
|
328 |
AmmoType: amSkip); |
|
79 | 329 |
Slot: 7; |
4 | 330 |
TimeAfterTurn: 0), |
80 | 331 |
(NameId: sidRope; |
4 | 332 |
Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInFall or ammoprop_AttackInJump; |
333 |
Count: 5; |
|
334 |
NumPerTurn: 0; |
|
335 |
Timer: 0; |
|
336 |
AmmoType: amRope); |
|
79 | 337 |
Slot: 6; |
10 | 338 |
TimeAfterTurn: 0), |
80 | 339 |
(NameId: sidMine; |
13 | 340 |
Ammo: (Propz: ammoprop_NoCrosshair; |
56 | 341 |
Count: 2; |
10 | 342 |
NumPerTurn: 0; |
343 |
Timer: 0; |
|
344 |
AmmoType: amMine); |
|
79 | 345 |
Slot: 4; |
346 |
TimeAfterTurn: 5000), |
|
80 | 347 |
(NameId: sidDEagle; |
37 | 348 |
Ammo: (Propz: 0; |
75 | 349 |
Count: 3; |
37 | 350 |
NumPerTurn: 3; |
351 |
Timer: 0; |
|
352 |
AmmoType: amDEagle); |
|
353 |
Slot: 2; |
|
39 | 354 |
TimeAfterTurn: 3000), |
80 | 355 |
(NameId: sidDynamite; |
39 | 356 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_AttackInJump or ammoprop_AttackInFall; |
56 | 357 |
Count: 1; |
39 | 358 |
NumPerTurn: 0; |
359 |
Timer: 0; |
|
360 |
AmmoType: amDynamite); |
|
79 | 361 |
Slot: 4; |
362 |
TimeAfterTurn: 5000), |
|
82 | 363 |
(NameId: sidFirePunch; |
364 |
Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_ForwMsgs or ammoprop_AttackInJump or ammoprop_AttackInFall; |
|
365 |
Count: AMMO_INFINITE; |
|
366 |
NumPerTurn: 0; |
|
367 |
Timer: 0; |
|
368 |
AmmoType: amFirePunch); |
|
369 |
Slot: 3; |
|
370 |
TimeAfterTurn: 3000), |
|
80 | 371 |
(NameId: sidBaseballBat; |
79 | 372 |
Ammo: (Propz: 0; |
373 |
Count: 1; |
|
374 |
NumPerTurn: 0; |
|
375 |
Timer: 0; |
|
376 |
AmmoType: amBaseballBat); |
|
39 | 377 |
Slot: 3; |
378 |
TimeAfterTurn: 5000)); |
|
37 | 379 |
|
4 | 380 |
implementation |
381 |
||
382 |
end. |