author | unc0rr |
Sat, 22 Sep 2007 09:49:55 +0000 | |
changeset 605 | 2651c3fe4567 |
parent 601 | 78a68cc4d846 |
child 614 | 0e04504bc140 |
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 |
||
601
78a68cc4d846
Special game mode allowing the only clan on map for training mode
unc0rr
parents:
590
diff
changeset
|
140 |
gfForts = $00000001; |
78a68cc4d846
Special game mode allowing the only clan on map for training mode
unc0rr
parents:
590
diff
changeset
|
141 |
gfOneClanMode = $10000000; |
4 | 142 |
|
143 |
gstDrowning = $00000001; |
|
144 |
gstHHDriven = $00000002; |
|
145 |
gstMoving = $00000004; |
|
146 |
gstAttacked = $00000008; |
|
147 |
gstAttacking = $00000010; |
|
148 |
gstCollision = $00000020; |
|
149 |
gstHHChooseTarget = $00000040; |
|
150 |
gstHHJumping = $00000100; |
|
151 |
gsttmpFlag = $00000200; |
|
152 |
gstHHThinking = $00000800; |
|
79 | 153 |
gstNoDamage = $00001000; |
424 | 154 |
gstHHHJump = $00002000; |
511 | 155 |
gstAnimation = $00004000; |
4 | 156 |
|
157 |
gm_Left = $00000001; |
|
158 |
gm_Right = $00000002; |
|
159 |
gm_Up = $00000004; |
|
160 |
gm_Down = $00000008; |
|
161 |
gm_Switch = $00000010; |
|
162 |
gm_Attack = $00000020; |
|
163 |
gm_LJump = $00000040; |
|
164 |
gm_HJump = $00000080; |
|
165 |
gm_Destroy= $00000100; |
|
166 |
||
263 | 167 |
cMaxSlotIndex = 8; |
409 | 168 |
cMaxSlotAmmoIndex = 2; |
4 | 169 |
|
170 |
ammoprop_Timerable = $00000001; |
|
171 |
ammoprop_Power = $00000002; |
|
172 |
ammoprop_NeedTarget = $00000004; |
|
173 |
ammoprop_ForwMsgs = $00000008; |
|
542 | 174 |
ammoprop_AttackInMove = $00000010; |
13 | 175 |
ammoprop_NoCrosshair = $00000040; |
263 | 176 |
ammoprop_AttackingPut = $00000080; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
177 |
ammoprop_DontHold = $00000100; |
4 | 178 |
AMMO_INFINITE = High(LongWord); |
179 |
||
42 | 180 |
EXPLAllDamageInRadius = $00000001; |
181 |
EXPLAutoSound = $00000002; |
|
182 |
EXPLNoDamage = $00000004; |
|
183 |
EXPLDoNotTouchHH = $00000008; |
|
305 | 184 |
EXPLDontDraw = $00000010; |
42 | 185 |
|
186 |
posCaseAmmo = $00000001; |
|
187 |
posCaseHealth = $00000002; |
|
4 | 188 |
|
371 | 189 |
NoPointX = Low(LongInt); |
4 | 190 |
|
74 | 191 |
cHHFileName = 'Hedgehog'; |
192 |
cCHFileName = 'Crosshair'; |
|
4 | 193 |
cThemeCFGFilename = 'theme.cfg'; |
194 |
||
195 |
Fontz: array[THWFont] of THHFont = ( |
|
351 | 196 |
(Handle: nil; |
197 |
Height: 12; |
|
202 | 198 |
style: TTF_STYLE_NORMAL; |
74 | 199 |
Name: 'DejaVuSans.ttf'), |
351 | 200 |
(Handle: nil; |
201 |
Height: 24; |
|
202 | 202 |
style: TTF_STYLE_NORMAL; |
522 | 203 |
Name: 'DejaVuSans.ttf'), |
204 |
(Handle: nil; |
|
205 |
Height: 10; |
|
206 |
style: TTF_STYLE_NORMAL; |
|
74 | 207 |
Name: 'DejaVuSans.ttf') |
4 | 208 |
); |
209 |
||
202 | 210 |
FontBorder = 2; |
211 |
||
99 | 212 |
PathPrefix: string = './'; |
213 |
Pathz: array[TPathType] of string = ( |
|
80 | 214 |
'', // ptNone |
267 | 215 |
'', // ptData |
216 |
'Graphics', // ptGraphics |
|
217 |
'Themes', // ptThemes |
|
218 |
'Themes/avematan', // ptCurrTheme |
|
219 |
'Teams', // ptTeams |
|
220 |
'Maps', // ptMaps |
|
53 | 221 |
'', // ptMapCurrent |
267 | 222 |
'Demos', // ptDemos |
223 |
'Sounds', // ptSounds |
|
224 |
'Graphics/Graves', // ptGraves |
|
225 |
'Fonts', // ptFonts |
|
226 |
'Forts', // ptForts |
|
227 |
'Locale', // ptLocale |
|
228 |
'Graphics/AmmoMenu' // ptAmmoMenu |
|
4 | 229 |
); |
230 |
||
231 |
StuffLoadData: array[TStuff] of record |
|
232 |
FileName: String[31]; |
|
233 |
Path : TPathType; |
|
234 |
end = ( |
|
74 | 235 |
(FileName: 'Console'; Path: ptGraphics ), // sConsoleBG |
236 |
(FileName: 'PowerBar'; Path: ptGraphics ), // sPowerBar |
|
237 |
(FileName: 'thinking'; Path: ptGraphics ), // sQuestion |
|
238 |
(FileName: 'WindBar'; Path: ptGraphics ), // sWindBar |
|
239 |
(FileName: 'WindL'; Path: ptGraphics ), // sWindL |
|
240 |
(FileName: 'WindR'; Path: ptGraphics ), // sWindR |
|
241 |
(FileName: 'RopeNode'; Path: ptGraphics ) // sRopeNode |
|
4 | 242 |
); |
243 |
StuffPoz: array[TStuff] of TSDL_Rect = ( |
|
244 |
(x: 256; y: 256; w: 256; h: 256), // sConsoleBG |
|
245 |
(x: 256; y: 768; w: 256; h: 32), // sPowerBar |
|
5 | 246 |
(x: 256; y: 512; w: 32; h: 32), // sQuestion |
247 |
(x: 256; y: 800; w: 151; h: 17), // sWindBar |
|
248 |
(x: 256; y: 817; w: 80; h: 13), // sWindL |
|
35 | 249 |
(x: 336; y: 817; w: 80; h: 13), // sWindR |
250 |
(x: 256; y: 544; w: 6; h: 6) // sRopeNode |
|
4 | 251 |
); |
252 |
SpritesData: array[TSprite] of record |
|
35 | 253 |
FileName: String[31]; |
80 | 254 |
Path, AltPath: TPathType; |
35 | 255 |
Surface : PSDL_Surface; |
371 | 256 |
Width, Height: LongInt; |
35 | 257 |
hasAlpha: boolean; |
258 |
end = ( |
|
351 | 259 |
(FileName: 'BlueWater'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
260 |
Width: 256; Height: 48; hasAlpha: false),// sprWater |
|
261 |
(FileName: 'Clouds'; Path: ptCurrTheme; AltPath: ptGraphics; Surface: nil; |
|
262 |
Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
263 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
264 |
Width: 16; Height: 16; hasAlpha: false),// sprBomb |
|
265 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
266 |
Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
267 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
268 |
Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
269 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
446 | 270 |
Width: 65; Height: 65; hasAlpha: true),// sprLag |
351 | 271 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
272 |
Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
273 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
274 |
Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
275 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
276 |
Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
277 |
(FileName: 'UFO'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
278 |
Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
279 |
(FileName:'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
280 |
Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
281 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
282 |
Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
283 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
284 |
Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
285 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
286 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
287 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
288 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
289 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
290 |
Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
291 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
292 |
Width: 48; Height: 48; hasAlpha: false),// sprFAid |
|
293 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
294 |
Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
|
295 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
296 |
Width: 32; Height: 32; hasAlpha: true),// sprPower |
|
297 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
298 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
299 |
(FileName:'ClParticle'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
300 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
|
301 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
302 |
Width: 16; Height: 16; hasAlpha: false),// sprFlame |
|
303 |
(FileName: 'horizont'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
304 |
Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
305 |
(FileName: 'Sky'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
306 |
Width: 0; Height: 0; hasAlpha: false),// sprSky |
|
307 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
308 |
Width: 202; Height: 1; hasAlpha: false),// sprAMBorders |
|
309 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
310 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlot |
|
311 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
312 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName |
|
313 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
314 |
Width: 32; Height: 32; hasAlpha: false),// sprAMAmmos |
|
315 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
316 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSlotKeys |
|
317 |
(FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
318 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSelection |
|
319 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
320 |
Width: 32; Height: 48; hasAlpha: false),// sprFinger |
|
321 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
322 |
Width: 32; Height: 32; hasAlpha: false),// sprAirBomb |
|
323 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
408 | 324 |
Width: 125; Height: 42; hasAlpha: false),// sprAirplane |
325 |
(FileName:'amAirplane'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
409 | 326 |
Width: 64; Height: 32; hasAlpha: true),// sprAirplane |
327 |
(FileName: 'amGirder'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
520 | 328 |
Width: 160; Height:160; hasAlpha: false),// sprAmGirder |
329 |
(FileName: 'hhMask'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
534 | 330 |
Width: 32; Height: 32; hasAlpha: false),// sprHHTelepMask |
331 |
(FileName: 'Switch'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
568 | 332 |
Width: 32; Height: 32; hasAlpha: false),// sprSwitch |
333 |
(FileName: 'Parachute'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
590 | 334 |
Width: 48; Height: 48; hasAlpha: true),// sprParachute |
335 |
(FileName: 'Target'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
336 |
Width: 32; Height: 32; hasAlpha:false) // sprTarget |
|
35 | 337 |
); |
567 | 338 |
|
4 | 339 |
Soundz: array[TSound] of record |
340 |
FileName: String[31]; |
|
341 |
Path : TPathType; |
|
342 |
id : PMixChunk; |
|
282 | 343 |
lastChan: LongInt; |
4 | 344 |
end = ( |
467 | 345 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
346 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
347 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
348 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
349 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
350 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
351 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
352 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
353 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
559 | 354 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
560 | 355 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
356 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0) // sndUFO |
|
4 | 357 |
); |
358 |
||
359 |
Ammoz: array [TAmmoType] of record |
|
80 | 360 |
NameId: TAmmoStrId; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
361 |
Probability, NumberInCase: Longword; |
4 | 362 |
Ammo: TAmmo; |
112 | 363 |
Slot: 0..cMaxSlotIndex; |
4 | 364 |
TimeAfterTurn: Longword; |
304 | 365 |
minAngle, maxAngle: Longword; |
408 | 366 |
PosCount: Longword; |
367 |
PosSprite: TSprite; |
|
4 | 368 |
end = ( |
80 | 369 |
(NameId: sidGrenade; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
370 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
371 |
NumberInCase: 1; |
263 | 372 |
Ammo: (Propz: ammoprop_Timerable or |
373 |
ammoprop_Power; |
|
4 | 374 |
Count: AMMO_INFINITE; |
375 |
NumPerTurn: 0; |
|
376 |
Timer: 3000; |
|
408 | 377 |
Pos: 0; |
4 | 378 |
AmmoType: amGrenade); |
10 | 379 |
Slot: 1; |
351 | 380 |
TimeAfterTurn: 3000; |
381 |
minAngle: 0; |
|
408 | 382 |
maxAngle: 0; |
495 | 383 |
PosCount: 1; |
384 |
PosSprite: sprWater), |
|
80 | 385 |
(NameId: sidClusterBomb; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
386 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
387 |
NumberInCase: 3; |
263 | 388 |
Ammo: (Propz: ammoprop_Timerable or |
389 |
ammoprop_Power; |
|
78 | 390 |
Count: 5; |
391 |
NumPerTurn: 0; |
|
392 |
Timer: 3000; |
|
408 | 393 |
Pos: 0; |
78 | 394 |
AmmoType: amClusterBomb); |
395 |
Slot: 1; |
|
351 | 396 |
TimeAfterTurn: 3000; |
397 |
minAngle: 0; |
|
408 | 398 |
maxAngle: 0; |
495 | 399 |
PosCount: 1; |
400 |
PosSprite: sprWater), |
|
80 | 401 |
(NameId: sidBazooka; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
402 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
403 |
NumberInCase: 1; |
4 | 404 |
Ammo: (Propz: ammoprop_Power; |
405 |
Count: AMMO_INFINITE; |
|
406 |
NumPerTurn: 0; |
|
407 |
Timer: 0; |
|
408 | 408 |
Pos: 0; |
4 | 409 |
AmmoType: amBazooka); |
10 | 410 |
Slot: 0; |
351 | 411 |
TimeAfterTurn: 3000; |
412 |
minAngle: 0; |
|
408 | 413 |
maxAngle: 0; |
495 | 414 |
PosCount: 1; |
415 |
PosSprite: sprWater), |
|
80 | 416 |
(NameId: sidUFO; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
417 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
418 |
NumberInCase: 1; |
263 | 419 |
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
|
420 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
421 |
ammoprop_DontHold; |
56 | 422 |
Count: 2; |
4 | 423 |
NumPerTurn: 0; |
424 |
Timer: 0; |
|
408 | 425 |
Pos: 0; |
4 | 426 |
AmmoType: amUFO); |
427 |
Slot: 0; |
|
351 | 428 |
TimeAfterTurn: 3000; |
429 |
minAngle: 0; |
|
408 | 430 |
maxAngle: 0; |
495 | 431 |
PosCount: 1; |
432 |
PosSprite: sprWater), |
|
80 | 433 |
(NameId: sidShotgun; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
434 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
435 |
NumberInCase: 1; |
95 | 436 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 437 |
Count: AMMO_INFINITE; |
438 |
NumPerTurn: 1; |
|
439 |
Timer: 0; |
|
408 | 440 |
Pos: 0; |
4 | 441 |
AmmoType: amShotgun); |
442 |
Slot: 2; |
|
351 | 443 |
TimeAfterTurn: 3000; |
444 |
minAngle: 0; |
|
408 | 445 |
maxAngle: 0; |
495 | 446 |
PosCount: 1; |
447 |
PosSprite: sprWater), |
|
80 | 448 |
(NameId: sidPickHammer; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
449 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
450 |
NumberInCase: 1; |
263 | 451 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 452 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
453 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
454 |
ammoprop_DontHold; |
4 | 455 |
Count: 2; |
456 |
NumPerTurn: 0; |
|
457 |
Timer: 0; |
|
408 | 458 |
Pos: 0; |
4 | 459 |
AmmoType: amPickHammer); |
263 | 460 |
Slot: 6; |
351 | 461 |
TimeAfterTurn: 0; |
462 |
minAngle: 0; |
|
408 | 463 |
maxAngle: 0; |
495 | 464 |
PosCount: 1; |
465 |
PosSprite: sprWater), |
|
80 | 466 |
(NameId: sidSkip; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
467 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
468 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
469 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 470 |
Count: AMMO_INFINITE; |
471 |
NumPerTurn: 0; |
|
472 |
Timer: 0; |
|
408 | 473 |
Pos: 0; |
4 | 474 |
AmmoType: amSkip); |
263 | 475 |
Slot: 8; |
351 | 476 |
TimeAfterTurn: 0; |
477 |
minAngle: 0; |
|
408 | 478 |
maxAngle: 0; |
495 | 479 |
PosCount: 1; |
480 |
PosSprite: sprWater), |
|
80 | 481 |
(NameId: sidRope; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
482 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
483 |
NumberInCase: 3; |
263 | 484 |
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
|
485 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
486 |
ammoprop_DontHold; |
4 | 487 |
Count: 5; |
488 |
NumPerTurn: 0; |
|
489 |
Timer: 0; |
|
408 | 490 |
Pos: 0; |
4 | 491 |
AmmoType: amRope); |
263 | 492 |
Slot: 7; |
304 | 493 |
TimeAfterTurn: 0; |
351 | 494 |
minAngle: 0; |
408 | 495 |
maxAngle: cMaxAngle div 2; |
495 | 496 |
PosCount: 1; |
497 |
PosSprite: sprWater), |
|
80 | 498 |
(NameId: sidMine; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
499 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
500 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
501 |
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
|
502 |
ammoprop_DontHold; |
56 | 503 |
Count: 2; |
10 | 504 |
NumPerTurn: 0; |
505 |
Timer: 0; |
|
408 | 506 |
Pos: 0; |
10 | 507 |
AmmoType: amMine); |
79 | 508 |
Slot: 4; |
351 | 509 |
TimeAfterTurn: 5000; |
510 |
minAngle: 0; |
|
408 | 511 |
maxAngle: 0; |
495 | 512 |
PosCount: 1; |
513 |
PosSprite: sprWater), |
|
80 | 514 |
(NameId: sidDEagle; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
515 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
516 |
NumberInCase: 2; |
37 | 517 |
Ammo: (Propz: 0; |
75 | 518 |
Count: 3; |
37 | 519 |
NumPerTurn: 3; |
520 |
Timer: 0; |
|
408 | 521 |
Pos: 0; |
37 | 522 |
AmmoType: amDEagle); |
523 |
Slot: 2; |
|
351 | 524 |
TimeAfterTurn: 3000; |
525 |
minAngle: 0; |
|
408 | 526 |
maxAngle: 0; |
495 | 527 |
PosCount: 1; |
528 |
PosSprite: sprWater), |
|
408 | 529 |
(NameId: sidDynamite; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
530 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
531 |
NumberInCase: 1; |
408 | 532 |
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
|
533 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
534 |
ammoprop_DontHold; |
408 | 535 |
Count: 1; |
536 |
NumPerTurn: 0; |
|
537 |
Timer: 0; |
|
538 |
Pos: 0; |
|
539 |
AmmoType: amDynamite); |
|
540 |
Slot: 4; |
|
541 |
TimeAfterTurn: 5000; |
|
351 | 542 |
minAngle: 0; |
408 | 543 |
maxAngle: 0; |
495 | 544 |
PosCount: 1; |
545 |
PosSprite: sprWater), |
|
408 | 546 |
(NameId: sidFirePunch; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
547 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
548 |
NumberInCase: 1; |
408 | 549 |
Ammo: (Propz: ammoprop_NoCrosshair or |
550 |
ammoprop_ForwMsgs or |
|
542 | 551 |
ammoprop_AttackInMove; |
408 | 552 |
Count: AMMO_INFINITE; |
553 |
NumPerTurn: 0; |
|
554 |
Timer: 0; |
|
555 |
Pos: 0; |
|
556 |
AmmoType: amFirePunch); |
|
557 |
Slot: 3; |
|
558 |
TimeAfterTurn: 3000; |
|
559 |
MinAngle: 0; |
|
560 |
maxAngle: 0; |
|
495 | 561 |
PosCount: 1; |
562 |
PosSprite: sprWater), |
|
408 | 563 |
(NameId: sidBaseballBat; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
564 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
565 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
566 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 567 |
Count: 1; |
568 |
NumPerTurn: 0; |
|
569 |
Timer: 0; |
|
570 |
Pos: 0; |
|
571 |
AmmoType: amBaseballBat); |
|
572 |
Slot: 3; |
|
573 |
TimeAfterTurn: 5000; |
|
351 | 574 |
minAngle: 0; |
408 | 575 |
maxAngle: cMaxAngle div 2; |
495 | 576 |
PosCount: 1; |
577 |
PosSprite: sprWater), |
|
211 | 578 |
(NameId: sidParachute; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
579 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
580 |
NumberInCase: 1; |
263 | 581 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 582 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
583 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
584 |
ammoprop_DontHold; |
211 | 585 |
Count: 2; |
586 |
NumPerTurn: 0; |
|
587 |
Timer: 0; |
|
408 | 588 |
Pos: 0; |
211 | 589 |
AmmoType: amParachute); |
263 | 590 |
Slot: 7; |
351 | 591 |
TimeAfterTurn: 0; |
592 |
minAngle: 0; |
|
408 | 593 |
maxAngle: 0; |
495 | 594 |
PosCount: 1; |
595 |
PosSprite: sprWater), |
|
263 | 596 |
(NameId: sidAirAttack; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
597 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
598 |
NumberInCase: 1; |
263 | 599 |
Ammo: (Propz: ammoprop_NoCrosshair or |
600 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
601 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
602 |
ammoprop_DontHold; |
285 | 603 |
Count: 1; |
263 | 604 |
NumPerTurn: 0; |
605 |
Timer: 0; |
|
408 | 606 |
Pos: 0; |
263 | 607 |
AmmoType: amAirAttack); |
608 |
Slot: 5; |
|
351 | 609 |
TimeAfterTurn: 0; |
610 |
minAngle: 0; |
|
408 | 611 |
maxAngle: 0; |
612 |
PosCount: 2; |
|
613 |
PosSprite: sprAmAirplane), |
|
285 | 614 |
(NameId: sidMineStrike; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
615 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
616 |
NumberInCase: 1; |
285 | 617 |
Ammo: (Propz: ammoprop_NoCrosshair or |
618 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
619 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
620 |
ammoprop_DontHold; |
285 | 621 |
Count: 1; |
622 |
NumPerTurn: 0; |
|
623 |
Timer: 0; |
|
408 | 624 |
Pos: 0; |
285 | 625 |
AmmoType: amMineStrike); |
626 |
Slot: 5; |
|
351 | 627 |
TimeAfterTurn: 0; |
628 |
minAngle: 0; |
|
408 | 629 |
maxAngle: 0; |
630 |
PosCount: 2; |
|
631 |
PosSprite: sprAmAirplane), |
|
302 | 632 |
(NameId: sidBlowTorch; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
633 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
634 |
NumberInCase: 2; |
302 | 635 |
Ammo: (Propz: ammoprop_ForwMsgs; |
636 |
Count: 1; |
|
637 |
NumPerTurn: 0; |
|
638 |
Timer: 0; |
|
408 | 639 |
Pos: 0; |
302 | 640 |
AmmoType: amBlowTorch); |
641 |
Slot: 6; |
|
304 | 642 |
TimeAfterTurn: 3000; |
305 | 643 |
minAngle: 768; |
408 | 644 |
maxAngle: 1280; |
495 | 645 |
PosCount: 1; |
646 |
PosSprite: sprWater), |
|
409 | 647 |
(NameId: sidGirder; |
648 |
Probability: 400; |
|
411 | 649 |
NumberInCase: 3; |
409 | 650 |
Ammo: (Propz: ammoprop_NoCrosshair or |
651 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
652 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
653 |
ammoprop_DontHold; |
409 | 654 |
Count: 1; |
655 |
NumPerTurn: 0; |
|
656 |
Timer: 0; |
|
657 |
Pos: 0; |
|
658 |
AmmoType: amGirder); |
|
659 |
Slot: 6; |
|
660 |
TimeAfterTurn: 3000; |
|
661 |
minAngle: 0; |
|
662 |
maxAngle: 0; |
|
423 | 663 |
PosCount: 8; |
520 | 664 |
PosSprite: sprAmGirder), |
665 |
(NameId: sidTeleport; |
|
666 |
Probability: 400; |
|
667 |
NumberInCase: 1; |
|
525 | 668 |
Ammo: (Propz: ammoprop_ForwMsgs or |
669 |
ammoprop_NoCrosshair or |
|
520 | 670 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
671 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
672 |
ammoprop_DontHold; |
520 | 673 |
Count: 2; |
674 |
NumPerTurn: 0; |
|
675 |
Timer: 0; |
|
676 |
Pos: 0; |
|
677 |
AmmoType: amTeleport); |
|
678 |
Slot: 7; |
|
679 |
TimeAfterTurn: 0; |
|
680 |
minAngle: 0; |
|
681 |
maxAngle: 0; |
|
682 |
PosCount: 1; |
|
534 | 683 |
PosSprite: sprWater), |
684 |
(NameId: sidSwitch; |
|
685 |
Probability: 100; |
|
686 |
NumberInCase: 1; |
|
687 |
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
|
688 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
689 |
ammoprop_DontHold; |
534 | 690 |
Count: 3; |
691 |
NumPerTurn: 0; |
|
692 |
Timer: 0; |
|
693 |
Pos: 0; |
|
694 |
AmmoType: amSwitch); |
|
695 |
Slot: 8; |
|
696 |
TimeAfterTurn: 0; |
|
697 |
minAngle: 0; |
|
698 |
maxAngle: 0; |
|
699 |
PosCount: 1; |
|
520 | 700 |
PosSprite: sprWater)); |
37 | 701 |
|
4 | 702 |
implementation |
703 |
||
704 |
end. |