author | unc0rr |
Tue, 17 Jun 2008 18:09:38 +0000 | |
changeset 998 | 65792c4e6f01 |
parent 992 | c16355b0c982 |
child 1010 | 583667e81d21 |
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 |
|
988 | 26 |
TGameState = (gsLandGen, gsStart, gsGame, gsChat, gsExit); |
282 | 27 |
|
155
401f4ea24715
Engine can generate land preview and send it via IPC
unc0rr
parents:
112
diff
changeset
|
28 |
TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview); |
282 | 29 |
|
80 | 30 |
TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
31 |
ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
|
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, |
987 | 48 |
sprHat, sprKamikaze); |
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; |
4 | 176 |
|
177 |
gm_Left = $00000001; |
|
178 |
gm_Right = $00000002; |
|
179 |
gm_Up = $00000004; |
|
180 |
gm_Down = $00000008; |
|
181 |
gm_Switch = $00000010; |
|
182 |
gm_Attack = $00000020; |
|
183 |
gm_LJump = $00000040; |
|
184 |
gm_HJump = $00000080; |
|
185 |
gm_Destroy= $00000100; |
|
783 | 186 |
gm_Slot = $00000200; // with param |
187 |
gm_Weapon = $00000400; // with param |
|
926
d231e007452a
Timer as hedgehog message (avoid possible desync in very rare cases)
unc0rr
parents:
925
diff
changeset
|
188 |
gm_Timer = $00000800; // with param |
936
ba582673db7d
Fix 'AI may break demos playing' message while loading saves
unc0rr
parents:
931
diff
changeset
|
189 |
gmAllStoppable = gm_Left or gm_Right or gm_Up or gm_Down or gm_Attack; |
4 | 190 |
|
263 | 191 |
cMaxSlotIndex = 8; |
983 | 192 |
cMaxSlotAmmoIndex = 3; |
4 | 193 |
|
194 |
ammoprop_Timerable = $00000001; |
|
195 |
ammoprop_Power = $00000002; |
|
196 |
ammoprop_NeedTarget = $00000004; |
|
197 |
ammoprop_ForwMsgs = $00000008; |
|
542 | 198 |
ammoprop_AttackInMove = $00000010; |
13 | 199 |
ammoprop_NoCrosshair = $00000040; |
263 | 200 |
ammoprop_AttackingPut = $00000080; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
201 |
ammoprop_DontHold = $00000100; |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
202 |
ammoprop_AltAttack = $00000200; |
930 | 203 |
ammoprop_AltUse = $00000400; |
204 |
||
965 | 205 |
AMMO_INFINITE = 9; |
4 | 206 |
|
42 | 207 |
EXPLAllDamageInRadius = $00000001; |
208 |
EXPLAutoSound = $00000002; |
|
209 |
EXPLNoDamage = $00000004; |
|
210 |
EXPLDoNotTouchHH = $00000008; |
|
305 | 211 |
EXPLDontDraw = $00000010; |
42 | 212 |
|
213 |
posCaseAmmo = $00000001; |
|
214 |
posCaseHealth = $00000002; |
|
4 | 215 |
|
371 | 216 |
NoPointX = Low(LongInt); |
4 | 217 |
|
74 | 218 |
cHHFileName = 'Hedgehog'; |
219 |
cCHFileName = 'Crosshair'; |
|
4 | 220 |
cThemeCFGFilename = 'theme.cfg'; |
221 |
||
222 |
Fontz: array[THWFont] of THHFont = ( |
|
351 | 223 |
(Handle: nil; |
224 |
Height: 12; |
|
202 | 225 |
style: TTF_STYLE_NORMAL; |
74 | 226 |
Name: 'DejaVuSans.ttf'), |
351 | 227 |
(Handle: nil; |
228 |
Height: 24; |
|
202 | 229 |
style: TTF_STYLE_NORMAL; |
522 | 230 |
Name: 'DejaVuSans.ttf'), |
231 |
(Handle: nil; |
|
232 |
Height: 10; |
|
233 |
style: TTF_STYLE_NORMAL; |
|
74 | 234 |
Name: 'DejaVuSans.ttf') |
4 | 235 |
); |
236 |
||
202 | 237 |
FontBorder = 2; |
238 |
||
99 | 239 |
PathPrefix: string = './'; |
240 |
Pathz: array[TPathType] of string = ( |
|
805 | 241 |
'', // ptNone |
267 | 242 |
'', // ptData |
243 |
'Graphics', // ptGraphics |
|
244 |
'Themes', // ptThemes |
|
245 |
'Themes/avematan', // ptCurrTheme |
|
246 |
'Teams', // ptTeams |
|
247 |
'Maps', // ptMaps |
|
53 | 248 |
'', // ptMapCurrent |
267 | 249 |
'Demos', // ptDemos |
250 |
'Sounds', // ptSounds |
|
251 |
'Graphics/Graves', // ptGraves |
|
252 |
'Fonts', // ptFonts |
|
253 |
'Forts', // ptForts |
|
254 |
'Locale', // ptLocale |
|
799 | 255 |
'Graphics/AmmoMenu', // ptAmmoMenu |
822 | 256 |
'Graphics/Hedgehog', // ptHedgehog |
970 | 257 |
'Sounds/voices', // ptVoices |
258 |
'Graphics/Hats' // ptHats |
|
4 | 259 |
); |
260 |
||
261 |
SpritesData: array[TSprite] of record |
|
35 | 262 |
FileName: String[31]; |
80 | 263 |
Path, AltPath: TPathType; |
755 | 264 |
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
|
265 |
Surface: PSDL_Surface; |
371 | 266 |
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
|
267 |
saveSurf: boolean; |
35 | 268 |
end = ( |
769
788efc1d649f
- Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
unc0rr
parents:
760
diff
changeset
|
269 |
(FileName: 'BlueWater'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
793 | 270 |
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
|
271 |
(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
|
272 |
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
|
273 |
(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
|
274 |
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
|
275 |
(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
|
276 |
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
|
277 |
(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
|
278 |
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
|
279 |
(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
|
280 |
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
|
281 |
(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
|
282 |
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
|
283 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
775 | 284 |
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
|
285 |
(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
|
286 |
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
|
287 |
(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
|
288 |
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
|
289 |
(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
|
290 |
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
|
291 |
(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
|
292 |
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
|
293 |
(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
|
294 |
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
|
295 |
(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
|
296 |
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
|
297 |
(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
|
298 |
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
|
299 |
(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
|
300 |
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
|
301 |
(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
|
302 |
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
|
303 |
(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
|
304 |
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
|
305 |
(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
|
306 |
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
|
307 |
(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
|
308 |
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
|
309 |
(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
|
310 |
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
|
311 |
(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
|
312 |
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
|
313 |
(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
|
314 |
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
|
315 |
(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
|
316 |
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
|
317 |
(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
|
318 |
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
|
319 |
(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
|
320 |
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
|
321 |
(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
|
322 |
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
|
323 |
(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
|
324 |
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
|
325 |
(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
|
326 |
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
|
327 |
(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
|
328 |
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
|
329 |
(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
|
330 |
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
|
331 |
(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
|
332 |
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
|
333 |
(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
|
334 |
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
|
335 |
(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
|
336 |
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
|
337 |
(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
|
338 |
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
|
339 |
(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
|
340 |
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
|
341 |
(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
|
342 |
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
|
343 |
(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
|
344 |
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
|
345 |
(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
|
346 |
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
|
347 |
(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
|
348 |
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
|
349 |
(FileName: 'thinking'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
788efc1d649f
- Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
unc0rr
parents:
760
diff
changeset
|
350 |
Width: 32; Height: 32; saveSurf: false),// sprQuestion |
788efc1d649f
- Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
unc0rr
parents:
760
diff
changeset
|
351 |
(FileName: 'PowerBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
788efc1d649f
- Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
unc0rr
parents:
760
diff
changeset
|
352 |
Width: 256; Height: 32; saveSurf: false),// sprPowerBar |
788efc1d649f
- Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
unc0rr
parents:
760
diff
changeset
|
353 |
(FileName: 'WindBar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
788efc1d649f
- Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
unc0rr
parents:
760
diff
changeset
|
354 |
Width: 151; Height: 17; saveSurf: false),// sprWindBar |
788efc1d649f
- Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
unc0rr
parents:
760
diff
changeset
|
355 |
(FileName: 'WindL'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
788efc1d649f
- Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
unc0rr
parents:
760
diff
changeset
|
356 |
Width: 80; Height: 13; saveSurf: false),// sprWindL |
788efc1d649f
- Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
unc0rr
parents:
760
diff
changeset
|
357 |
(FileName: 'WindR'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
805 | 358 |
Width: 80; Height: 13; saveSurf: false),// sprWindR |
359 |
(FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
|
822 | 360 |
Width: 64; Height: 64; saveSurf: false),// sprFlake |
361 |
(FileName: 'amRope'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
823
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
362 |
Width: 32; Height: 32; saveSurf: false),// sprHandRope |
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
363 |
(FileName: 'amBazooka'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
364 |
Width: 32; Height: 32; saveSurf: false),// sprHandBazooka |
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
365 |
(FileName: 'amShotgun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
876 | 366 |
Width: 64; Height: 64; saveSurf: false),// sprHandShotgun |
823
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
367 |
(FileName: 'amDEagle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
876 | 368 |
Width: 64; Height: 64; saveSurf: false),// sprHandDEagle |
825 | 369 |
(FileName:'amAirAttack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
834 | 370 |
Width: 32; Height: 32; saveSurf: false),// sprHandAirAttack |
371 |
(FileName: 'amBaseball'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
845 | 372 |
Width: 32; Height: 32; saveSurf: false),// sprHandBaseball |
373 |
(FileName: 'Hammer'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
847 | 374 |
Width: 32; Height: 64; saveSurf: false),// sprPHammer |
375 |
(FileName: 'amBTorch_i'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
376 |
Width: 32; Height: 32; saveSurf: false),// sprHandBlowToch |
|
377 |
(FileName: 'amBTorch_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
853 | 378 |
Width: 32; Height: 32; saveSurf: false),// sprBlowToch |
379 |
(FileName: 'Teleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
868 | 380 |
Width: 64; Height: 32; saveSurf: false),// sprTeleport |
381 |
(FileName: 'HHDeath'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
876 | 382 |
Width: 32; Height: 64; saveSurf: false),// sprHHDeath |
383 |
(FileName:'amShotgun_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
384 |
Width: 64; Height: 64; saveSurf: false),// sprShotgun |
|
385 |
(FileName: 'amDEagle_w'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
954 | 386 |
Width: 64; Height: 64; saveSurf: false),// sprDEagle |
387 |
(FileName: 'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
959 | 388 |
Width: 32; Height: 32; saveSurf: false),// sprHHIdle |
389 |
(FileName: 'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
961
a9a349b2b3fa
Use turnsleft sprites to indicate turns left to activate ammo
unc0rr
parents:
959
diff
changeset
|
390 |
Width: 16; Height: 16; saveSurf: false),// sprMortar |
a9a349b2b3fa
Use turnsleft sprites to indicate turns left to activate ammo
unc0rr
parents:
959
diff
changeset
|
391 |
(FileName: 'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
970 | 392 |
Width: 16; Height: 16; saveSurf: false),// sprTurnsLeft |
393 |
(FileName: 'Samurai'; Path: ptHats ; AltPath: ptNone; Texture: nil; Surface: nil; |
|
987 | 394 |
Width: 32; Height: 32; saveSurf: false),// sprHat |
395 |
(FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
396 |
Width: 256; Height: 32; saveSurf: false) // sprKamikaze |
|
35 | 397 |
); |
688 | 398 |
|
4 | 399 |
Soundz: array[TSound] of record |
799 | 400 |
FileName: String[31]; |
401 |
Path : TPathType; |
|
402 |
id : PMixChunk; |
|
403 |
lastChan: LongInt; |
|
404 |
end = ( |
|
405 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
|
406 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
407 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
408 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
409 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
410 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
411 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
412 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
413 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
414 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
|
415 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
|
416 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndUFO |
|
417 |
(FileName: 'Jump1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump1 |
|
418 |
(FileName: 'Jump2.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump2 |
|
800 | 419 |
(FileName: 'Jump3.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump3 |
420 |
(FileName: 'Yessir.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndYesSir |
|
801 | 421 |
(FileName: 'Laugh.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndLaugh |
422 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIllGetYou |
|
815 | 423 |
(FileName: 'Incoming.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIncoming |
424 |
(FileName: 'Missed.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndMissed |
|
829 | 425 |
(FileName: 'Stupid.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndStupid |
863 | 426 |
(FileName: 'Firstblood.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndFirstBlood |
427 |
(FileName: 'Boring.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndBoring |
|
864 | 428 |
(FileName: 'Byebye.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndByeBye |
429 |
(FileName: 'Sameteam.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndSameTeam |
|
865 | 430 |
(FileName: 'Nutter.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndNutter |
866 | 431 |
(FileName:'Reinforcements.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndReinforce |
432 |
(FileName: 'Traitor.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndTraitor |
|
867 | 433 |
(FileName:'Youllregretthat.ogg';Path: ptVoices; id: nil; lastChan: 0),// sndRegret |
870 | 434 |
(FileName: 'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown |
435 |
(FileName: 'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward |
|
873 | 436 |
(FileName: 'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndHurry |
992 | 437 |
(FileName: 'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndWatchIt |
438 |
(FileName: 'Kamikaze.ogg'; Path: ptVoices; id: nil; lastChan: 0) // sndKamikaze |
|
815 | 439 |
); |
4 | 440 |
|
441 |
Ammoz: array [TAmmoType] of record |
|
80 | 442 |
NameId: TAmmoStrId; |
843 | 443 |
NameTex: PTexture; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
444 |
Probability, NumberInCase: Longword; |
4 | 445 |
Ammo: TAmmo; |
112 | 446 |
Slot: 0..cMaxSlotIndex; |
4 | 447 |
TimeAfterTurn: Longword; |
304 | 448 |
minAngle, maxAngle: Longword; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
449 |
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
|
450 |
SkipTurns: Longword; |
408 | 451 |
PosCount: Longword; |
452 |
PosSprite: TSprite; |
|
4 | 453 |
end = ( |
80 | 454 |
(NameId: sidGrenade; |
843 | 455 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
456 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
457 |
NumberInCase: 1; |
263 | 458 |
Ammo: (Propz: ammoprop_Timerable or |
930 | 459 |
ammoprop_Power or |
460 |
ammoprop_AltUse; |
|
4 | 461 |
Count: AMMO_INFINITE; |
462 |
NumPerTurn: 0; |
|
463 |
Timer: 3000; |
|
408 | 464 |
Pos: 0; |
4 | 465 |
AmmoType: amGrenade); |
10 | 466 |
Slot: 1; |
351 | 467 |
TimeAfterTurn: 3000; |
468 |
minAngle: 0; |
|
408 | 469 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
470 |
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
|
471 |
SkipTurns: 0; |
495 | 472 |
PosCount: 1; |
473 |
PosSprite: sprWater), |
|
80 | 474 |
(NameId: sidClusterBomb; |
843 | 475 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
476 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
477 |
NumberInCase: 3; |
263 | 478 |
Ammo: (Propz: ammoprop_Timerable or |
930 | 479 |
ammoprop_Power or |
480 |
ammoprop_AltUse; |
|
78 | 481 |
Count: 5; |
482 |
NumPerTurn: 0; |
|
483 |
Timer: 3000; |
|
408 | 484 |
Pos: 0; |
78 | 485 |
AmmoType: amClusterBomb); |
486 |
Slot: 1; |
|
351 | 487 |
TimeAfterTurn: 3000; |
488 |
minAngle: 0; |
|
408 | 489 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
490 |
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
|
491 |
SkipTurns: 0; |
495 | 492 |
PosCount: 1; |
493 |
PosSprite: sprWater), |
|
80 | 494 |
(NameId: sidBazooka; |
843 | 495 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
496 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
497 |
NumberInCase: 1; |
930 | 498 |
Ammo: (Propz: ammoprop_Power or |
499 |
ammoprop_AltUse; |
|
4 | 500 |
Count: AMMO_INFINITE; |
501 |
NumPerTurn: 0; |
|
502 |
Timer: 0; |
|
408 | 503 |
Pos: 0; |
4 | 504 |
AmmoType: amBazooka); |
10 | 505 |
Slot: 0; |
351 | 506 |
TimeAfterTurn: 3000; |
507 |
minAngle: 0; |
|
408 | 508 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
509 |
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
|
510 |
SkipTurns: 0; |
495 | 511 |
PosCount: 1; |
512 |
PosSprite: sprWater), |
|
80 | 513 |
(NameId: sidUFO; |
843 | 514 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
515 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
516 |
NumberInCase: 1; |
263 | 517 |
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
|
518 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
519 |
ammoprop_DontHold; |
56 | 520 |
Count: 2; |
4 | 521 |
NumPerTurn: 0; |
522 |
Timer: 0; |
|
408 | 523 |
Pos: 0; |
4 | 524 |
AmmoType: amUFO); |
525 |
Slot: 0; |
|
351 | 526 |
TimeAfterTurn: 3000; |
527 |
minAngle: 0; |
|
408 | 528 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
529 |
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
|
530 |
SkipTurns: 0; |
495 | 531 |
PosCount: 1; |
532 |
PosSprite: sprWater), |
|
80 | 533 |
(NameId: sidShotgun; |
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; |
95 | 537 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 538 |
Count: AMMO_INFINITE; |
539 |
NumPerTurn: 1; |
|
540 |
Timer: 0; |
|
408 | 541 |
Pos: 0; |
4 | 542 |
AmmoType: amShotgun); |
543 |
Slot: 2; |
|
351 | 544 |
TimeAfterTurn: 3000; |
545 |
minAngle: 0; |
|
408 | 546 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
547 |
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
|
548 |
SkipTurns: 0; |
495 | 549 |
PosCount: 1; |
550 |
PosSprite: sprWater), |
|
80 | 551 |
(NameId: sidPickHammer; |
843 | 552 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
553 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
554 |
NumberInCase: 1; |
263 | 555 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 556 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
557 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
558 |
ammoprop_DontHold; |
4 | 559 |
Count: 2; |
560 |
NumPerTurn: 0; |
|
561 |
Timer: 0; |
|
408 | 562 |
Pos: 0; |
4 | 563 |
AmmoType: amPickHammer); |
263 | 564 |
Slot: 6; |
351 | 565 |
TimeAfterTurn: 0; |
566 |
minAngle: 0; |
|
408 | 567 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
568 |
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
|
569 |
SkipTurns: 0; |
495 | 570 |
PosCount: 1; |
571 |
PosSprite: sprWater), |
|
80 | 572 |
(NameId: sidSkip; |
843 | 573 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
574 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
575 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
576 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 577 |
Count: AMMO_INFINITE; |
578 |
NumPerTurn: 0; |
|
579 |
Timer: 0; |
|
408 | 580 |
Pos: 0; |
4 | 581 |
AmmoType: amSkip); |
263 | 582 |
Slot: 8; |
351 | 583 |
TimeAfterTurn: 0; |
584 |
minAngle: 0; |
|
408 | 585 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
586 |
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
|
587 |
SkipTurns: 0; |
495 | 588 |
PosCount: 1; |
589 |
PosSprite: sprWater), |
|
80 | 590 |
(NameId: sidRope; |
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: 3; |
263 | 594 |
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
|
595 |
ammoprop_AttackInMove or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
596 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
597 |
ammoprop_AltAttack; |
4 | 598 |
Count: 5; |
599 |
NumPerTurn: 0; |
|
600 |
Timer: 0; |
|
408 | 601 |
Pos: 0; |
4 | 602 |
AmmoType: amRope); |
263 | 603 |
Slot: 7; |
304 | 604 |
TimeAfterTurn: 0; |
351 | 605 |
minAngle: 0; |
823
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
606 |
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
|
607 |
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
|
608 |
SkipTurns: 0; |
495 | 609 |
PosCount: 1; |
610 |
PosSprite: sprWater), |
|
80 | 611 |
(NameId: sidMine; |
843 | 612 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
613 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
614 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
615 |
Ammo: (Propz: ammoprop_NoCrosshair or |
931 | 616 |
ammoprop_AttackInMove or |
930 | 617 |
ammoprop_DontHold or |
618 |
ammoprop_AltUse; |
|
56 | 619 |
Count: 2; |
10 | 620 |
NumPerTurn: 0; |
621 |
Timer: 0; |
|
408 | 622 |
Pos: 0; |
10 | 623 |
AmmoType: amMine); |
79 | 624 |
Slot: 4; |
351 | 625 |
TimeAfterTurn: 5000; |
626 |
minAngle: 0; |
|
408 | 627 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
628 |
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
|
629 |
SkipTurns: 0; |
495 | 630 |
PosCount: 1; |
631 |
PosSprite: sprWater), |
|
80 | 632 |
(NameId: sidDEagle; |
843 | 633 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
634 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
635 |
NumberInCase: 2; |
37 | 636 |
Ammo: (Propz: 0; |
75 | 637 |
Count: 3; |
37 | 638 |
NumPerTurn: 3; |
639 |
Timer: 0; |
|
408 | 640 |
Pos: 0; |
37 | 641 |
AmmoType: amDEagle); |
642 |
Slot: 2; |
|
351 | 643 |
TimeAfterTurn: 3000; |
644 |
minAngle: 0; |
|
408 | 645 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
646 |
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
|
647 |
SkipTurns: 0; |
495 | 648 |
PosCount: 1; |
649 |
PosSprite: sprWater), |
|
408 | 650 |
(NameId: sidDynamite; |
843 | 651 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
652 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
653 |
NumberInCase: 1; |
408 | 654 |
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
|
655 |
ammoprop_AttackInMove or |
930 | 656 |
ammoprop_DontHold or |
657 |
ammoprop_AltUse; |
|
408 | 658 |
Count: 1; |
659 |
NumPerTurn: 0; |
|
660 |
Timer: 0; |
|
661 |
Pos: 0; |
|
662 |
AmmoType: amDynamite); |
|
663 |
Slot: 4; |
|
664 |
TimeAfterTurn: 5000; |
|
351 | 665 |
minAngle: 0; |
408 | 666 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
667 |
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
|
668 |
SkipTurns: 0; |
495 | 669 |
PosCount: 1; |
670 |
PosSprite: sprWater), |
|
408 | 671 |
(NameId: sidFirePunch; |
843 | 672 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
673 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
674 |
NumberInCase: 1; |
408 | 675 |
Ammo: (Propz: ammoprop_NoCrosshair or |
676 |
ammoprop_ForwMsgs or |
|
542 | 677 |
ammoprop_AttackInMove; |
408 | 678 |
Count: AMMO_INFINITE; |
679 |
NumPerTurn: 0; |
|
680 |
Timer: 0; |
|
681 |
Pos: 0; |
|
682 |
AmmoType: amFirePunch); |
|
683 |
Slot: 3; |
|
684 |
TimeAfterTurn: 3000; |
|
685 |
MinAngle: 0; |
|
686 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
687 |
isDamaging: 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
|
688 |
SkipTurns: 0; |
495 | 689 |
PosCount: 1; |
690 |
PosSprite: sprWater), |
|
925 | 691 |
(NameId: sidWhip; |
692 |
NameTex: nil; |
|
693 |
Probability: 0; |
|
694 |
NumberInCase: 1; |
|
695 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
696 |
Count: AMMO_INFINITE; |
|
697 |
NumPerTurn: 0; |
|
698 |
Timer: 0; |
|
699 |
Pos: 0; |
|
700 |
AmmoType: amWhip); |
|
701 |
Slot: 3; |
|
702 |
TimeAfterTurn: 3000; |
|
703 |
MinAngle: 0; |
|
704 |
maxAngle: 0; |
|
705 |
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
|
706 |
SkipTurns: 0; |
925 | 707 |
PosCount: 1; |
708 |
PosSprite: sprWater), |
|
408 | 709 |
(NameId: sidBaseballBat; |
843 | 710 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
711 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
712 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
713 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 714 |
Count: 1; |
715 |
NumPerTurn: 0; |
|
716 |
Timer: 0; |
|
717 |
Pos: 0; |
|
718 |
AmmoType: amBaseballBat); |
|
719 |
Slot: 3; |
|
720 |
TimeAfterTurn: 5000; |
|
351 | 721 |
minAngle: 0; |
408 | 722 |
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
|
723 |
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
|
724 |
SkipTurns: 2; |
495 | 725 |
PosCount: 1; |
726 |
PosSprite: sprWater), |
|
211 | 727 |
(NameId: sidParachute; |
843 | 728 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
729 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
730 |
NumberInCase: 1; |
263 | 731 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 732 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
733 |
ammoprop_NoCrosshair or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
734 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
735 |
ammoprop_AltAttack; |
211 | 736 |
Count: 2; |
737 |
NumPerTurn: 0; |
|
738 |
Timer: 0; |
|
408 | 739 |
Pos: 0; |
211 | 740 |
AmmoType: amParachute); |
263 | 741 |
Slot: 7; |
351 | 742 |
TimeAfterTurn: 0; |
743 |
minAngle: 0; |
|
408 | 744 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
745 |
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
|
746 |
SkipTurns: 0; |
495 | 747 |
PosCount: 1; |
748 |
PosSprite: sprWater), |
|
263 | 749 |
(NameId: sidAirAttack; |
843 | 750 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
751 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
752 |
NumberInCase: 1; |
263 | 753 |
Ammo: (Propz: ammoprop_NoCrosshair or |
754 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
755 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
756 |
ammoprop_DontHold; |
285 | 757 |
Count: 1; |
263 | 758 |
NumPerTurn: 0; |
759 |
Timer: 0; |
|
408 | 760 |
Pos: 0; |
263 | 761 |
AmmoType: amAirAttack); |
762 |
Slot: 5; |
|
351 | 763 |
TimeAfterTurn: 0; |
764 |
minAngle: 0; |
|
408 | 765 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
766 |
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
|
767 |
SkipTurns: 5; |
408 | 768 |
PosCount: 2; |
769 |
PosSprite: sprAmAirplane), |
|
285 | 770 |
(NameId: sidMineStrike; |
843 | 771 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
772 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
773 |
NumberInCase: 1; |
285 | 774 |
Ammo: (Propz: ammoprop_NoCrosshair or |
775 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
776 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
777 |
ammoprop_DontHold; |
285 | 778 |
Count: 1; |
779 |
NumPerTurn: 0; |
|
780 |
Timer: 0; |
|
408 | 781 |
Pos: 0; |
285 | 782 |
AmmoType: amMineStrike); |
783 |
Slot: 5; |
|
351 | 784 |
TimeAfterTurn: 0; |
785 |
minAngle: 0; |
|
408 | 786 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
787 |
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
|
788 |
SkipTurns: 5; |
408 | 789 |
PosCount: 2; |
790 |
PosSprite: sprAmAirplane), |
|
302 | 791 |
(NameId: sidBlowTorch; |
843 | 792 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
793 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
794 |
NumberInCase: 2; |
302 | 795 |
Ammo: (Propz: ammoprop_ForwMsgs; |
796 |
Count: 1; |
|
797 |
NumPerTurn: 0; |
|
798 |
Timer: 0; |
|
408 | 799 |
Pos: 0; |
302 | 800 |
AmmoType: amBlowTorch); |
801 |
Slot: 6; |
|
304 | 802 |
TimeAfterTurn: 3000; |
305 | 803 |
minAngle: 768; |
408 | 804 |
maxAngle: 1280; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
805 |
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
|
806 |
SkipTurns: 0; |
495 | 807 |
PosCount: 1; |
808 |
PosSprite: sprWater), |
|
409 | 809 |
(NameId: sidGirder; |
843 | 810 |
NameTex: nil; |
409 | 811 |
Probability: 400; |
411 | 812 |
NumberInCase: 3; |
409 | 813 |
Ammo: (Propz: ammoprop_NoCrosshair or |
814 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
815 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
816 |
ammoprop_DontHold; |
409 | 817 |
Count: 1; |
818 |
NumPerTurn: 0; |
|
819 |
Timer: 0; |
|
820 |
Pos: 0; |
|
821 |
AmmoType: amGirder); |
|
822 |
Slot: 6; |
|
823 |
TimeAfterTurn: 3000; |
|
824 |
minAngle: 0; |
|
825 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
826 |
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
|
827 |
SkipTurns: 0; |
423 | 828 |
PosCount: 8; |
520 | 829 |
PosSprite: sprAmGirder), |
830 |
(NameId: sidTeleport; |
|
843 | 831 |
NameTex: nil; |
520 | 832 |
Probability: 400; |
833 |
NumberInCase: 1; |
|
525 | 834 |
Ammo: (Propz: ammoprop_ForwMsgs or |
835 |
ammoprop_NoCrosshair or |
|
520 | 836 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
837 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
838 |
ammoprop_DontHold; |
520 | 839 |
Count: 2; |
840 |
NumPerTurn: 0; |
|
841 |
Timer: 0; |
|
842 |
Pos: 0; |
|
843 |
AmmoType: amTeleport); |
|
844 |
Slot: 7; |
|
845 |
TimeAfterTurn: 0; |
|
846 |
minAngle: 0; |
|
847 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
848 |
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
|
849 |
SkipTurns: 0; |
520 | 850 |
PosCount: 1; |
534 | 851 |
PosSprite: sprWater), |
852 |
(NameId: sidSwitch; |
|
843 | 853 |
NameTex: nil; |
534 | 854 |
Probability: 100; |
855 |
NumberInCase: 1; |
|
856 |
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
|
857 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
858 |
ammoprop_DontHold; |
534 | 859 |
Count: 3; |
860 |
NumPerTurn: 0; |
|
861 |
Timer: 0; |
|
862 |
Pos: 0; |
|
863 |
AmmoType: amSwitch); |
|
864 |
Slot: 8; |
|
865 |
TimeAfterTurn: 0; |
|
866 |
minAngle: 0; |
|
867 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
868 |
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
|
869 |
SkipTurns: 0; |
534 | 870 |
PosCount: 1; |
924 | 871 |
PosSprite: sprWater), |
872 |
(NameId: sidMortar; |
|
873 |
NameTex: nil; |
|
874 |
Probability: 100; |
|
875 |
NumberInCase: 5; |
|
876 |
Ammo: (Propz: 0; |
|
983 | 877 |
Count: 4; |
924 | 878 |
NumPerTurn: 0; |
879 |
Timer: 0; |
|
880 |
Pos: 0; |
|
881 |
AmmoType: amMortar); |
|
882 |
Slot: 1; |
|
883 |
TimeAfterTurn: 3000; |
|
884 |
minAngle: 0; |
|
885 |
maxAngle: 0; |
|
886 |
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
|
887 |
SkipTurns: 0; |
924 | 888 |
PosCount: 1; |
983 | 889 |
PosSprite: sprWater), |
890 |
(NameId: sidKamikaze; |
|
891 |
NameTex: nil; |
|
892 |
Probability: 100; |
|
893 |
NumberInCase: 1; |
|
984 | 894 |
Ammo: (Propz: ammoprop_ForwMsgs or |
895 |
ammoprop_DontHold; |
|
983 | 896 |
Count: 1; |
897 |
NumPerTurn: 0; |
|
898 |
Timer: 0; |
|
899 |
Pos: 0; |
|
900 |
AmmoType: amKamikaze); |
|
901 |
Slot: 3; |
|
902 |
TimeAfterTurn: 0; |
|
903 |
minAngle: 0; |
|
904 |
maxAngle: 0; |
|
905 |
isDamaging: true; |
|
906 |
SkipTurns: 0; |
|
907 |
PosCount: 1; |
|
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
908 |
PosSprite: sprWater) |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
909 |
); |
37 | 910 |
|
844 | 911 |
var CountTexz: array[1..9] of PTexture; |
912 |
||
4 | 913 |
implementation |
914 |
||
915 |
end. |