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