author | unc0rr |
Fri, 25 Apr 2008 13:12:52 +0000 | |
changeset 870 | dd418d9c18c5 |
parent 869 | daddcd31ef34 |
child 873 | 9bec5af9b23c |
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, |
870 | 66 |
sndEnemyDown, sndCoward, sndHurry); |
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 |
870 | 412 |
(FileName: 'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown |
413 |
(FileName: 'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward |
|
414 |
(FileName: 'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0) // sndHurry |
|
815 | 415 |
); |
4 | 416 |
|
417 |
Ammoz: array [TAmmoType] of record |
|
80 | 418 |
NameId: TAmmoStrId; |
843 | 419 |
NameTex: PTexture; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
420 |
Probability, NumberInCase: Longword; |
4 | 421 |
Ammo: TAmmo; |
112 | 422 |
Slot: 0..cMaxSlotIndex; |
4 | 423 |
TimeAfterTurn: Longword; |
304 | 424 |
minAngle, maxAngle: Longword; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
425 |
isDamaging: boolean; |
408 | 426 |
PosCount: Longword; |
427 |
PosSprite: TSprite; |
|
4 | 428 |
end = ( |
80 | 429 |
(NameId: sidGrenade; |
843 | 430 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
431 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
432 |
NumberInCase: 1; |
263 | 433 |
Ammo: (Propz: ammoprop_Timerable or |
434 |
ammoprop_Power; |
|
4 | 435 |
Count: AMMO_INFINITE; |
436 |
NumPerTurn: 0; |
|
437 |
Timer: 3000; |
|
408 | 438 |
Pos: 0; |
4 | 439 |
AmmoType: amGrenade); |
10 | 440 |
Slot: 1; |
351 | 441 |
TimeAfterTurn: 3000; |
442 |
minAngle: 0; |
|
408 | 443 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
444 |
isDamaging: true; |
495 | 445 |
PosCount: 1; |
446 |
PosSprite: sprWater), |
|
80 | 447 |
(NameId: sidClusterBomb; |
843 | 448 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
449 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
450 |
NumberInCase: 3; |
263 | 451 |
Ammo: (Propz: ammoprop_Timerable or |
452 |
ammoprop_Power; |
|
78 | 453 |
Count: 5; |
454 |
NumPerTurn: 0; |
|
455 |
Timer: 3000; |
|
408 | 456 |
Pos: 0; |
78 | 457 |
AmmoType: amClusterBomb); |
458 |
Slot: 1; |
|
351 | 459 |
TimeAfterTurn: 3000; |
460 |
minAngle: 0; |
|
408 | 461 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
462 |
isDamaging: true; |
495 | 463 |
PosCount: 1; |
464 |
PosSprite: sprWater), |
|
80 | 465 |
(NameId: sidBazooka; |
843 | 466 |
NameTex: nil; |
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; |
4 | 469 |
Ammo: (Propz: ammoprop_Power; |
470 |
Count: AMMO_INFINITE; |
|
471 |
NumPerTurn: 0; |
|
472 |
Timer: 0; |
|
408 | 473 |
Pos: 0; |
4 | 474 |
AmmoType: amBazooka); |
10 | 475 |
Slot: 0; |
351 | 476 |
TimeAfterTurn: 3000; |
477 |
minAngle: 0; |
|
408 | 478 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
479 |
isDamaging: true; |
495 | 480 |
PosCount: 1; |
481 |
PosSprite: sprWater), |
|
80 | 482 |
(NameId: sidUFO; |
843 | 483 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
484 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
485 |
NumberInCase: 1; |
263 | 486 |
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
|
487 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
488 |
ammoprop_DontHold; |
56 | 489 |
Count: 2; |
4 | 490 |
NumPerTurn: 0; |
491 |
Timer: 0; |
|
408 | 492 |
Pos: 0; |
4 | 493 |
AmmoType: amUFO); |
494 |
Slot: 0; |
|
351 | 495 |
TimeAfterTurn: 3000; |
496 |
minAngle: 0; |
|
408 | 497 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
498 |
isDamaging: true; |
495 | 499 |
PosCount: 1; |
500 |
PosSprite: sprWater), |
|
80 | 501 |
(NameId: sidShotgun; |
843 | 502 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
503 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
504 |
NumberInCase: 1; |
95 | 505 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 506 |
Count: AMMO_INFINITE; |
507 |
NumPerTurn: 1; |
|
508 |
Timer: 0; |
|
408 | 509 |
Pos: 0; |
4 | 510 |
AmmoType: amShotgun); |
511 |
Slot: 2; |
|
351 | 512 |
TimeAfterTurn: 3000; |
513 |
minAngle: 0; |
|
408 | 514 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
515 |
isDamaging: true; |
495 | 516 |
PosCount: 1; |
517 |
PosSprite: sprWater), |
|
80 | 518 |
(NameId: sidPickHammer; |
843 | 519 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
520 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
521 |
NumberInCase: 1; |
263 | 522 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 523 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
524 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
525 |
ammoprop_DontHold; |
4 | 526 |
Count: 2; |
527 |
NumPerTurn: 0; |
|
528 |
Timer: 0; |
|
408 | 529 |
Pos: 0; |
4 | 530 |
AmmoType: amPickHammer); |
263 | 531 |
Slot: 6; |
351 | 532 |
TimeAfterTurn: 0; |
533 |
minAngle: 0; |
|
408 | 534 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
535 |
isDamaging: false; |
495 | 536 |
PosCount: 1; |
537 |
PosSprite: sprWater), |
|
80 | 538 |
(NameId: sidSkip; |
843 | 539 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
540 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
541 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
542 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 543 |
Count: AMMO_INFINITE; |
544 |
NumPerTurn: 0; |
|
545 |
Timer: 0; |
|
408 | 546 |
Pos: 0; |
4 | 547 |
AmmoType: amSkip); |
263 | 548 |
Slot: 8; |
351 | 549 |
TimeAfterTurn: 0; |
550 |
minAngle: 0; |
|
408 | 551 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
552 |
isDamaging: false; |
495 | 553 |
PosCount: 1; |
554 |
PosSprite: sprWater), |
|
80 | 555 |
(NameId: sidRope; |
843 | 556 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
557 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
558 |
NumberInCase: 3; |
263 | 559 |
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
|
560 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
561 |
ammoprop_DontHold; |
4 | 562 |
Count: 5; |
563 |
NumPerTurn: 0; |
|
564 |
Timer: 0; |
|
408 | 565 |
Pos: 0; |
4 | 566 |
AmmoType: amRope); |
263 | 567 |
Slot: 7; |
304 | 568 |
TimeAfterTurn: 0; |
351 | 569 |
minAngle: 0; |
823
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
570 |
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
|
571 |
isDamaging: false; |
495 | 572 |
PosCount: 1; |
573 |
PosSprite: sprWater), |
|
80 | 574 |
(NameId: sidMine; |
843 | 575 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
576 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
577 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
578 |
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
|
579 |
ammoprop_DontHold; |
56 | 580 |
Count: 2; |
10 | 581 |
NumPerTurn: 0; |
582 |
Timer: 0; |
|
408 | 583 |
Pos: 0; |
10 | 584 |
AmmoType: amMine); |
79 | 585 |
Slot: 4; |
351 | 586 |
TimeAfterTurn: 5000; |
587 |
minAngle: 0; |
|
408 | 588 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
589 |
isDamaging: true; |
495 | 590 |
PosCount: 1; |
591 |
PosSprite: sprWater), |
|
80 | 592 |
(NameId: sidDEagle; |
843 | 593 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
594 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
595 |
NumberInCase: 2; |
37 | 596 |
Ammo: (Propz: 0; |
75 | 597 |
Count: 3; |
37 | 598 |
NumPerTurn: 3; |
599 |
Timer: 0; |
|
408 | 600 |
Pos: 0; |
37 | 601 |
AmmoType: amDEagle); |
602 |
Slot: 2; |
|
351 | 603 |
TimeAfterTurn: 3000; |
604 |
minAngle: 0; |
|
408 | 605 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
606 |
isDamaging: true; |
495 | 607 |
PosCount: 1; |
608 |
PosSprite: sprWater), |
|
408 | 609 |
(NameId: sidDynamite; |
843 | 610 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
611 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
612 |
NumberInCase: 1; |
408 | 613 |
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
|
614 |
ammoprop_AttackInMove or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
615 |
ammoprop_DontHold; |
408 | 616 |
Count: 1; |
617 |
NumPerTurn: 0; |
|
618 |
Timer: 0; |
|
619 |
Pos: 0; |
|
620 |
AmmoType: amDynamite); |
|
621 |
Slot: 4; |
|
622 |
TimeAfterTurn: 5000; |
|
351 | 623 |
minAngle: 0; |
408 | 624 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
625 |
isDamaging: true; |
495 | 626 |
PosCount: 1; |
627 |
PosSprite: sprWater), |
|
408 | 628 |
(NameId: sidFirePunch; |
843 | 629 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
630 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
631 |
NumberInCase: 1; |
408 | 632 |
Ammo: (Propz: ammoprop_NoCrosshair or |
633 |
ammoprop_ForwMsgs or |
|
542 | 634 |
ammoprop_AttackInMove; |
408 | 635 |
Count: AMMO_INFINITE; |
636 |
NumPerTurn: 0; |
|
637 |
Timer: 0; |
|
638 |
Pos: 0; |
|
639 |
AmmoType: amFirePunch); |
|
640 |
Slot: 3; |
|
641 |
TimeAfterTurn: 3000; |
|
642 |
MinAngle: 0; |
|
643 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
644 |
isDamaging: true; |
495 | 645 |
PosCount: 1; |
646 |
PosSprite: sprWater), |
|
408 | 647 |
(NameId: sidBaseballBat; |
843 | 648 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
649 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
650 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
651 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 652 |
Count: 1; |
653 |
NumPerTurn: 0; |
|
654 |
Timer: 0; |
|
655 |
Pos: 0; |
|
656 |
AmmoType: amBaseballBat); |
|
657 |
Slot: 3; |
|
658 |
TimeAfterTurn: 5000; |
|
351 | 659 |
minAngle: 0; |
408 | 660 |
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
|
661 |
isDamaging: true; |
495 | 662 |
PosCount: 1; |
663 |
PosSprite: sprWater), |
|
211 | 664 |
(NameId: sidParachute; |
843 | 665 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
666 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
667 |
NumberInCase: 1; |
263 | 668 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 669 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
670 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
671 |
ammoprop_DontHold; |
211 | 672 |
Count: 2; |
673 |
NumPerTurn: 0; |
|
674 |
Timer: 0; |
|
408 | 675 |
Pos: 0; |
211 | 676 |
AmmoType: amParachute); |
263 | 677 |
Slot: 7; |
351 | 678 |
TimeAfterTurn: 0; |
679 |
minAngle: 0; |
|
408 | 680 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
681 |
isDamaging: false; |
495 | 682 |
PosCount: 1; |
683 |
PosSprite: sprWater), |
|
263 | 684 |
(NameId: sidAirAttack; |
843 | 685 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
686 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
687 |
NumberInCase: 1; |
263 | 688 |
Ammo: (Propz: ammoprop_NoCrosshair or |
689 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
690 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
691 |
ammoprop_DontHold; |
285 | 692 |
Count: 1; |
263 | 693 |
NumPerTurn: 0; |
694 |
Timer: 0; |
|
408 | 695 |
Pos: 0; |
263 | 696 |
AmmoType: amAirAttack); |
697 |
Slot: 5; |
|
351 | 698 |
TimeAfterTurn: 0; |
699 |
minAngle: 0; |
|
408 | 700 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
701 |
isDamaging: true; |
408 | 702 |
PosCount: 2; |
703 |
PosSprite: sprAmAirplane), |
|
285 | 704 |
(NameId: sidMineStrike; |
843 | 705 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
706 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
707 |
NumberInCase: 1; |
285 | 708 |
Ammo: (Propz: ammoprop_NoCrosshair or |
709 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
710 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
711 |
ammoprop_DontHold; |
285 | 712 |
Count: 1; |
713 |
NumPerTurn: 0; |
|
714 |
Timer: 0; |
|
408 | 715 |
Pos: 0; |
285 | 716 |
AmmoType: amMineStrike); |
717 |
Slot: 5; |
|
351 | 718 |
TimeAfterTurn: 0; |
719 |
minAngle: 0; |
|
408 | 720 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
721 |
isDamaging: true; |
408 | 722 |
PosCount: 2; |
723 |
PosSprite: sprAmAirplane), |
|
302 | 724 |
(NameId: sidBlowTorch; |
843 | 725 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
726 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
727 |
NumberInCase: 2; |
302 | 728 |
Ammo: (Propz: ammoprop_ForwMsgs; |
729 |
Count: 1; |
|
730 |
NumPerTurn: 0; |
|
731 |
Timer: 0; |
|
408 | 732 |
Pos: 0; |
302 | 733 |
AmmoType: amBlowTorch); |
734 |
Slot: 6; |
|
304 | 735 |
TimeAfterTurn: 3000; |
305 | 736 |
minAngle: 768; |
408 | 737 |
maxAngle: 1280; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
738 |
isDamaging: false; |
495 | 739 |
PosCount: 1; |
740 |
PosSprite: sprWater), |
|
409 | 741 |
(NameId: sidGirder; |
843 | 742 |
NameTex: nil; |
409 | 743 |
Probability: 400; |
411 | 744 |
NumberInCase: 3; |
409 | 745 |
Ammo: (Propz: ammoprop_NoCrosshair or |
746 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
747 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
748 |
ammoprop_DontHold; |
409 | 749 |
Count: 1; |
750 |
NumPerTurn: 0; |
|
751 |
Timer: 0; |
|
752 |
Pos: 0; |
|
753 |
AmmoType: amGirder); |
|
754 |
Slot: 6; |
|
755 |
TimeAfterTurn: 3000; |
|
756 |
minAngle: 0; |
|
757 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
758 |
isDamaging: false; |
423 | 759 |
PosCount: 8; |
520 | 760 |
PosSprite: sprAmGirder), |
761 |
(NameId: sidTeleport; |
|
843 | 762 |
NameTex: nil; |
520 | 763 |
Probability: 400; |
764 |
NumberInCase: 1; |
|
525 | 765 |
Ammo: (Propz: ammoprop_ForwMsgs or |
766 |
ammoprop_NoCrosshair or |
|
520 | 767 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
768 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
769 |
ammoprop_DontHold; |
520 | 770 |
Count: 2; |
771 |
NumPerTurn: 0; |
|
772 |
Timer: 0; |
|
773 |
Pos: 0; |
|
774 |
AmmoType: amTeleport); |
|
775 |
Slot: 7; |
|
776 |
TimeAfterTurn: 0; |
|
777 |
minAngle: 0; |
|
778 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
779 |
isDamaging: false; |
520 | 780 |
PosCount: 1; |
534 | 781 |
PosSprite: sprWater), |
782 |
(NameId: sidSwitch; |
|
843 | 783 |
NameTex: nil; |
534 | 784 |
Probability: 100; |
785 |
NumberInCase: 1; |
|
786 |
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
|
787 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
788 |
ammoprop_DontHold; |
534 | 789 |
Count: 3; |
790 |
NumPerTurn: 0; |
|
791 |
Timer: 0; |
|
792 |
Pos: 0; |
|
793 |
AmmoType: amSwitch); |
|
794 |
Slot: 8; |
|
795 |
TimeAfterTurn: 0; |
|
796 |
minAngle: 0; |
|
797 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
798 |
isDamaging: false; |
534 | 799 |
PosCount: 1; |
520 | 800 |
PosSprite: sprWater)); |
37 | 801 |
|
844 | 802 |
var CountTexz: array[1..9] of PTexture; |
803 |
||
4 | 804 |
implementation |
805 |
||
806 |
end. |