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