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