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