author | displacer |
Thu, 16 Aug 2007 14:10:06 +0000 | |
changeset 571 | a6cea9fbbc59 |
parent 568 | d0690b7aa808 |
child 590 | e816adf4a27f |
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, |
568 | 43 |
sprSwitch, sprParachute); |
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, |
534 | 51 |
gtTeleport, gtSmallDamage, gtSwitcher); |
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; |
|
333 |
Width: 48; Height: 48; hasAlpha: true) // sprParachute |
|
35 | 334 |
); |
567 | 335 |
|
4 | 336 |
Soundz: array[TSound] of record |
337 |
FileName: String[31]; |
|
338 |
Path : TPathType; |
|
339 |
id : PMixChunk; |
|
282 | 340 |
lastChan: LongInt; |
4 | 341 |
end = ( |
467 | 342 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
343 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
344 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
345 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
346 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
347 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
348 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
349 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
350 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
559 | 351 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
560 | 352 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
353 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0) // sndUFO |
|
4 | 354 |
); |
355 |
||
356 |
Ammoz: array [TAmmoType] of record |
|
80 | 357 |
NameId: TAmmoStrId; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
358 |
Probability, NumberInCase: Longword; |
4 | 359 |
Ammo: TAmmo; |
112 | 360 |
Slot: 0..cMaxSlotIndex; |
4 | 361 |
TimeAfterTurn: Longword; |
304 | 362 |
minAngle, maxAngle: Longword; |
408 | 363 |
PosCount: Longword; |
364 |
PosSprite: TSprite; |
|
4 | 365 |
end = ( |
80 | 366 |
(NameId: sidGrenade; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
367 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
368 |
NumberInCase: 1; |
263 | 369 |
Ammo: (Propz: ammoprop_Timerable or |
370 |
ammoprop_Power; |
|
4 | 371 |
Count: AMMO_INFINITE; |
372 |
NumPerTurn: 0; |
|
373 |
Timer: 3000; |
|
408 | 374 |
Pos: 0; |
4 | 375 |
AmmoType: amGrenade); |
10 | 376 |
Slot: 1; |
351 | 377 |
TimeAfterTurn: 3000; |
378 |
minAngle: 0; |
|
408 | 379 |
maxAngle: 0; |
495 | 380 |
PosCount: 1; |
381 |
PosSprite: sprWater), |
|
80 | 382 |
(NameId: sidClusterBomb; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
383 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
384 |
NumberInCase: 3; |
263 | 385 |
Ammo: (Propz: ammoprop_Timerable or |
386 |
ammoprop_Power; |
|
78 | 387 |
Count: 5; |
388 |
NumPerTurn: 0; |
|
389 |
Timer: 3000; |
|
408 | 390 |
Pos: 0; |
78 | 391 |
AmmoType: amClusterBomb); |
392 |
Slot: 1; |
|
351 | 393 |
TimeAfterTurn: 3000; |
394 |
minAngle: 0; |
|
408 | 395 |
maxAngle: 0; |
495 | 396 |
PosCount: 1; |
397 |
PosSprite: sprWater), |
|
80 | 398 |
(NameId: sidBazooka; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
399 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
400 |
NumberInCase: 1; |
4 | 401 |
Ammo: (Propz: ammoprop_Power; |
402 |
Count: AMMO_INFINITE; |
|
403 |
NumPerTurn: 0; |
|
404 |
Timer: 0; |
|
408 | 405 |
Pos: 0; |
4 | 406 |
AmmoType: amBazooka); |
10 | 407 |
Slot: 0; |
351 | 408 |
TimeAfterTurn: 3000; |
409 |
minAngle: 0; |
|
408 | 410 |
maxAngle: 0; |
495 | 411 |
PosCount: 1; |
412 |
PosSprite: sprWater), |
|
80 | 413 |
(NameId: sidUFO; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
414 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
415 |
NumberInCase: 1; |
263 | 416 |
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
|
417 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
418 |
ammoprop_DontHold; |
56 | 419 |
Count: 2; |
4 | 420 |
NumPerTurn: 0; |
421 |
Timer: 0; |
|
408 | 422 |
Pos: 0; |
4 | 423 |
AmmoType: amUFO); |
424 |
Slot: 0; |
|
351 | 425 |
TimeAfterTurn: 3000; |
426 |
minAngle: 0; |
|
408 | 427 |
maxAngle: 0; |
495 | 428 |
PosCount: 1; |
429 |
PosSprite: sprWater), |
|
80 | 430 |
(NameId: sidShotgun; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
431 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
432 |
NumberInCase: 1; |
95 | 433 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 434 |
Count: AMMO_INFINITE; |
435 |
NumPerTurn: 1; |
|
436 |
Timer: 0; |
|
408 | 437 |
Pos: 0; |
4 | 438 |
AmmoType: amShotgun); |
439 |
Slot: 2; |
|
351 | 440 |
TimeAfterTurn: 3000; |
441 |
minAngle: 0; |
|
408 | 442 |
maxAngle: 0; |
495 | 443 |
PosCount: 1; |
444 |
PosSprite: sprWater), |
|
80 | 445 |
(NameId: sidPickHammer; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
446 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
447 |
NumberInCase: 1; |
263 | 448 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 449 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
450 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
451 |
ammoprop_DontHold; |
4 | 452 |
Count: 2; |
453 |
NumPerTurn: 0; |
|
454 |
Timer: 0; |
|
408 | 455 |
Pos: 0; |
4 | 456 |
AmmoType: amPickHammer); |
263 | 457 |
Slot: 6; |
351 | 458 |
TimeAfterTurn: 0; |
459 |
minAngle: 0; |
|
408 | 460 |
maxAngle: 0; |
495 | 461 |
PosCount: 1; |
462 |
PosSprite: sprWater), |
|
80 | 463 |
(NameId: sidSkip; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
464 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
465 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
466 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 467 |
Count: AMMO_INFINITE; |
468 |
NumPerTurn: 0; |
|
469 |
Timer: 0; |
|
408 | 470 |
Pos: 0; |
4 | 471 |
AmmoType: amSkip); |
263 | 472 |
Slot: 8; |
351 | 473 |
TimeAfterTurn: 0; |
474 |
minAngle: 0; |
|
408 | 475 |
maxAngle: 0; |
495 | 476 |
PosCount: 1; |
477 |
PosSprite: sprWater), |
|
80 | 478 |
(NameId: sidRope; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
479 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
480 |
NumberInCase: 3; |
263 | 481 |
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
|
482 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
483 |
ammoprop_DontHold; |
4 | 484 |
Count: 5; |
485 |
NumPerTurn: 0; |
|
486 |
Timer: 0; |
|
408 | 487 |
Pos: 0; |
4 | 488 |
AmmoType: amRope); |
263 | 489 |
Slot: 7; |
304 | 490 |
TimeAfterTurn: 0; |
351 | 491 |
minAngle: 0; |
408 | 492 |
maxAngle: cMaxAngle div 2; |
495 | 493 |
PosCount: 1; |
494 |
PosSprite: sprWater), |
|
80 | 495 |
(NameId: sidMine; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
496 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
497 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
498 |
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
|
499 |
ammoprop_DontHold; |
56 | 500 |
Count: 2; |
10 | 501 |
NumPerTurn: 0; |
502 |
Timer: 0; |
|
408 | 503 |
Pos: 0; |
10 | 504 |
AmmoType: amMine); |
79 | 505 |
Slot: 4; |
351 | 506 |
TimeAfterTurn: 5000; |
507 |
minAngle: 0; |
|
408 | 508 |
maxAngle: 0; |
495 | 509 |
PosCount: 1; |
510 |
PosSprite: sprWater), |
|
80 | 511 |
(NameId: sidDEagle; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
512 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
513 |
NumberInCase: 2; |
37 | 514 |
Ammo: (Propz: 0; |
75 | 515 |
Count: 3; |
37 | 516 |
NumPerTurn: 3; |
517 |
Timer: 0; |
|
408 | 518 |
Pos: 0; |
37 | 519 |
AmmoType: amDEagle); |
520 |
Slot: 2; |
|
351 | 521 |
TimeAfterTurn: 3000; |
522 |
minAngle: 0; |
|
408 | 523 |
maxAngle: 0; |
495 | 524 |
PosCount: 1; |
525 |
PosSprite: sprWater), |
|
408 | 526 |
(NameId: sidDynamite; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
527 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
528 |
NumberInCase: 1; |
408 | 529 |
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
|
530 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
531 |
ammoprop_DontHold; |
408 | 532 |
Count: 1; |
533 |
NumPerTurn: 0; |
|
534 |
Timer: 0; |
|
535 |
Pos: 0; |
|
536 |
AmmoType: amDynamite); |
|
537 |
Slot: 4; |
|
538 |
TimeAfterTurn: 5000; |
|
351 | 539 |
minAngle: 0; |
408 | 540 |
maxAngle: 0; |
495 | 541 |
PosCount: 1; |
542 |
PosSprite: sprWater), |
|
408 | 543 |
(NameId: sidFirePunch; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
544 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
545 |
NumberInCase: 1; |
408 | 546 |
Ammo: (Propz: ammoprop_NoCrosshair or |
547 |
ammoprop_ForwMsgs or |
|
542 | 548 |
ammoprop_AttackInMove; |
408 | 549 |
Count: AMMO_INFINITE; |
550 |
NumPerTurn: 0; |
|
551 |
Timer: 0; |
|
552 |
Pos: 0; |
|
553 |
AmmoType: amFirePunch); |
|
554 |
Slot: 3; |
|
555 |
TimeAfterTurn: 3000; |
|
556 |
MinAngle: 0; |
|
557 |
maxAngle: 0; |
|
495 | 558 |
PosCount: 1; |
559 |
PosSprite: sprWater), |
|
408 | 560 |
(NameId: sidBaseballBat; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
561 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
562 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
563 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 564 |
Count: 1; |
565 |
NumPerTurn: 0; |
|
566 |
Timer: 0; |
|
567 |
Pos: 0; |
|
568 |
AmmoType: amBaseballBat); |
|
569 |
Slot: 3; |
|
570 |
TimeAfterTurn: 5000; |
|
351 | 571 |
minAngle: 0; |
408 | 572 |
maxAngle: cMaxAngle div 2; |
495 | 573 |
PosCount: 1; |
574 |
PosSprite: sprWater), |
|
211 | 575 |
(NameId: sidParachute; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
576 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
577 |
NumberInCase: 1; |
263 | 578 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 579 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
580 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
581 |
ammoprop_DontHold; |
211 | 582 |
Count: 2; |
583 |
NumPerTurn: 0; |
|
584 |
Timer: 0; |
|
408 | 585 |
Pos: 0; |
211 | 586 |
AmmoType: amParachute); |
263 | 587 |
Slot: 7; |
351 | 588 |
TimeAfterTurn: 0; |
589 |
minAngle: 0; |
|
408 | 590 |
maxAngle: 0; |
495 | 591 |
PosCount: 1; |
592 |
PosSprite: sprWater), |
|
263 | 593 |
(NameId: sidAirAttack; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
594 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
595 |
NumberInCase: 1; |
263 | 596 |
Ammo: (Propz: ammoprop_NoCrosshair or |
597 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
598 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
599 |
ammoprop_DontHold; |
285 | 600 |
Count: 1; |
263 | 601 |
NumPerTurn: 0; |
602 |
Timer: 0; |
|
408 | 603 |
Pos: 0; |
263 | 604 |
AmmoType: amAirAttack); |
605 |
Slot: 5; |
|
351 | 606 |
TimeAfterTurn: 0; |
607 |
minAngle: 0; |
|
408 | 608 |
maxAngle: 0; |
609 |
PosCount: 2; |
|
610 |
PosSprite: sprAmAirplane), |
|
285 | 611 |
(NameId: sidMineStrike; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
612 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
613 |
NumberInCase: 1; |
285 | 614 |
Ammo: (Propz: ammoprop_NoCrosshair or |
615 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
616 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
617 |
ammoprop_DontHold; |
285 | 618 |
Count: 1; |
619 |
NumPerTurn: 0; |
|
620 |
Timer: 0; |
|
408 | 621 |
Pos: 0; |
285 | 622 |
AmmoType: amMineStrike); |
623 |
Slot: 5; |
|
351 | 624 |
TimeAfterTurn: 0; |
625 |
minAngle: 0; |
|
408 | 626 |
maxAngle: 0; |
627 |
PosCount: 2; |
|
628 |
PosSprite: sprAmAirplane), |
|
302 | 629 |
(NameId: sidBlowTorch; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
630 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
631 |
NumberInCase: 2; |
302 | 632 |
Ammo: (Propz: ammoprop_ForwMsgs; |
633 |
Count: 1; |
|
634 |
NumPerTurn: 0; |
|
635 |
Timer: 0; |
|
408 | 636 |
Pos: 0; |
302 | 637 |
AmmoType: amBlowTorch); |
638 |
Slot: 6; |
|
304 | 639 |
TimeAfterTurn: 3000; |
305 | 640 |
minAngle: 768; |
408 | 641 |
maxAngle: 1280; |
495 | 642 |
PosCount: 1; |
643 |
PosSprite: sprWater), |
|
409 | 644 |
(NameId: sidGirder; |
645 |
Probability: 400; |
|
411 | 646 |
NumberInCase: 3; |
409 | 647 |
Ammo: (Propz: ammoprop_NoCrosshair or |
648 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
649 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
650 |
ammoprop_DontHold; |
409 | 651 |
Count: 1; |
652 |
NumPerTurn: 0; |
|
653 |
Timer: 0; |
|
654 |
Pos: 0; |
|
655 |
AmmoType: amGirder); |
|
656 |
Slot: 6; |
|
657 |
TimeAfterTurn: 3000; |
|
658 |
minAngle: 0; |
|
659 |
maxAngle: 0; |
|
423 | 660 |
PosCount: 8; |
520 | 661 |
PosSprite: sprAmGirder), |
662 |
(NameId: sidTeleport; |
|
663 |
Probability: 400; |
|
664 |
NumberInCase: 1; |
|
525 | 665 |
Ammo: (Propz: ammoprop_ForwMsgs or |
666 |
ammoprop_NoCrosshair or |
|
520 | 667 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
668 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
669 |
ammoprop_DontHold; |
520 | 670 |
Count: 2; |
671 |
NumPerTurn: 0; |
|
672 |
Timer: 0; |
|
673 |
Pos: 0; |
|
674 |
AmmoType: amTeleport); |
|
675 |
Slot: 7; |
|
676 |
TimeAfterTurn: 0; |
|
677 |
minAngle: 0; |
|
678 |
maxAngle: 0; |
|
679 |
PosCount: 1; |
|
534 | 680 |
PosSprite: sprWater), |
681 |
(NameId: sidSwitch; |
|
682 |
Probability: 100; |
|
683 |
NumberInCase: 1; |
|
684 |
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
|
685 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
686 |
ammoprop_DontHold; |
534 | 687 |
Count: 3; |
688 |
NumPerTurn: 0; |
|
689 |
Timer: 0; |
|
690 |
Pos: 0; |
|
691 |
AmmoType: amSwitch); |
|
692 |
Slot: 8; |
|
693 |
TimeAfterTurn: 0; |
|
694 |
minAngle: 0; |
|
695 |
maxAngle: 0; |
|
696 |
PosCount: 1; |
|
520 | 697 |
PosSprite: sprWater)); |
37 | 698 |
|
4 | 699 |
implementation |
700 |
||
701 |
end. |