author | unc0rr |
Sun, 30 Dec 2007 15:24:02 +0000 | |
changeset 688 | e4d1fb310a66 |
parent 621 | 8bdbc240f50f |
child 689 | f4ec46c48ed2 |
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} |
688 | 24 |
type TStuff = (sPowerBar, sWindBar, |
25 |
sWindL, sWindR); |
|
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, |
688 | 43 |
sprSwitch, sprParachute, sprTarget, sprRopeNode, sprConsoleBG, |
44 |
sprQuestion); |
|
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 |
StuffLoadData: array[TStuff] of record |
|
234 |
FileName: String[31]; |
|
235 |
Path : TPathType; |
|
236 |
end = ( |
|
74 | 237 |
(FileName: 'PowerBar'; Path: ptGraphics ), // sPowerBar |
238 |
(FileName: 'WindBar'; Path: ptGraphics ), // sWindBar |
|
239 |
(FileName: 'WindL'; Path: ptGraphics ), // sWindL |
|
688 | 240 |
(FileName: 'WindR'; Path: ptGraphics ) // sWindR |
4 | 241 |
); |
242 |
StuffPoz: array[TStuff] of TSDL_Rect = ( |
|
243 |
(x: 256; y: 768; w: 256; h: 32), // sPowerBar |
|
5 | 244 |
(x: 256; y: 800; w: 151; h: 17), // sWindBar |
245 |
(x: 256; y: 817; w: 80; h: 13), // sWindL |
|
688 | 246 |
(x: 336; y: 817; w: 80; h: 13) // sWindR |
4 | 247 |
); |
248 |
SpritesData: array[TSprite] of record |
|
35 | 249 |
FileName: String[31]; |
80 | 250 |
Path, AltPath: TPathType; |
35 | 251 |
Surface : PSDL_Surface; |
371 | 252 |
Width, Height: LongInt; |
35 | 253 |
hasAlpha: boolean; |
254 |
end = ( |
|
688 | 255 |
(FileName: 'BlueWater'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
256 |
Width: 256; Height: 48; hasAlpha: false),// sprWater |
|
257 |
(FileName: 'Clouds'; Path: ptCurrTheme; AltPath: ptGraphics; Surface: nil; |
|
258 |
Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
259 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
260 |
Width: 16; Height: 16; hasAlpha: false),// sprBomb |
|
261 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
262 |
Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
263 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
264 |
Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
265 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
266 |
Width: 65; Height: 65; hasAlpha: true),// sprLag |
|
267 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
268 |
Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
269 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
270 |
Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
271 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
272 |
Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
273 |
(FileName: 'UFO'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
274 |
Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
275 |
(FileName: 'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
276 |
Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
277 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
278 |
Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
279 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
280 |
Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
281 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
282 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
283 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
284 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
285 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
286 |
Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
287 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
288 |
Width: 48; Height: 48; hasAlpha: false),// sprFAid |
|
289 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
290 |
Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
|
291 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
292 |
Width: 32; Height: 32; hasAlpha: true),// sprPower |
|
293 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
294 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
295 |
(FileName: 'ClParticle'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
296 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
|
297 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
298 |
Width: 16; Height: 16; hasAlpha: false),// sprFlame |
|
299 |
(FileName: 'horizont'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
300 |
Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
301 |
(FileName: 'Sky'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
302 |
Width: 0; Height: 0; hasAlpha: false),// sprSky |
|
303 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
304 |
Width: 202; Height: 1; hasAlpha: false),// sprAMBorders |
|
305 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
306 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlot |
|
307 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
308 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName |
|
309 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
310 |
Width: 32; Height: 32; hasAlpha: false),// sprAMAmmos |
|
311 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
312 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSlotKeys |
|
313 |
(FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
314 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSelection |
|
315 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
316 |
Width: 32; Height: 48; hasAlpha: false),// sprFinger |
|
317 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
318 |
Width: 32; Height: 32; hasAlpha: false),// sprAirBomb |
|
319 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
320 |
Width: 125; Height: 42; hasAlpha: false),// sprAirplane |
|
321 |
(FileName: 'amAirplane'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
322 |
Width: 64; Height: 32; hasAlpha: true),// sprAirplane |
|
323 |
(FileName: 'amGirder'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
324 |
Width: 160; Height:160; hasAlpha: false),// sprAmGirder |
|
325 |
(FileName: 'hhMask'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
326 |
Width: 32; Height: 32; hasAlpha: false),// sprHHTelepMask |
|
327 |
(FileName: 'Switch'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
328 |
Width: 32; Height: 32; hasAlpha: false),// sprSwitch |
|
329 |
(FileName: 'Parachute'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
330 |
Width: 48; Height: 48; hasAlpha: true),// sprParachute |
|
331 |
(FileName: 'Target'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
332 |
Width: 32; Height: 32; hasAlpha:false),// sprTarget |
|
333 |
(FileName: 'RopeNode'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
334 |
Width: 6; Height: 6; hasAlpha:false),// sprRopeNode |
|
335 |
(FileName: 'Console'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
336 |
Width: 256; Height:256; hasAlpha:false),// sprConsoleBG |
|
337 |
(FileName: 'thinking'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
338 |
Width: 32; Height: 32; hasAlpha:false) // sprQuestion |
|
35 | 339 |
); |
688 | 340 |
|
4 | 341 |
Soundz: array[TSound] of record |
342 |
FileName: String[31]; |
|
343 |
Path : TPathType; |
|
344 |
id : PMixChunk; |
|
282 | 345 |
lastChan: LongInt; |
4 | 346 |
end = ( |
467 | 347 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
348 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
349 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
350 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
351 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
352 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
353 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
354 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
355 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
559 | 356 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
560 | 357 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
358 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0) // sndUFO |
|
4 | 359 |
); |
360 |
||
361 |
Ammoz: array [TAmmoType] of record |
|
80 | 362 |
NameId: TAmmoStrId; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
363 |
Probability, NumberInCase: Longword; |
4 | 364 |
Ammo: TAmmo; |
112 | 365 |
Slot: 0..cMaxSlotIndex; |
4 | 366 |
TimeAfterTurn: Longword; |
304 | 367 |
minAngle, maxAngle: Longword; |
408 | 368 |
PosCount: Longword; |
369 |
PosSprite: TSprite; |
|
4 | 370 |
end = ( |
80 | 371 |
(NameId: sidGrenade; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
372 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
373 |
NumberInCase: 1; |
263 | 374 |
Ammo: (Propz: ammoprop_Timerable or |
375 |
ammoprop_Power; |
|
4 | 376 |
Count: AMMO_INFINITE; |
377 |
NumPerTurn: 0; |
|
378 |
Timer: 3000; |
|
408 | 379 |
Pos: 0; |
4 | 380 |
AmmoType: amGrenade); |
10 | 381 |
Slot: 1; |
351 | 382 |
TimeAfterTurn: 3000; |
383 |
minAngle: 0; |
|
408 | 384 |
maxAngle: 0; |
495 | 385 |
PosCount: 1; |
386 |
PosSprite: sprWater), |
|
80 | 387 |
(NameId: sidClusterBomb; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
388 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
389 |
NumberInCase: 3; |
263 | 390 |
Ammo: (Propz: ammoprop_Timerable or |
391 |
ammoprop_Power; |
|
78 | 392 |
Count: 5; |
393 |
NumPerTurn: 0; |
|
394 |
Timer: 3000; |
|
408 | 395 |
Pos: 0; |
78 | 396 |
AmmoType: amClusterBomb); |
397 |
Slot: 1; |
|
351 | 398 |
TimeAfterTurn: 3000; |
399 |
minAngle: 0; |
|
408 | 400 |
maxAngle: 0; |
495 | 401 |
PosCount: 1; |
402 |
PosSprite: sprWater), |
|
80 | 403 |
(NameId: sidBazooka; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
404 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
405 |
NumberInCase: 1; |
4 | 406 |
Ammo: (Propz: ammoprop_Power; |
407 |
Count: AMMO_INFINITE; |
|
408 |
NumPerTurn: 0; |
|
409 |
Timer: 0; |
|
408 | 410 |
Pos: 0; |
4 | 411 |
AmmoType: amBazooka); |
10 | 412 |
Slot: 0; |
351 | 413 |
TimeAfterTurn: 3000; |
414 |
minAngle: 0; |
|
408 | 415 |
maxAngle: 0; |
495 | 416 |
PosCount: 1; |
417 |
PosSprite: sprWater), |
|
80 | 418 |
(NameId: sidUFO; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
419 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
420 |
NumberInCase: 1; |
263 | 421 |
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
|
422 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
423 |
ammoprop_DontHold; |
56 | 424 |
Count: 2; |
4 | 425 |
NumPerTurn: 0; |
426 |
Timer: 0; |
|
408 | 427 |
Pos: 0; |
4 | 428 |
AmmoType: amUFO); |
429 |
Slot: 0; |
|
351 | 430 |
TimeAfterTurn: 3000; |
431 |
minAngle: 0; |
|
408 | 432 |
maxAngle: 0; |
495 | 433 |
PosCount: 1; |
434 |
PosSprite: sprWater), |
|
80 | 435 |
(NameId: sidShotgun; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
436 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
437 |
NumberInCase: 1; |
95 | 438 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 439 |
Count: AMMO_INFINITE; |
440 |
NumPerTurn: 1; |
|
441 |
Timer: 0; |
|
408 | 442 |
Pos: 0; |
4 | 443 |
AmmoType: amShotgun); |
444 |
Slot: 2; |
|
351 | 445 |
TimeAfterTurn: 3000; |
446 |
minAngle: 0; |
|
408 | 447 |
maxAngle: 0; |
495 | 448 |
PosCount: 1; |
449 |
PosSprite: sprWater), |
|
80 | 450 |
(NameId: sidPickHammer; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
451 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
452 |
NumberInCase: 1; |
263 | 453 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 454 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
455 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
456 |
ammoprop_DontHold; |
4 | 457 |
Count: 2; |
458 |
NumPerTurn: 0; |
|
459 |
Timer: 0; |
|
408 | 460 |
Pos: 0; |
4 | 461 |
AmmoType: amPickHammer); |
263 | 462 |
Slot: 6; |
351 | 463 |
TimeAfterTurn: 0; |
464 |
minAngle: 0; |
|
408 | 465 |
maxAngle: 0; |
495 | 466 |
PosCount: 1; |
467 |
PosSprite: sprWater), |
|
80 | 468 |
(NameId: sidSkip; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
469 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
470 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
471 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 472 |
Count: AMMO_INFINITE; |
473 |
NumPerTurn: 0; |
|
474 |
Timer: 0; |
|
408 | 475 |
Pos: 0; |
4 | 476 |
AmmoType: amSkip); |
263 | 477 |
Slot: 8; |
351 | 478 |
TimeAfterTurn: 0; |
479 |
minAngle: 0; |
|
408 | 480 |
maxAngle: 0; |
495 | 481 |
PosCount: 1; |
482 |
PosSprite: sprWater), |
|
80 | 483 |
(NameId: sidRope; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
484 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
485 |
NumberInCase: 3; |
263 | 486 |
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
|
487 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
488 |
ammoprop_DontHold; |
4 | 489 |
Count: 5; |
490 |
NumPerTurn: 0; |
|
491 |
Timer: 0; |
|
408 | 492 |
Pos: 0; |
4 | 493 |
AmmoType: amRope); |
263 | 494 |
Slot: 7; |
304 | 495 |
TimeAfterTurn: 0; |
351 | 496 |
minAngle: 0; |
408 | 497 |
maxAngle: cMaxAngle div 2; |
495 | 498 |
PosCount: 1; |
499 |
PosSprite: sprWater), |
|
80 | 500 |
(NameId: sidMine; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
501 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
502 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
503 |
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
|
504 |
ammoprop_DontHold; |
56 | 505 |
Count: 2; |
10 | 506 |
NumPerTurn: 0; |
507 |
Timer: 0; |
|
408 | 508 |
Pos: 0; |
10 | 509 |
AmmoType: amMine); |
79 | 510 |
Slot: 4; |
351 | 511 |
TimeAfterTurn: 5000; |
512 |
minAngle: 0; |
|
408 | 513 |
maxAngle: 0; |
495 | 514 |
PosCount: 1; |
515 |
PosSprite: sprWater), |
|
80 | 516 |
(NameId: sidDEagle; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
517 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
518 |
NumberInCase: 2; |
37 | 519 |
Ammo: (Propz: 0; |
75 | 520 |
Count: 3; |
37 | 521 |
NumPerTurn: 3; |
522 |
Timer: 0; |
|
408 | 523 |
Pos: 0; |
37 | 524 |
AmmoType: amDEagle); |
525 |
Slot: 2; |
|
351 | 526 |
TimeAfterTurn: 3000; |
527 |
minAngle: 0; |
|
408 | 528 |
maxAngle: 0; |
495 | 529 |
PosCount: 1; |
530 |
PosSprite: sprWater), |
|
408 | 531 |
(NameId: sidDynamite; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
532 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
533 |
NumberInCase: 1; |
408 | 534 |
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
|
535 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
536 |
ammoprop_DontHold; |
408 | 537 |
Count: 1; |
538 |
NumPerTurn: 0; |
|
539 |
Timer: 0; |
|
540 |
Pos: 0; |
|
541 |
AmmoType: amDynamite); |
|
542 |
Slot: 4; |
|
543 |
TimeAfterTurn: 5000; |
|
351 | 544 |
minAngle: 0; |
408 | 545 |
maxAngle: 0; |
495 | 546 |
PosCount: 1; |
547 |
PosSprite: sprWater), |
|
408 | 548 |
(NameId: sidFirePunch; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
549 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
550 |
NumberInCase: 1; |
408 | 551 |
Ammo: (Propz: ammoprop_NoCrosshair or |
552 |
ammoprop_ForwMsgs or |
|
542 | 553 |
ammoprop_AttackInMove; |
408 | 554 |
Count: AMMO_INFINITE; |
555 |
NumPerTurn: 0; |
|
556 |
Timer: 0; |
|
557 |
Pos: 0; |
|
558 |
AmmoType: amFirePunch); |
|
559 |
Slot: 3; |
|
560 |
TimeAfterTurn: 3000; |
|
561 |
MinAngle: 0; |
|
562 |
maxAngle: 0; |
|
495 | 563 |
PosCount: 1; |
564 |
PosSprite: sprWater), |
|
408 | 565 |
(NameId: sidBaseballBat; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
566 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
567 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
568 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 569 |
Count: 1; |
570 |
NumPerTurn: 0; |
|
571 |
Timer: 0; |
|
572 |
Pos: 0; |
|
573 |
AmmoType: amBaseballBat); |
|
574 |
Slot: 3; |
|
575 |
TimeAfterTurn: 5000; |
|
351 | 576 |
minAngle: 0; |
408 | 577 |
maxAngle: cMaxAngle div 2; |
495 | 578 |
PosCount: 1; |
579 |
PosSprite: sprWater), |
|
211 | 580 |
(NameId: sidParachute; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
581 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
582 |
NumberInCase: 1; |
263 | 583 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 584 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
585 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
586 |
ammoprop_DontHold; |
211 | 587 |
Count: 2; |
588 |
NumPerTurn: 0; |
|
589 |
Timer: 0; |
|
408 | 590 |
Pos: 0; |
211 | 591 |
AmmoType: amParachute); |
263 | 592 |
Slot: 7; |
351 | 593 |
TimeAfterTurn: 0; |
594 |
minAngle: 0; |
|
408 | 595 |
maxAngle: 0; |
495 | 596 |
PosCount: 1; |
597 |
PosSprite: sprWater), |
|
263 | 598 |
(NameId: sidAirAttack; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
599 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
600 |
NumberInCase: 1; |
263 | 601 |
Ammo: (Propz: ammoprop_NoCrosshair or |
602 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
603 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
604 |
ammoprop_DontHold; |
285 | 605 |
Count: 1; |
263 | 606 |
NumPerTurn: 0; |
607 |
Timer: 0; |
|
408 | 608 |
Pos: 0; |
263 | 609 |
AmmoType: amAirAttack); |
610 |
Slot: 5; |
|
351 | 611 |
TimeAfterTurn: 0; |
612 |
minAngle: 0; |
|
408 | 613 |
maxAngle: 0; |
614 |
PosCount: 2; |
|
615 |
PosSprite: sprAmAirplane), |
|
285 | 616 |
(NameId: sidMineStrike; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
617 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
618 |
NumberInCase: 1; |
285 | 619 |
Ammo: (Propz: ammoprop_NoCrosshair or |
620 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
621 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
622 |
ammoprop_DontHold; |
285 | 623 |
Count: 1; |
624 |
NumPerTurn: 0; |
|
625 |
Timer: 0; |
|
408 | 626 |
Pos: 0; |
285 | 627 |
AmmoType: amMineStrike); |
628 |
Slot: 5; |
|
351 | 629 |
TimeAfterTurn: 0; |
630 |
minAngle: 0; |
|
408 | 631 |
maxAngle: 0; |
632 |
PosCount: 2; |
|
633 |
PosSprite: sprAmAirplane), |
|
302 | 634 |
(NameId: sidBlowTorch; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
635 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
636 |
NumberInCase: 2; |
302 | 637 |
Ammo: (Propz: ammoprop_ForwMsgs; |
638 |
Count: 1; |
|
639 |
NumPerTurn: 0; |
|
640 |
Timer: 0; |
|
408 | 641 |
Pos: 0; |
302 | 642 |
AmmoType: amBlowTorch); |
643 |
Slot: 6; |
|
304 | 644 |
TimeAfterTurn: 3000; |
305 | 645 |
minAngle: 768; |
408 | 646 |
maxAngle: 1280; |
495 | 647 |
PosCount: 1; |
648 |
PosSprite: sprWater), |
|
409 | 649 |
(NameId: sidGirder; |
650 |
Probability: 400; |
|
411 | 651 |
NumberInCase: 3; |
409 | 652 |
Ammo: (Propz: ammoprop_NoCrosshair or |
653 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
654 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
655 |
ammoprop_DontHold; |
409 | 656 |
Count: 1; |
657 |
NumPerTurn: 0; |
|
658 |
Timer: 0; |
|
659 |
Pos: 0; |
|
660 |
AmmoType: amGirder); |
|
661 |
Slot: 6; |
|
662 |
TimeAfterTurn: 3000; |
|
663 |
minAngle: 0; |
|
664 |
maxAngle: 0; |
|
423 | 665 |
PosCount: 8; |
520 | 666 |
PosSprite: sprAmGirder), |
667 |
(NameId: sidTeleport; |
|
668 |
Probability: 400; |
|
669 |
NumberInCase: 1; |
|
525 | 670 |
Ammo: (Propz: ammoprop_ForwMsgs or |
671 |
ammoprop_NoCrosshair or |
|
520 | 672 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
673 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
674 |
ammoprop_DontHold; |
520 | 675 |
Count: 2; |
676 |
NumPerTurn: 0; |
|
677 |
Timer: 0; |
|
678 |
Pos: 0; |
|
679 |
AmmoType: amTeleport); |
|
680 |
Slot: 7; |
|
681 |
TimeAfterTurn: 0; |
|
682 |
minAngle: 0; |
|
683 |
maxAngle: 0; |
|
684 |
PosCount: 1; |
|
534 | 685 |
PosSprite: sprWater), |
686 |
(NameId: sidSwitch; |
|
687 |
Probability: 100; |
|
688 |
NumberInCase: 1; |
|
689 |
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
|
690 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
691 |
ammoprop_DontHold; |
534 | 692 |
Count: 3; |
693 |
NumPerTurn: 0; |
|
694 |
Timer: 0; |
|
695 |
Pos: 0; |
|
696 |
AmmoType: amSwitch); |
|
697 |
Slot: 8; |
|
698 |
TimeAfterTurn: 0; |
|
699 |
minAngle: 0; |
|
700 |
maxAngle: 0; |
|
701 |
PosCount: 1; |
|
520 | 702 |
PosSprite: sprWater)); |
37 | 703 |
|
4 | 704 |
implementation |
705 |
||
706 |
end. |