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