author | unc0rr |
Wed, 28 May 2008 18:54:45 +0000 | |
changeset 959 | 18b05fc2d0a6 |
parent 954 | 0cc31e998f4e |
child 961 | a9a349b2b3fa |
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 |
|
946 | 26 |
TGameState = (gsLandGen, gsStart, gsGame, gsConsole, gsChat, 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, |
959 | 47 |
sprShotgun, sprDEagle, sprHHIdle, sprMortar); |
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; |
|
954 | 386 |
Width: 64; Height: 64; saveSurf: false),// sprDEagle |
387 |
(FileName: 'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
959 | 388 |
Width: 32; Height: 32; saveSurf: false),// sprHHIdle |
389 |
(FileName: 'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
390 |
Width: 16; Height: 16; saveSurf: false) // sprMortar |
|
35 | 391 |
); |
688 | 392 |
|
4 | 393 |
Soundz: array[TSound] of record |
799 | 394 |
FileName: String[31]; |
395 |
Path : TPathType; |
|
396 |
id : PMixChunk; |
|
397 |
lastChan: LongInt; |
|
398 |
end = ( |
|
399 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
|
400 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
401 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
402 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
403 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
404 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
405 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
406 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
407 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
408 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
|
409 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
|
410 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndUFO |
|
411 |
(FileName: 'Jump1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump1 |
|
412 |
(FileName: 'Jump2.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump2 |
|
800 | 413 |
(FileName: 'Jump3.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump3 |
414 |
(FileName: 'Yessir.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndYesSir |
|
801 | 415 |
(FileName: 'Laugh.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndLaugh |
416 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIllGetYou |
|
815 | 417 |
(FileName: 'Incoming.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIncoming |
418 |
(FileName: 'Missed.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndMissed |
|
829 | 419 |
(FileName: 'Stupid.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndStupid |
863 | 420 |
(FileName: 'Firstblood.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndFirstBlood |
421 |
(FileName: 'Boring.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndBoring |
|
864 | 422 |
(FileName: 'Byebye.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndByeBye |
423 |
(FileName: 'Sameteam.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndSameTeam |
|
865 | 424 |
(FileName: 'Nutter.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndNutter |
866 | 425 |
(FileName:'Reinforcements.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndReinforce |
426 |
(FileName: 'Traitor.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndTraitor |
|
867 | 427 |
(FileName:'Youllregretthat.ogg';Path: ptVoices; id: nil; lastChan: 0),// sndRegret |
870 | 428 |
(FileName: 'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown |
429 |
(FileName: 'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward |
|
873 | 430 |
(FileName: 'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndHurry |
431 |
(FileName: 'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0) // sndWatchIt |
|
815 | 432 |
); |
4 | 433 |
|
434 |
Ammoz: array [TAmmoType] of record |
|
80 | 435 |
NameId: TAmmoStrId; |
843 | 436 |
NameTex: PTexture; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
437 |
Probability, NumberInCase: Longword; |
4 | 438 |
Ammo: TAmmo; |
112 | 439 |
Slot: 0..cMaxSlotIndex; |
4 | 440 |
TimeAfterTurn: Longword; |
304 | 441 |
minAngle, maxAngle: Longword; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
442 |
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
|
443 |
SkipTurns: Longword; |
408 | 444 |
PosCount: Longword; |
445 |
PosSprite: TSprite; |
|
4 | 446 |
end = ( |
80 | 447 |
(NameId: sidGrenade; |
843 | 448 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
449 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
450 |
NumberInCase: 1; |
263 | 451 |
Ammo: (Propz: ammoprop_Timerable or |
930 | 452 |
ammoprop_Power or |
453 |
ammoprop_AltUse; |
|
4 | 454 |
Count: AMMO_INFINITE; |
455 |
NumPerTurn: 0; |
|
456 |
Timer: 3000; |
|
408 | 457 |
Pos: 0; |
4 | 458 |
AmmoType: amGrenade); |
10 | 459 |
Slot: 1; |
351 | 460 |
TimeAfterTurn: 3000; |
461 |
minAngle: 0; |
|
408 | 462 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
463 |
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
|
464 |
SkipTurns: 0; |
495 | 465 |
PosCount: 1; |
466 |
PosSprite: sprWater), |
|
80 | 467 |
(NameId: sidClusterBomb; |
843 | 468 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
469 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
470 |
NumberInCase: 3; |
263 | 471 |
Ammo: (Propz: ammoprop_Timerable or |
930 | 472 |
ammoprop_Power or |
473 |
ammoprop_AltUse; |
|
78 | 474 |
Count: 5; |
475 |
NumPerTurn: 0; |
|
476 |
Timer: 3000; |
|
408 | 477 |
Pos: 0; |
78 | 478 |
AmmoType: amClusterBomb); |
479 |
Slot: 1; |
|
351 | 480 |
TimeAfterTurn: 3000; |
481 |
minAngle: 0; |
|
408 | 482 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
483 |
isDamaging: true; |
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
|
484 |
SkipTurns: 0; |
495 | 485 |
PosCount: 1; |
486 |
PosSprite: sprWater), |
|
80 | 487 |
(NameId: sidBazooka; |
843 | 488 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
489 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
490 |
NumberInCase: 1; |
930 | 491 |
Ammo: (Propz: ammoprop_Power or |
492 |
ammoprop_AltUse; |
|
4 | 493 |
Count: AMMO_INFINITE; |
494 |
NumPerTurn: 0; |
|
495 |
Timer: 0; |
|
408 | 496 |
Pos: 0; |
4 | 497 |
AmmoType: amBazooka); |
10 | 498 |
Slot: 0; |
351 | 499 |
TimeAfterTurn: 3000; |
500 |
minAngle: 0; |
|
408 | 501 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
502 |
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
|
503 |
SkipTurns: 0; |
495 | 504 |
PosCount: 1; |
505 |
PosSprite: sprWater), |
|
80 | 506 |
(NameId: sidUFO; |
843 | 507 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
508 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
509 |
NumberInCase: 1; |
263 | 510 |
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
|
511 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
512 |
ammoprop_DontHold; |
56 | 513 |
Count: 2; |
4 | 514 |
NumPerTurn: 0; |
515 |
Timer: 0; |
|
408 | 516 |
Pos: 0; |
4 | 517 |
AmmoType: amUFO); |
518 |
Slot: 0; |
|
351 | 519 |
TimeAfterTurn: 3000; |
520 |
minAngle: 0; |
|
408 | 521 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
522 |
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
|
523 |
SkipTurns: 0; |
495 | 524 |
PosCount: 1; |
525 |
PosSprite: sprWater), |
|
80 | 526 |
(NameId: sidShotgun; |
843 | 527 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
528 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
529 |
NumberInCase: 1; |
95 | 530 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 531 |
Count: AMMO_INFINITE; |
532 |
NumPerTurn: 1; |
|
533 |
Timer: 0; |
|
408 | 534 |
Pos: 0; |
4 | 535 |
AmmoType: amShotgun); |
536 |
Slot: 2; |
|
351 | 537 |
TimeAfterTurn: 3000; |
538 |
minAngle: 0; |
|
408 | 539 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
540 |
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
|
541 |
SkipTurns: 0; |
495 | 542 |
PosCount: 1; |
543 |
PosSprite: sprWater), |
|
80 | 544 |
(NameId: sidPickHammer; |
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; |
263 | 548 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 549 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
550 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
551 |
ammoprop_DontHold; |
4 | 552 |
Count: 2; |
553 |
NumPerTurn: 0; |
|
554 |
Timer: 0; |
|
408 | 555 |
Pos: 0; |
4 | 556 |
AmmoType: amPickHammer); |
263 | 557 |
Slot: 6; |
351 | 558 |
TimeAfterTurn: 0; |
559 |
minAngle: 0; |
|
408 | 560 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
561 |
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
|
562 |
SkipTurns: 0; |
495 | 563 |
PosCount: 1; |
564 |
PosSprite: sprWater), |
|
80 | 565 |
(NameId: sidSkip; |
843 | 566 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
567 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
568 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
569 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 570 |
Count: AMMO_INFINITE; |
571 |
NumPerTurn: 0; |
|
572 |
Timer: 0; |
|
408 | 573 |
Pos: 0; |
4 | 574 |
AmmoType: amSkip); |
263 | 575 |
Slot: 8; |
351 | 576 |
TimeAfterTurn: 0; |
577 |
minAngle: 0; |
|
408 | 578 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
579 |
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
|
580 |
SkipTurns: 0; |
495 | 581 |
PosCount: 1; |
582 |
PosSprite: sprWater), |
|
80 | 583 |
(NameId: sidRope; |
843 | 584 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
585 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
586 |
NumberInCase: 3; |
263 | 587 |
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
|
588 |
ammoprop_AttackInMove or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
589 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
590 |
ammoprop_AltAttack; |
4 | 591 |
Count: 5; |
592 |
NumPerTurn: 0; |
|
593 |
Timer: 0; |
|
408 | 594 |
Pos: 0; |
4 | 595 |
AmmoType: amRope); |
263 | 596 |
Slot: 7; |
304 | 597 |
TimeAfterTurn: 0; |
351 | 598 |
minAngle: 0; |
823
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
599 |
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
|
600 |
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
|
601 |
SkipTurns: 0; |
495 | 602 |
PosCount: 1; |
603 |
PosSprite: sprWater), |
|
80 | 604 |
(NameId: sidMine; |
843 | 605 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
606 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
607 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
608 |
Ammo: (Propz: ammoprop_NoCrosshair or |
931 | 609 |
ammoprop_AttackInMove or |
930 | 610 |
ammoprop_DontHold or |
611 |
ammoprop_AltUse; |
|
56 | 612 |
Count: 2; |
10 | 613 |
NumPerTurn: 0; |
614 |
Timer: 0; |
|
408 | 615 |
Pos: 0; |
10 | 616 |
AmmoType: amMine); |
79 | 617 |
Slot: 4; |
351 | 618 |
TimeAfterTurn: 5000; |
619 |
minAngle: 0; |
|
408 | 620 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
621 |
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
|
622 |
SkipTurns: 0; |
495 | 623 |
PosCount: 1; |
624 |
PosSprite: sprWater), |
|
80 | 625 |
(NameId: sidDEagle; |
843 | 626 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
627 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
628 |
NumberInCase: 2; |
37 | 629 |
Ammo: (Propz: 0; |
75 | 630 |
Count: 3; |
37 | 631 |
NumPerTurn: 3; |
632 |
Timer: 0; |
|
408 | 633 |
Pos: 0; |
37 | 634 |
AmmoType: amDEagle); |
635 |
Slot: 2; |
|
351 | 636 |
TimeAfterTurn: 3000; |
637 |
minAngle: 0; |
|
408 | 638 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
639 |
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
|
640 |
SkipTurns: 0; |
495 | 641 |
PosCount: 1; |
642 |
PosSprite: sprWater), |
|
408 | 643 |
(NameId: sidDynamite; |
843 | 644 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
645 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
646 |
NumberInCase: 1; |
408 | 647 |
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
|
648 |
ammoprop_AttackInMove or |
930 | 649 |
ammoprop_DontHold or |
650 |
ammoprop_AltUse; |
|
408 | 651 |
Count: 1; |
652 |
NumPerTurn: 0; |
|
653 |
Timer: 0; |
|
654 |
Pos: 0; |
|
655 |
AmmoType: amDynamite); |
|
656 |
Slot: 4; |
|
657 |
TimeAfterTurn: 5000; |
|
351 | 658 |
minAngle: 0; |
408 | 659 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
660 |
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
|
661 |
SkipTurns: 0; |
495 | 662 |
PosCount: 1; |
663 |
PosSprite: sprWater), |
|
408 | 664 |
(NameId: sidFirePunch; |
843 | 665 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
666 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
667 |
NumberInCase: 1; |
408 | 668 |
Ammo: (Propz: ammoprop_NoCrosshair or |
669 |
ammoprop_ForwMsgs or |
|
542 | 670 |
ammoprop_AttackInMove; |
408 | 671 |
Count: AMMO_INFINITE; |
672 |
NumPerTurn: 0; |
|
673 |
Timer: 0; |
|
674 |
Pos: 0; |
|
675 |
AmmoType: amFirePunch); |
|
676 |
Slot: 3; |
|
677 |
TimeAfterTurn: 3000; |
|
678 |
MinAngle: 0; |
|
679 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
680 |
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
|
681 |
SkipTurns: 0; |
495 | 682 |
PosCount: 1; |
683 |
PosSprite: sprWater), |
|
925 | 684 |
(NameId: sidWhip; |
685 |
NameTex: nil; |
|
686 |
Probability: 0; |
|
687 |
NumberInCase: 1; |
|
688 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
689 |
Count: AMMO_INFINITE; |
|
690 |
NumPerTurn: 0; |
|
691 |
Timer: 0; |
|
692 |
Pos: 0; |
|
693 |
AmmoType: amWhip); |
|
694 |
Slot: 3; |
|
695 |
TimeAfterTurn: 3000; |
|
696 |
MinAngle: 0; |
|
697 |
maxAngle: 0; |
|
698 |
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
|
699 |
SkipTurns: 0; |
925 | 700 |
PosCount: 1; |
701 |
PosSprite: sprWater), |
|
408 | 702 |
(NameId: sidBaseballBat; |
843 | 703 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
704 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
705 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
706 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 707 |
Count: 1; |
708 |
NumPerTurn: 0; |
|
709 |
Timer: 0; |
|
710 |
Pos: 0; |
|
711 |
AmmoType: amBaseballBat); |
|
712 |
Slot: 3; |
|
713 |
TimeAfterTurn: 5000; |
|
351 | 714 |
minAngle: 0; |
408 | 715 |
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
|
716 |
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
|
717 |
SkipTurns: 2; |
495 | 718 |
PosCount: 1; |
719 |
PosSprite: sprWater), |
|
211 | 720 |
(NameId: sidParachute; |
843 | 721 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
722 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
723 |
NumberInCase: 1; |
263 | 724 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 725 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
726 |
ammoprop_NoCrosshair or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
727 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
728 |
ammoprop_AltAttack; |
211 | 729 |
Count: 2; |
730 |
NumPerTurn: 0; |
|
731 |
Timer: 0; |
|
408 | 732 |
Pos: 0; |
211 | 733 |
AmmoType: amParachute); |
263 | 734 |
Slot: 7; |
351 | 735 |
TimeAfterTurn: 0; |
736 |
minAngle: 0; |
|
408 | 737 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
738 |
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
|
739 |
SkipTurns: 0; |
495 | 740 |
PosCount: 1; |
741 |
PosSprite: sprWater), |
|
263 | 742 |
(NameId: sidAirAttack; |
843 | 743 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
744 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
745 |
NumberInCase: 1; |
263 | 746 |
Ammo: (Propz: ammoprop_NoCrosshair or |
747 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
748 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
749 |
ammoprop_DontHold; |
285 | 750 |
Count: 1; |
263 | 751 |
NumPerTurn: 0; |
752 |
Timer: 0; |
|
408 | 753 |
Pos: 0; |
263 | 754 |
AmmoType: amAirAttack); |
755 |
Slot: 5; |
|
351 | 756 |
TimeAfterTurn: 0; |
757 |
minAngle: 0; |
|
408 | 758 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
759 |
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
|
760 |
SkipTurns: 5; |
408 | 761 |
PosCount: 2; |
762 |
PosSprite: sprAmAirplane), |
|
285 | 763 |
(NameId: sidMineStrike; |
843 | 764 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
765 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
766 |
NumberInCase: 1; |
285 | 767 |
Ammo: (Propz: ammoprop_NoCrosshair or |
768 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
769 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
770 |
ammoprop_DontHold; |
285 | 771 |
Count: 1; |
772 |
NumPerTurn: 0; |
|
773 |
Timer: 0; |
|
408 | 774 |
Pos: 0; |
285 | 775 |
AmmoType: amMineStrike); |
776 |
Slot: 5; |
|
351 | 777 |
TimeAfterTurn: 0; |
778 |
minAngle: 0; |
|
408 | 779 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
780 |
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
|
781 |
SkipTurns: 5; |
408 | 782 |
PosCount: 2; |
783 |
PosSprite: sprAmAirplane), |
|
302 | 784 |
(NameId: sidBlowTorch; |
843 | 785 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
786 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
787 |
NumberInCase: 2; |
302 | 788 |
Ammo: (Propz: ammoprop_ForwMsgs; |
789 |
Count: 1; |
|
790 |
NumPerTurn: 0; |
|
791 |
Timer: 0; |
|
408 | 792 |
Pos: 0; |
302 | 793 |
AmmoType: amBlowTorch); |
794 |
Slot: 6; |
|
304 | 795 |
TimeAfterTurn: 3000; |
305 | 796 |
minAngle: 768; |
408 | 797 |
maxAngle: 1280; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
798 |
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
|
799 |
SkipTurns: 0; |
495 | 800 |
PosCount: 1; |
801 |
PosSprite: sprWater), |
|
409 | 802 |
(NameId: sidGirder; |
843 | 803 |
NameTex: nil; |
409 | 804 |
Probability: 400; |
411 | 805 |
NumberInCase: 3; |
409 | 806 |
Ammo: (Propz: ammoprop_NoCrosshair or |
807 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
808 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
809 |
ammoprop_DontHold; |
409 | 810 |
Count: 1; |
811 |
NumPerTurn: 0; |
|
812 |
Timer: 0; |
|
813 |
Pos: 0; |
|
814 |
AmmoType: amGirder); |
|
815 |
Slot: 6; |
|
816 |
TimeAfterTurn: 3000; |
|
817 |
minAngle: 0; |
|
818 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
819 |
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
|
820 |
SkipTurns: 0; |
423 | 821 |
PosCount: 8; |
520 | 822 |
PosSprite: sprAmGirder), |
823 |
(NameId: sidTeleport; |
|
843 | 824 |
NameTex: nil; |
520 | 825 |
Probability: 400; |
826 |
NumberInCase: 1; |
|
525 | 827 |
Ammo: (Propz: ammoprop_ForwMsgs or |
828 |
ammoprop_NoCrosshair or |
|
520 | 829 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
830 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
831 |
ammoprop_DontHold; |
520 | 832 |
Count: 2; |
833 |
NumPerTurn: 0; |
|
834 |
Timer: 0; |
|
835 |
Pos: 0; |
|
836 |
AmmoType: amTeleport); |
|
837 |
Slot: 7; |
|
838 |
TimeAfterTurn: 0; |
|
839 |
minAngle: 0; |
|
840 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
841 |
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
|
842 |
SkipTurns: 0; |
520 | 843 |
PosCount: 1; |
534 | 844 |
PosSprite: sprWater), |
845 |
(NameId: sidSwitch; |
|
843 | 846 |
NameTex: nil; |
534 | 847 |
Probability: 100; |
848 |
NumberInCase: 1; |
|
849 |
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
|
850 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
851 |
ammoprop_DontHold; |
534 | 852 |
Count: 3; |
853 |
NumPerTurn: 0; |
|
854 |
Timer: 0; |
|
855 |
Pos: 0; |
|
856 |
AmmoType: amSwitch); |
|
857 |
Slot: 8; |
|
858 |
TimeAfterTurn: 0; |
|
859 |
minAngle: 0; |
|
860 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
861 |
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
|
862 |
SkipTurns: 0; |
534 | 863 |
PosCount: 1; |
924 | 864 |
PosSprite: sprWater), |
865 |
(NameId: sidMortar; |
|
866 |
NameTex: nil; |
|
867 |
Probability: 100; |
|
868 |
NumberInCase: 5; |
|
869 |
Ammo: (Propz: 0; |
|
870 |
Count: 5; |
|
871 |
NumPerTurn: 0; |
|
872 |
Timer: 0; |
|
873 |
Pos: 0; |
|
874 |
AmmoType: amMortar); |
|
875 |
Slot: 1; |
|
876 |
TimeAfterTurn: 3000; |
|
877 |
minAngle: 0; |
|
878 |
maxAngle: 0; |
|
879 |
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
|
880 |
SkipTurns: 0; |
924 | 881 |
PosCount: 1; |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
882 |
PosSprite: sprWater) |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
883 |
); |
37 | 884 |
|
844 | 885 |
var CountTexz: array[1..9] of PTexture; |
886 |
||
4 | 887 |
implementation |
888 |
||
889 |
end. |