author | unc0rr |
Sat, 21 Jul 2007 16:35:12 +0000 | |
changeset 567 | b6de36975a3c |
parent 560 | 7bf2b554de0c |
child 568 | d0690b7aa808 |
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, |
43 |
sprSwitch); |
|
282 | 44 |
|
4 | 45 |
TGearType = (gtCloud, gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, |
83 | 46 |
gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, |
49 | 47 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, |
82 | 48 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, |
211 | 49 |
gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, |
520 | 50 |
gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, |
534 | 51 |
gtTeleport, gtSmallDamage, gtSwitcher); |
282 | 52 |
|
16 | 53 |
TGearsType = set of TGearType; |
282 | 54 |
|
55 |
TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, |
|
56 |
sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact, |
|
560 | 57 |
sndMineTick, sndPickhammer, sndGun, sndUFO); |
282 | 58 |
|
82 | 59 |
TAmmoType = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer, |
60 |
amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, |
|
409 | 61 |
amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch, |
534 | 62 |
amGirder, amTeleport, amSwitch); |
282 | 63 |
|
522 | 64 |
THWFont = (fnt16, fntBig, fntSmall); |
282 | 65 |
|
174 | 66 |
TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume); |
282 | 67 |
|
307 | 68 |
TStatInfoType = (siGameResult, siMaxStepDamage, siKilledHHs); |
306 | 69 |
|
4 | 70 |
THHFont = record |
71 |
Handle: PTTF_Font; |
|
371 | 72 |
Height: LongInt; |
73 |
style: LongInt; |
|
4 | 74 |
Name: string[15]; |
75 |
end; |
|
282 | 76 |
|
4 | 77 |
TAmmo = record |
78 |
Propz: LongWord; |
|
79 |
Count: LongWord; |
|
80 |
NumPerTurn: LongWord; |
|
81 |
Timer: LongWord; |
|
408 | 82 |
Pos: LongWord; |
4 | 83 |
AmmoType: TAmmoType; |
84 |
end; |
|
85 |
||
86 |
||
105 | 87 |
const |
43 | 88 |
errmsgCreateSurface = 'Error creating SDL surface'; |
4 | 89 |
errmsgTransparentSet = 'Error setting transparent color'; |
90 |
errmsgUnknownCommand = 'Unknown command'; |
|
91 |
errmsgUnknownVariable = 'Unknown variable'; |
|
92 |
errmsgIncorrectUse = 'Incorrect use'; |
|
93 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
94 |
||
95 |
msgLoading = 'Loading '; |
|
96 |
msgOK = 'ok'; |
|
97 |
msgFailed = 'failed'; |
|
98 |
msgGettingConfig = 'Getting game config...'; |
|
99 |
||
100 |
const |
|
304 | 101 |
cMaxPower = 1500; |
102 |
cMaxAngle = 2048; |
|
103 |
cPowerDivisor = 1500; |
|
104 |
||
74 | 105 |
MAXNAMELEN = 32; |
106 |
||
64 | 107 |
COLOR_LAND = $00FFFFFF; |
108 |
||
55
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
109 |
cifRandomize = $00000001; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
110 |
cifTheme = $00000002; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
111 |
cifMap = $00000002; // either theme or map (or map+theme) |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
112 |
cifAllInited = cifRandomize or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
113 |
cifTheme or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
114 |
cifMap; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
115 |
|
188 | 116 |
cTransparentColor: Longword = $000000; |
4 | 117 |
|
547 | 118 |
cMaxTeams = 6; |
109 | 119 |
cMaxHHIndex = 7; |
423 | 120 |
cMaxHHs = 30; |
53 | 121 |
cMaxSpawnPoints = 1024; |
4 | 122 |
|
22 | 123 |
cMaxEdgePoints = 16384; |
124 |
||
53 | 125 |
cHHRadius = 9; |
70 | 126 |
cHHStepTicks = 38; |
509 | 127 |
|
294 | 128 |
cHHZ = 1000; |
129 |
cCurrHHZ = Succ(cHHZ); |
|
4 | 130 |
|
509 | 131 |
cShotgunRadius = 22; |
511 | 132 |
cBlowTorchC = 6; |
509 | 133 |
|
109 | 134 |
cKeyMaxIndex = 1023; |
4 | 135 |
|
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
136 |
cMaxCaptions = 4; |
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
137 |
|
4 | 138 |
cInactDelay = 1500; |
139 |
||
140 |
gfForts = $00000001; |
|
141 |
||
142 |
gstDrowning = $00000001; |
|
143 |
gstHHDriven = $00000002; |
|
144 |
gstMoving = $00000004; |
|
145 |
gstAttacked = $00000008; |
|
146 |
gstAttacking = $00000010; |
|
147 |
gstCollision = $00000020; |
|
148 |
gstHHChooseTarget = $00000040; |
|
149 |
gstHHJumping = $00000100; |
|
150 |
gsttmpFlag = $00000200; |
|
151 |
gstHHThinking = $00000800; |
|
79 | 152 |
gstNoDamage = $00001000; |
424 | 153 |
gstHHHJump = $00002000; |
511 | 154 |
gstAnimation = $00004000; |
4 | 155 |
|
156 |
gm_Left = $00000001; |
|
157 |
gm_Right = $00000002; |
|
158 |
gm_Up = $00000004; |
|
159 |
gm_Down = $00000008; |
|
160 |
gm_Switch = $00000010; |
|
161 |
gm_Attack = $00000020; |
|
162 |
gm_LJump = $00000040; |
|
163 |
gm_HJump = $00000080; |
|
164 |
gm_Destroy= $00000100; |
|
165 |
||
263 | 166 |
cMaxSlotIndex = 8; |
409 | 167 |
cMaxSlotAmmoIndex = 2; |
4 | 168 |
|
169 |
ammoprop_Timerable = $00000001; |
|
170 |
ammoprop_Power = $00000002; |
|
171 |
ammoprop_NeedTarget = $00000004; |
|
172 |
ammoprop_ForwMsgs = $00000008; |
|
542 | 173 |
ammoprop_AttackInMove = $00000010; |
13 | 174 |
ammoprop_NoCrosshair = $00000040; |
263 | 175 |
ammoprop_AttackingPut = $00000080; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
176 |
ammoprop_DontHold = $00000100; |
4 | 177 |
AMMO_INFINITE = High(LongWord); |
178 |
||
42 | 179 |
EXPLAllDamageInRadius = $00000001; |
180 |
EXPLAutoSound = $00000002; |
|
181 |
EXPLNoDamage = $00000004; |
|
182 |
EXPLDoNotTouchHH = $00000008; |
|
305 | 183 |
EXPLDontDraw = $00000010; |
42 | 184 |
|
185 |
posCaseAmmo = $00000001; |
|
186 |
posCaseHealth = $00000002; |
|
4 | 187 |
|
371 | 188 |
NoPointX = Low(LongInt); |
4 | 189 |
|
74 | 190 |
cHHFileName = 'Hedgehog'; |
191 |
cCHFileName = 'Crosshair'; |
|
4 | 192 |
cThemeCFGFilename = 'theme.cfg'; |
193 |
||
194 |
Fontz: array[THWFont] of THHFont = ( |
|
351 | 195 |
(Handle: nil; |
196 |
Height: 12; |
|
202 | 197 |
style: TTF_STYLE_NORMAL; |
74 | 198 |
Name: 'DejaVuSans.ttf'), |
351 | 199 |
(Handle: nil; |
200 |
Height: 24; |
|
202 | 201 |
style: TTF_STYLE_NORMAL; |
522 | 202 |
Name: 'DejaVuSans.ttf'), |
203 |
(Handle: nil; |
|
204 |
Height: 10; |
|
205 |
style: TTF_STYLE_NORMAL; |
|
74 | 206 |
Name: 'DejaVuSans.ttf') |
4 | 207 |
); |
208 |
||
202 | 209 |
FontBorder = 2; |
210 |
||
99 | 211 |
PathPrefix: string = './'; |
212 |
Pathz: array[TPathType] of string = ( |
|
80 | 213 |
'', // ptNone |
267 | 214 |
'', // ptData |
215 |
'Graphics', // ptGraphics |
|
216 |
'Themes', // ptThemes |
|
217 |
'Themes/avematan', // ptCurrTheme |
|
218 |
'Teams', // ptTeams |
|
219 |
'Maps', // ptMaps |
|
53 | 220 |
'', // ptMapCurrent |
267 | 221 |
'Demos', // ptDemos |
222 |
'Sounds', // ptSounds |
|
223 |
'Graphics/Graves', // ptGraves |
|
224 |
'Fonts', // ptFonts |
|
225 |
'Forts', // ptForts |
|
226 |
'Locale', // ptLocale |
|
227 |
'Graphics/AmmoMenu' // ptAmmoMenu |
|
4 | 228 |
); |
229 |
||
230 |
StuffLoadData: array[TStuff] of record |
|
231 |
FileName: String[31]; |
|
232 |
Path : TPathType; |
|
233 |
end = ( |
|
74 | 234 |
(FileName: 'Console'; Path: ptGraphics ), // sConsoleBG |
235 |
(FileName: 'PowerBar'; Path: ptGraphics ), // sPowerBar |
|
236 |
(FileName: 'thinking'; Path: ptGraphics ), // sQuestion |
|
237 |
(FileName: 'WindBar'; Path: ptGraphics ), // sWindBar |
|
238 |
(FileName: 'WindL'; Path: ptGraphics ), // sWindL |
|
239 |
(FileName: 'WindR'; Path: ptGraphics ), // sWindR |
|
240 |
(FileName: 'RopeNode'; Path: ptGraphics ) // sRopeNode |
|
4 | 241 |
); |
242 |
StuffPoz: array[TStuff] of TSDL_Rect = ( |
|
243 |
(x: 256; y: 256; w: 256; h: 256), // sConsoleBG |
|
244 |
(x: 256; y: 768; w: 256; h: 32), // sPowerBar |
|
5 | 245 |
(x: 256; y: 512; w: 32; h: 32), // sQuestion |
246 |
(x: 256; y: 800; w: 151; h: 17), // sWindBar |
|
247 |
(x: 256; y: 817; w: 80; h: 13), // sWindL |
|
35 | 248 |
(x: 336; y: 817; w: 80; h: 13), // sWindR |
249 |
(x: 256; y: 544; w: 6; h: 6) // sRopeNode |
|
4 | 250 |
); |
251 |
SpritesData: array[TSprite] of record |
|
35 | 252 |
FileName: String[31]; |
80 | 253 |
Path, AltPath: TPathType; |
35 | 254 |
Surface : PSDL_Surface; |
371 | 255 |
Width, Height: LongInt; |
35 | 256 |
hasAlpha: boolean; |
257 |
end = ( |
|
351 | 258 |
(FileName: 'BlueWater'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
259 |
Width: 256; Height: 48; hasAlpha: false),// sprWater |
|
260 |
(FileName: 'Clouds'; Path: ptCurrTheme; AltPath: ptGraphics; Surface: nil; |
|
261 |
Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
262 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
263 |
Width: 16; Height: 16; hasAlpha: false),// sprBomb |
|
264 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
265 |
Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
266 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
267 |
Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
268 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
446 | 269 |
Width: 65; Height: 65; hasAlpha: true),// sprLag |
351 | 270 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
271 |
Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
272 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
273 |
Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
274 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
275 |
Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
276 |
(FileName: 'UFO'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
277 |
Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
278 |
(FileName:'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
279 |
Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
280 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
281 |
Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
282 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
283 |
Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
284 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
285 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
286 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
287 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
288 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
289 |
Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
290 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
291 |
Width: 48; Height: 48; hasAlpha: false),// sprFAid |
|
292 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
293 |
Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
|
294 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
295 |
Width: 32; Height: 32; hasAlpha: true),// sprPower |
|
296 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
297 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
298 |
(FileName:'ClParticle'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
299 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
|
300 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
301 |
Width: 16; Height: 16; hasAlpha: false),// sprFlame |
|
302 |
(FileName: 'horizont'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
303 |
Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
304 |
(FileName: 'Sky'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
305 |
Width: 0; Height: 0; hasAlpha: false),// sprSky |
|
306 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
307 |
Width: 202; Height: 1; hasAlpha: false),// sprAMBorders |
|
308 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
309 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlot |
|
310 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
311 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName |
|
312 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
313 |
Width: 32; Height: 32; hasAlpha: false),// sprAMAmmos |
|
314 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
315 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSlotKeys |
|
316 |
(FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
317 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSelection |
|
318 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
319 |
Width: 32; Height: 48; hasAlpha: false),// sprFinger |
|
320 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
321 |
Width: 32; Height: 32; hasAlpha: false),// sprAirBomb |
|
322 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
408 | 323 |
Width: 125; Height: 42; hasAlpha: false),// sprAirplane |
324 |
(FileName:'amAirplane'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
409 | 325 |
Width: 64; Height: 32; hasAlpha: true),// sprAirplane |
326 |
(FileName: 'amGirder'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
520 | 327 |
Width: 160; Height:160; hasAlpha: false),// sprAmGirder |
328 |
(FileName: 'hhMask'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
534 | 329 |
Width: 32; Height: 32; hasAlpha: false),// sprHHTelepMask |
330 |
(FileName: 'Switch'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
331 |
Width: 32; Height: 32; hasAlpha: false) // sprSwitch |
|
35 | 332 |
); |
567 | 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. |