author | unc0rr |
Tue, 18 Sep 2007 18:24:02 +0000 | |
changeset 596 | 38bdde6a54c1 |
parent 590 | e816adf4a27f |
child 601 | 78a68cc4d846 |
permissions | -rw-r--r-- |
4 | 1 |
(* |
2 |
* Hedgewars, a worms-like game |
|
393 | 3 |
* Copyright (c) 2004-2007 Andrey Korotaev <unC0Rr@gmail.com> |
4 | 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} |
271 | 23 |
{$INCLUDE proto.inc} |
80 | 24 |
type TStuff = (sConsoleBG, sPowerBar, sQuestion, sWindBar, |
35 | 25 |
sWindL, sWindR, sRopeNode); |
282 | 26 |
|
4 | 27 |
TGameState = (gsLandGen, gsStart, gsGame, gsConsole, gsExit); |
282 | 28 |
|
155
401f4ea24715
Engine can generate land preview and send it via IPC
unc0rr
parents:
112
diff
changeset
|
29 |
TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview); |
282 | 30 |
|
80 | 31 |
TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
32 |
ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
|
161 | 33 |
ptLocale, ptAmmoMenu); |
282 | 34 |
|
4 | 35 |
TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame, |
36 |
sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO, |
|
10 | 37 |
sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff, |
78 | 38 |
sprMineOn, sprCase, sprFAid, sprDynamite, sprPower, |
80 | 39 |
sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont, |
161 | 40 |
sprSky, sprAMBorders, sprAMSlot, sprAMSlotName, sprAMAmmos, |
283 | 41 |
sprAMSlotKeys, sprAMSelection, sprFinger, sprAirBomb, |
534 | 42 |
sprAirplane, sprAmAirplane, sprAmGirder, sprHHTelepMask, |
590 | 43 |
sprSwitch, sprParachute, sprTarget); |
282 | 44 |
|
4 | 45 |
TGearType = (gtCloud, gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, |
83 | 46 |
gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, |
49 | 47 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, |
82 | 48 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, |
211 | 49 |
gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, |
520 | 50 |
gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, |
590 | 51 |
gtTeleport, gtSmallDamage, gtSwitcher, gtTarget); |
282 | 52 |
|
16 | 53 |
TGearsType = set of TGearType; |
282 | 54 |
|
55 |
TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, |
|
56 |
sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact, |
|
560 | 57 |
sndMineTick, sndPickhammer, sndGun, sndUFO); |
282 | 58 |
|
82 | 59 |
TAmmoType = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer, |
60 |
amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, |
|
409 | 61 |
amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch, |
534 | 62 |
amGirder, amTeleport, amSwitch); |
282 | 63 |
|
522 | 64 |
THWFont = (fnt16, fntBig, fntSmall); |
282 | 65 |
|
174 | 66 |
TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume); |
282 | 67 |
|
307 | 68 |
TStatInfoType = (siGameResult, siMaxStepDamage, siKilledHHs); |
306 | 69 |
|
4 | 70 |
THHFont = record |
71 |
Handle: PTTF_Font; |
|
371 | 72 |
Height: LongInt; |
73 |
style: LongInt; |
|
4 | 74 |
Name: string[15]; |
75 |
end; |
|
282 | 76 |
|
4 | 77 |
TAmmo = record |
78 |
Propz: LongWord; |
|
79 |
Count: LongWord; |
|
80 |
NumPerTurn: LongWord; |
|
81 |
Timer: LongWord; |
|
408 | 82 |
Pos: LongWord; |
4 | 83 |
AmmoType: TAmmoType; |
84 |
end; |
|
85 |
||
86 |
||
105 | 87 |
const |
43 | 88 |
errmsgCreateSurface = 'Error creating SDL surface'; |
4 | 89 |
errmsgTransparentSet = 'Error setting transparent color'; |
90 |
errmsgUnknownCommand = 'Unknown command'; |
|
91 |
errmsgUnknownVariable = 'Unknown variable'; |
|
92 |
errmsgIncorrectUse = 'Incorrect use'; |
|
93 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
94 |
||
95 |
msgLoading = 'Loading '; |
|
96 |
msgOK = 'ok'; |
|
97 |
msgFailed = 'failed'; |
|
98 |
msgGettingConfig = 'Getting game config...'; |
|
99 |
||
100 |
const |
|
304 | 101 |
cMaxPower = 1500; |
102 |
cMaxAngle = 2048; |
|
103 |
cPowerDivisor = 1500; |
|
104 |
||
74 | 105 |
MAXNAMELEN = 32; |
106 |
||
64 | 107 |
COLOR_LAND = $00FFFFFF; |
108 |
||
55
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
109 |
cifRandomize = $00000001; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
110 |
cifTheme = $00000002; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
111 |
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
|
112 |
cifAllInited = cifRandomize or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
113 |
cifTheme or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
114 |
cifMap; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
115 |
|
188 | 116 |
cTransparentColor: Longword = $000000; |
4 | 117 |
|
547 | 118 |
cMaxTeams = 6; |
109 | 119 |
cMaxHHIndex = 7; |
423 | 120 |
cMaxHHs = 30; |
53 | 121 |
cMaxSpawnPoints = 1024; |
4 | 122 |
|
22 | 123 |
cMaxEdgePoints = 16384; |
124 |
||
53 | 125 |
cHHRadius = 9; |
70 | 126 |
cHHStepTicks = 38; |
509 | 127 |
|
294 | 128 |
cHHZ = 1000; |
129 |
cCurrHHZ = Succ(cHHZ); |
|
4 | 130 |
|
509 | 131 |
cShotgunRadius = 22; |
511 | 132 |
cBlowTorchC = 6; |
509 | 133 |
|
109 | 134 |
cKeyMaxIndex = 1023; |
4 | 135 |
|
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
136 |
cMaxCaptions = 4; |
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
137 |
|
4 | 138 |
cInactDelay = 1500; |
139 |
||
140 |
gfForts = $00000001; |
|
141 |
||
142 |
gstDrowning = $00000001; |
|
143 |
gstHHDriven = $00000002; |
|
144 |
gstMoving = $00000004; |
|
145 |
gstAttacked = $00000008; |
|
146 |
gstAttacking = $00000010; |
|
147 |
gstCollision = $00000020; |
|
148 |
gstHHChooseTarget = $00000040; |
|
149 |
gstHHJumping = $00000100; |
|
150 |
gsttmpFlag = $00000200; |
|
151 |
gstHHThinking = $00000800; |
|
79 | 152 |
gstNoDamage = $00001000; |
424 | 153 |
gstHHHJump = $00002000; |
511 | 154 |
gstAnimation = $00004000; |
4 | 155 |
|
156 |
gm_Left = $00000001; |
|
157 |
gm_Right = $00000002; |
|
158 |
gm_Up = $00000004; |
|
159 |
gm_Down = $00000008; |
|
160 |
gm_Switch = $00000010; |
|
161 |
gm_Attack = $00000020; |
|
162 |
gm_LJump = $00000040; |
|
163 |
gm_HJump = $00000080; |
|
164 |
gm_Destroy= $00000100; |
|
165 |
||
263 | 166 |
cMaxSlotIndex = 8; |
409 | 167 |
cMaxSlotAmmoIndex = 2; |
4 | 168 |
|
169 |
ammoprop_Timerable = $00000001; |
|
170 |
ammoprop_Power = $00000002; |
|
171 |
ammoprop_NeedTarget = $00000004; |
|
172 |
ammoprop_ForwMsgs = $00000008; |
|
542 | 173 |
ammoprop_AttackInMove = $00000010; |
13 | 174 |
ammoprop_NoCrosshair = $00000040; |
263 | 175 |
ammoprop_AttackingPut = $00000080; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
176 |
ammoprop_DontHold = $00000100; |
4 | 177 |
AMMO_INFINITE = High(LongWord); |
178 |
||
42 | 179 |
EXPLAllDamageInRadius = $00000001; |
180 |
EXPLAutoSound = $00000002; |
|
181 |
EXPLNoDamage = $00000004; |
|
182 |
EXPLDoNotTouchHH = $00000008; |
|
305 | 183 |
EXPLDontDraw = $00000010; |
42 | 184 |
|
185 |
posCaseAmmo = $00000001; |
|
186 |
posCaseHealth = $00000002; |
|
4 | 187 |
|
371 | 188 |
NoPointX = Low(LongInt); |
4 | 189 |
|
74 | 190 |
cHHFileName = 'Hedgehog'; |
191 |
cCHFileName = 'Crosshair'; |
|
4 | 192 |
cThemeCFGFilename = 'theme.cfg'; |
193 |
||
194 |
Fontz: array[THWFont] of THHFont = ( |
|
351 | 195 |
(Handle: nil; |
196 |
Height: 12; |
|
202 | 197 |
style: TTF_STYLE_NORMAL; |
74 | 198 |
Name: 'DejaVuSans.ttf'), |
351 | 199 |
(Handle: nil; |
200 |
Height: 24; |
|
202 | 201 |
style: TTF_STYLE_NORMAL; |
522 | 202 |
Name: 'DejaVuSans.ttf'), |
203 |
(Handle: nil; |
|
204 |
Height: 10; |
|
205 |
style: TTF_STYLE_NORMAL; |
|
74 | 206 |
Name: 'DejaVuSans.ttf') |
4 | 207 |
); |
208 |
||
202 | 209 |
FontBorder = 2; |
210 |
||
99 | 211 |
PathPrefix: string = './'; |
212 |
Pathz: array[TPathType] of string = ( |
|
80 | 213 |
'', // ptNone |
267 | 214 |
'', // ptData |
215 |
'Graphics', // ptGraphics |
|
216 |
'Themes', // ptThemes |
|
217 |
'Themes/avematan', // ptCurrTheme |
|
218 |
'Teams', // ptTeams |
|
219 |
'Maps', // ptMaps |
|
53 | 220 |
'', // ptMapCurrent |
267 | 221 |
'Demos', // ptDemos |
222 |
'Sounds', // ptSounds |
|
223 |
'Graphics/Graves', // ptGraves |
|
224 |
'Fonts', // ptFonts |
|
225 |
'Forts', // ptForts |
|
226 |
'Locale', // ptLocale |
|
227 |
'Graphics/AmmoMenu' // ptAmmoMenu |
|
4 | 228 |
); |
229 |
||
230 |
StuffLoadData: array[TStuff] of record |
|
231 |
FileName: String[31]; |
|
232 |
Path : TPathType; |
|
233 |
end = ( |
|
74 | 234 |
(FileName: 'Console'; Path: ptGraphics ), // sConsoleBG |
235 |
(FileName: 'PowerBar'; Path: ptGraphics ), // sPowerBar |
|
236 |
(FileName: 'thinking'; Path: ptGraphics ), // sQuestion |
|
237 |
(FileName: 'WindBar'; Path: ptGraphics ), // sWindBar |
|
238 |
(FileName: 'WindL'; Path: ptGraphics ), // sWindL |
|
239 |
(FileName: 'WindR'; Path: ptGraphics ), // sWindR |
|
240 |
(FileName: 'RopeNode'; Path: ptGraphics ) // sRopeNode |
|
4 | 241 |
); |
242 |
StuffPoz: array[TStuff] of TSDL_Rect = ( |
|
243 |
(x: 256; y: 256; w: 256; h: 256), // sConsoleBG |
|
244 |
(x: 256; y: 768; w: 256; h: 32), // sPowerBar |
|
5 | 245 |
(x: 256; y: 512; w: 32; h: 32), // sQuestion |
246 |
(x: 256; y: 800; w: 151; h: 17), // sWindBar |
|
247 |
(x: 256; y: 817; w: 80; h: 13), // sWindL |
|
35 | 248 |
(x: 336; y: 817; w: 80; h: 13), // sWindR |
249 |
(x: 256; y: 544; w: 6; h: 6) // sRopeNode |
|
4 | 250 |
); |
251 |
SpritesData: array[TSprite] of record |
|
35 | 252 |
FileName: String[31]; |
80 | 253 |
Path, AltPath: TPathType; |
35 | 254 |
Surface : PSDL_Surface; |
371 | 255 |
Width, Height: LongInt; |
35 | 256 |
hasAlpha: boolean; |
257 |
end = ( |
|
351 | 258 |
(FileName: 'BlueWater'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
259 |
Width: 256; Height: 48; hasAlpha: false),// sprWater |
|
260 |
(FileName: 'Clouds'; Path: ptCurrTheme; AltPath: ptGraphics; Surface: nil; |
|
261 |
Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
262 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
263 |
Width: 16; Height: 16; hasAlpha: false),// sprBomb |
|
264 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
265 |
Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
266 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
267 |
Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
268 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
446 | 269 |
Width: 65; Height: 65; hasAlpha: true),// sprLag |
351 | 270 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
271 |
Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
272 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
273 |
Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
274 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
275 |
Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
276 |
(FileName: 'UFO'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
277 |
Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
278 |
(FileName:'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
279 |
Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
280 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
281 |
Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
282 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
283 |
Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
284 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
285 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
286 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
287 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
288 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
289 |
Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
290 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
291 |
Width: 48; Height: 48; hasAlpha: false),// sprFAid |
|
292 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
293 |
Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
|
294 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
295 |
Width: 32; Height: 32; hasAlpha: true),// sprPower |
|
296 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
297 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
298 |
(FileName:'ClParticle'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
299 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
|
300 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
301 |
Width: 16; Height: 16; hasAlpha: false),// sprFlame |
|
302 |
(FileName: 'horizont'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
303 |
Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
304 |
(FileName: 'Sky'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
305 |
Width: 0; Height: 0; hasAlpha: false),// sprSky |
|
306 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
307 |
Width: 202; Height: 1; hasAlpha: false),// sprAMBorders |
|
308 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
309 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlot |
|
310 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
311 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName |
|
312 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
313 |
Width: 32; Height: 32; hasAlpha: false),// sprAMAmmos |
|
314 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
315 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSlotKeys |
|
316 |
(FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
317 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSelection |
|
318 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
319 |
Width: 32; Height: 48; hasAlpha: false),// sprFinger |
|
320 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
321 |
Width: 32; Height: 32; hasAlpha: false),// sprAirBomb |
|
322 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
408 | 323 |
Width: 125; Height: 42; hasAlpha: false),// sprAirplane |
324 |
(FileName:'amAirplane'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
409 | 325 |
Width: 64; Height: 32; hasAlpha: true),// sprAirplane |
326 |
(FileName: 'amGirder'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
520 | 327 |
Width: 160; Height:160; hasAlpha: false),// sprAmGirder |
328 |
(FileName: 'hhMask'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
534 | 329 |
Width: 32; Height: 32; hasAlpha: false),// sprHHTelepMask |
330 |
(FileName: 'Switch'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
568 | 331 |
Width: 32; Height: 32; hasAlpha: false),// sprSwitch |
332 |
(FileName: 'Parachute'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
590 | 333 |
Width: 48; Height: 48; hasAlpha: true),// sprParachute |
334 |
(FileName: 'Target'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
335 |
Width: 32; Height: 32; hasAlpha:false) // sprTarget |
|
35 | 336 |
); |
567 | 337 |
|
4 | 338 |
Soundz: array[TSound] of record |
339 |
FileName: String[31]; |
|
340 |
Path : TPathType; |
|
341 |
id : PMixChunk; |
|
282 | 342 |
lastChan: LongInt; |
4 | 343 |
end = ( |
467 | 344 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
345 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
346 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
347 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
348 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
349 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
350 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
351 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
352 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
559 | 353 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
560 | 354 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
355 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0) // sndUFO |
|
4 | 356 |
); |
357 |
||
358 |
Ammoz: array [TAmmoType] of record |
|
80 | 359 |
NameId: TAmmoStrId; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
360 |
Probability, NumberInCase: Longword; |
4 | 361 |
Ammo: TAmmo; |
112 | 362 |
Slot: 0..cMaxSlotIndex; |
4 | 363 |
TimeAfterTurn: Longword; |
304 | 364 |
minAngle, maxAngle: Longword; |
408 | 365 |
PosCount: Longword; |
366 |
PosSprite: TSprite; |
|
4 | 367 |
end = ( |
80 | 368 |
(NameId: sidGrenade; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
369 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
370 |
NumberInCase: 1; |
263 | 371 |
Ammo: (Propz: ammoprop_Timerable or |
372 |
ammoprop_Power; |
|
4 | 373 |
Count: AMMO_INFINITE; |
374 |
NumPerTurn: 0; |
|
375 |
Timer: 3000; |
|
408 | 376 |
Pos: 0; |
4 | 377 |
AmmoType: amGrenade); |
10 | 378 |
Slot: 1; |
351 | 379 |
TimeAfterTurn: 3000; |
380 |
minAngle: 0; |
|
408 | 381 |
maxAngle: 0; |
495 | 382 |
PosCount: 1; |
383 |
PosSprite: sprWater), |
|
80 | 384 |
(NameId: sidClusterBomb; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
385 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
386 |
NumberInCase: 3; |
263 | 387 |
Ammo: (Propz: ammoprop_Timerable or |
388 |
ammoprop_Power; |
|
78 | 389 |
Count: 5; |
390 |
NumPerTurn: 0; |
|
391 |
Timer: 3000; |
|
408 | 392 |
Pos: 0; |
78 | 393 |
AmmoType: amClusterBomb); |
394 |
Slot: 1; |
|
351 | 395 |
TimeAfterTurn: 3000; |
396 |
minAngle: 0; |
|
408 | 397 |
maxAngle: 0; |
495 | 398 |
PosCount: 1; |
399 |
PosSprite: sprWater), |
|
80 | 400 |
(NameId: sidBazooka; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
401 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
402 |
NumberInCase: 1; |
4 | 403 |
Ammo: (Propz: ammoprop_Power; |
404 |
Count: AMMO_INFINITE; |
|
405 |
NumPerTurn: 0; |
|
406 |
Timer: 0; |
|
408 | 407 |
Pos: 0; |
4 | 408 |
AmmoType: amBazooka); |
10 | 409 |
Slot: 0; |
351 | 410 |
TimeAfterTurn: 3000; |
411 |
minAngle: 0; |
|
408 | 412 |
maxAngle: 0; |
495 | 413 |
PosCount: 1; |
414 |
PosSprite: sprWater), |
|
80 | 415 |
(NameId: sidUFO; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
416 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
417 |
NumberInCase: 1; |
263 | 418 |
Ammo: (Propz: ammoprop_Power or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
419 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
420 |
ammoprop_DontHold; |
56 | 421 |
Count: 2; |
4 | 422 |
NumPerTurn: 0; |
423 |
Timer: 0; |
|
408 | 424 |
Pos: 0; |
4 | 425 |
AmmoType: amUFO); |
426 |
Slot: 0; |
|
351 | 427 |
TimeAfterTurn: 3000; |
428 |
minAngle: 0; |
|
408 | 429 |
maxAngle: 0; |
495 | 430 |
PosCount: 1; |
431 |
PosSprite: sprWater), |
|
80 | 432 |
(NameId: sidShotgun; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
433 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
434 |
NumberInCase: 1; |
95 | 435 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 436 |
Count: AMMO_INFINITE; |
437 |
NumPerTurn: 1; |
|
438 |
Timer: 0; |
|
408 | 439 |
Pos: 0; |
4 | 440 |
AmmoType: amShotgun); |
441 |
Slot: 2; |
|
351 | 442 |
TimeAfterTurn: 3000; |
443 |
minAngle: 0; |
|
408 | 444 |
maxAngle: 0; |
495 | 445 |
PosCount: 1; |
446 |
PosSprite: sprWater), |
|
80 | 447 |
(NameId: sidPickHammer; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
448 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
449 |
NumberInCase: 1; |
263 | 450 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 451 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
452 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
453 |
ammoprop_DontHold; |
4 | 454 |
Count: 2; |
455 |
NumPerTurn: 0; |
|
456 |
Timer: 0; |
|
408 | 457 |
Pos: 0; |
4 | 458 |
AmmoType: amPickHammer); |
263 | 459 |
Slot: 6; |
351 | 460 |
TimeAfterTurn: 0; |
461 |
minAngle: 0; |
|
408 | 462 |
maxAngle: 0; |
495 | 463 |
PosCount: 1; |
464 |
PosSprite: sprWater), |
|
80 | 465 |
(NameId: sidSkip; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
466 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
467 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
468 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 469 |
Count: AMMO_INFINITE; |
470 |
NumPerTurn: 0; |
|
471 |
Timer: 0; |
|
408 | 472 |
Pos: 0; |
4 | 473 |
AmmoType: amSkip); |
263 | 474 |
Slot: 8; |
351 | 475 |
TimeAfterTurn: 0; |
476 |
minAngle: 0; |
|
408 | 477 |
maxAngle: 0; |
495 | 478 |
PosCount: 1; |
479 |
PosSprite: sprWater), |
|
80 | 480 |
(NameId: sidRope; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
481 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
482 |
NumberInCase: 3; |
263 | 483 |
Ammo: (Propz: ammoprop_ForwMsgs or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
484 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
485 |
ammoprop_DontHold; |
4 | 486 |
Count: 5; |
487 |
NumPerTurn: 0; |
|
488 |
Timer: 0; |
|
408 | 489 |
Pos: 0; |
4 | 490 |
AmmoType: amRope); |
263 | 491 |
Slot: 7; |
304 | 492 |
TimeAfterTurn: 0; |
351 | 493 |
minAngle: 0; |
408 | 494 |
maxAngle: cMaxAngle div 2; |
495 | 495 |
PosCount: 1; |
496 |
PosSprite: sprWater), |
|
80 | 497 |
(NameId: sidMine; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
498 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
499 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
500 |
Ammo: (Propz: ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
501 |
ammoprop_DontHold; |
56 | 502 |
Count: 2; |
10 | 503 |
NumPerTurn: 0; |
504 |
Timer: 0; |
|
408 | 505 |
Pos: 0; |
10 | 506 |
AmmoType: amMine); |
79 | 507 |
Slot: 4; |
351 | 508 |
TimeAfterTurn: 5000; |
509 |
minAngle: 0; |
|
408 | 510 |
maxAngle: 0; |
495 | 511 |
PosCount: 1; |
512 |
PosSprite: sprWater), |
|
80 | 513 |
(NameId: sidDEagle; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
514 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
515 |
NumberInCase: 2; |
37 | 516 |
Ammo: (Propz: 0; |
75 | 517 |
Count: 3; |
37 | 518 |
NumPerTurn: 3; |
519 |
Timer: 0; |
|
408 | 520 |
Pos: 0; |
37 | 521 |
AmmoType: amDEagle); |
522 |
Slot: 2; |
|
351 | 523 |
TimeAfterTurn: 3000; |
524 |
minAngle: 0; |
|
408 | 525 |
maxAngle: 0; |
495 | 526 |
PosCount: 1; |
527 |
PosSprite: sprWater), |
|
408 | 528 |
(NameId: sidDynamite; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
529 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
530 |
NumberInCase: 1; |
408 | 531 |
Ammo: (Propz: ammoprop_NoCrosshair or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
532 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
533 |
ammoprop_DontHold; |
408 | 534 |
Count: 1; |
535 |
NumPerTurn: 0; |
|
536 |
Timer: 0; |
|
537 |
Pos: 0; |
|
538 |
AmmoType: amDynamite); |
|
539 |
Slot: 4; |
|
540 |
TimeAfterTurn: 5000; |
|
351 | 541 |
minAngle: 0; |
408 | 542 |
maxAngle: 0; |
495 | 543 |
PosCount: 1; |
544 |
PosSprite: sprWater), |
|
408 | 545 |
(NameId: sidFirePunch; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
546 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
547 |
NumberInCase: 1; |
408 | 548 |
Ammo: (Propz: ammoprop_NoCrosshair or |
549 |
ammoprop_ForwMsgs or |
|
542 | 550 |
ammoprop_AttackInMove; |
408 | 551 |
Count: AMMO_INFINITE; |
552 |
NumPerTurn: 0; |
|
553 |
Timer: 0; |
|
554 |
Pos: 0; |
|
555 |
AmmoType: amFirePunch); |
|
556 |
Slot: 3; |
|
557 |
TimeAfterTurn: 3000; |
|
558 |
MinAngle: 0; |
|
559 |
maxAngle: 0; |
|
495 | 560 |
PosCount: 1; |
561 |
PosSprite: sprWater), |
|
408 | 562 |
(NameId: sidBaseballBat; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
563 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
564 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
565 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 566 |
Count: 1; |
567 |
NumPerTurn: 0; |
|
568 |
Timer: 0; |
|
569 |
Pos: 0; |
|
570 |
AmmoType: amBaseballBat); |
|
571 |
Slot: 3; |
|
572 |
TimeAfterTurn: 5000; |
|
351 | 573 |
minAngle: 0; |
408 | 574 |
maxAngle: cMaxAngle div 2; |
495 | 575 |
PosCount: 1; |
576 |
PosSprite: sprWater), |
|
211 | 577 |
(NameId: sidParachute; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
578 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
579 |
NumberInCase: 1; |
263 | 580 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 581 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
582 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
583 |
ammoprop_DontHold; |
211 | 584 |
Count: 2; |
585 |
NumPerTurn: 0; |
|
586 |
Timer: 0; |
|
408 | 587 |
Pos: 0; |
211 | 588 |
AmmoType: amParachute); |
263 | 589 |
Slot: 7; |
351 | 590 |
TimeAfterTurn: 0; |
591 |
minAngle: 0; |
|
408 | 592 |
maxAngle: 0; |
495 | 593 |
PosCount: 1; |
594 |
PosSprite: sprWater), |
|
263 | 595 |
(NameId: sidAirAttack; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
596 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
597 |
NumberInCase: 1; |
263 | 598 |
Ammo: (Propz: ammoprop_NoCrosshair or |
599 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
600 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
601 |
ammoprop_DontHold; |
285 | 602 |
Count: 1; |
263 | 603 |
NumPerTurn: 0; |
604 |
Timer: 0; |
|
408 | 605 |
Pos: 0; |
263 | 606 |
AmmoType: amAirAttack); |
607 |
Slot: 5; |
|
351 | 608 |
TimeAfterTurn: 0; |
609 |
minAngle: 0; |
|
408 | 610 |
maxAngle: 0; |
611 |
PosCount: 2; |
|
612 |
PosSprite: sprAmAirplane), |
|
285 | 613 |
(NameId: sidMineStrike; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
614 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
615 |
NumberInCase: 1; |
285 | 616 |
Ammo: (Propz: ammoprop_NoCrosshair or |
617 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
618 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
619 |
ammoprop_DontHold; |
285 | 620 |
Count: 1; |
621 |
NumPerTurn: 0; |
|
622 |
Timer: 0; |
|
408 | 623 |
Pos: 0; |
285 | 624 |
AmmoType: amMineStrike); |
625 |
Slot: 5; |
|
351 | 626 |
TimeAfterTurn: 0; |
627 |
minAngle: 0; |
|
408 | 628 |
maxAngle: 0; |
629 |
PosCount: 2; |
|
630 |
PosSprite: sprAmAirplane), |
|
302 | 631 |
(NameId: sidBlowTorch; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
632 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
633 |
NumberInCase: 2; |
302 | 634 |
Ammo: (Propz: ammoprop_ForwMsgs; |
635 |
Count: 1; |
|
636 |
NumPerTurn: 0; |
|
637 |
Timer: 0; |
|
408 | 638 |
Pos: 0; |
302 | 639 |
AmmoType: amBlowTorch); |
640 |
Slot: 6; |
|
304 | 641 |
TimeAfterTurn: 3000; |
305 | 642 |
minAngle: 768; |
408 | 643 |
maxAngle: 1280; |
495 | 644 |
PosCount: 1; |
645 |
PosSprite: sprWater), |
|
409 | 646 |
(NameId: sidGirder; |
647 |
Probability: 400; |
|
411 | 648 |
NumberInCase: 3; |
409 | 649 |
Ammo: (Propz: ammoprop_NoCrosshair or |
650 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
651 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
652 |
ammoprop_DontHold; |
409 | 653 |
Count: 1; |
654 |
NumPerTurn: 0; |
|
655 |
Timer: 0; |
|
656 |
Pos: 0; |
|
657 |
AmmoType: amGirder); |
|
658 |
Slot: 6; |
|
659 |
TimeAfterTurn: 3000; |
|
660 |
minAngle: 0; |
|
661 |
maxAngle: 0; |
|
423 | 662 |
PosCount: 8; |
520 | 663 |
PosSprite: sprAmGirder), |
664 |
(NameId: sidTeleport; |
|
665 |
Probability: 400; |
|
666 |
NumberInCase: 1; |
|
525 | 667 |
Ammo: (Propz: ammoprop_ForwMsgs or |
668 |
ammoprop_NoCrosshair or |
|
520 | 669 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
670 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
671 |
ammoprop_DontHold; |
520 | 672 |
Count: 2; |
673 |
NumPerTurn: 0; |
|
674 |
Timer: 0; |
|
675 |
Pos: 0; |
|
676 |
AmmoType: amTeleport); |
|
677 |
Slot: 7; |
|
678 |
TimeAfterTurn: 0; |
|
679 |
minAngle: 0; |
|
680 |
maxAngle: 0; |
|
681 |
PosCount: 1; |
|
534 | 682 |
PosSprite: sprWater), |
683 |
(NameId: sidSwitch; |
|
684 |
Probability: 100; |
|
685 |
NumberInCase: 1; |
|
686 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
687 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
688 |
ammoprop_DontHold; |
534 | 689 |
Count: 3; |
690 |
NumPerTurn: 0; |
|
691 |
Timer: 0; |
|
692 |
Pos: 0; |
|
693 |
AmmoType: amSwitch); |
|
694 |
Slot: 8; |
|
695 |
TimeAfterTurn: 0; |
|
696 |
minAngle: 0; |
|
697 |
maxAngle: 0; |
|
698 |
PosCount: 1; |
|
520 | 699 |
PosSprite: sprWater)); |
37 | 700 |
|
4 | 701 |
implementation |
702 |
||
703 |
end. |