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