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