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