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