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