author | unc0rr |
Wed, 18 Jun 2008 18:46:11 +0000 | |
changeset 1010 | 583667e81d21 |
parent 992 | c16355b0c982 |
child 1011 | 4fe2c4c57d10 |
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, |
1010 | 48 |
sprHat, sprKamikaze, sprWhip); |
282 | 49 |
|
803 | 50 |
TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, |
83 | 51 |
gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, |
49 | 52 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, |
82 | 53 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, |
211 | 54 |
gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, |
520 | 55 |
gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, |
925 | 56 |
gtTeleport, gtSmallDamage, gtSwitcher, gtTarget, gtMortar, |
984 | 57 |
gtWhip, gtKamikaze); |
282 | 58 |
|
803 | 59 |
TVisualGearType = (vgtFlake, vgtCloud); |
802
ed5450a89b96
Start implementing 'visual gears' - gears, that don't need to be synchronized (clouds and flakes)
unc0rr
parents:
801
diff
changeset
|
60 |
|
16 | 61 |
TGearsType = set of TGearType; |
282 | 62 |
|
63 |
TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, |
|
64 |
sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact, |
|
799 | 65 |
sndMineTick, sndPickhammer, sndGun, sndUFO, sndJump1, sndJump2, |
815 | 66 |
sndJump3, sndYesSir, sndLaugh, sndIllGetYou, sndIncoming, |
864 | 67 |
sndMissed, sndStupid, sndFirstBlood, sndBoring, sndByeBye, |
867 | 68 |
sndSameTeam, sndNutter, sndReinforce, sndTraitor, sndRegret, |
992 | 69 |
sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze); |
282 | 70 |
|
82 | 71 |
TAmmoType = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer, |
925 | 72 |
amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip, |
409 | 73 |
amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch, |
983 | 74 |
amGirder, amTeleport, amSwitch, amMortar, amKamikaze); |
282 | 75 |
|
522 | 76 |
THWFont = (fnt16, fntBig, fntSmall); |
282 | 77 |
|
174 | 78 |
TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume); |
282 | 79 |
|
869 | 80 |
TStatInfoType = (siGameResult, siMaxStepDamage, siMaxStepKills, siKilledHHs); |
306 | 81 |
|
4 | 82 |
THHFont = record |
83 |
Handle: PTTF_Font; |
|
371 | 84 |
Height: LongInt; |
85 |
style: LongInt; |
|
4 | 86 |
Name: string[15]; |
87 |
end; |
|
282 | 88 |
|
930 | 89 |
PAmmo = ^TAmmo; |
4 | 90 |
TAmmo = record |
91 |
Propz: LongWord; |
|
92 |
Count: LongWord; |
|
93 |
NumPerTurn: LongWord; |
|
94 |
Timer: LongWord; |
|
408 | 95 |
Pos: LongWord; |
4 | 96 |
AmmoType: TAmmoType; |
97 |
end; |
|
755 | 98 |
TTexture = record |
99 |
id: GLuint; |
|
100 |
w, h: LongInt; |
|
101 |
end; |
|
102 |
PTexture = ^TTexture; |
|
4 | 103 |
|
104 |
||
105 | 105 |
const |
43 | 106 |
errmsgCreateSurface = 'Error creating SDL surface'; |
4 | 107 |
errmsgTransparentSet = 'Error setting transparent color'; |
108 |
errmsgUnknownCommand = 'Unknown command'; |
|
109 |
errmsgUnknownVariable = 'Unknown variable'; |
|
110 |
errmsgIncorrectUse = 'Incorrect use'; |
|
111 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
615 | 112 |
errmsgWrongNumber = 'Wrong parameters number'; |
4 | 113 |
|
114 |
msgLoading = 'Loading '; |
|
115 |
msgOK = 'ok'; |
|
116 |
msgFailed = 'failed'; |
|
117 |
msgGettingConfig = 'Getting game config...'; |
|
118 |
||
119 |
const |
|
304 | 120 |
cMaxPower = 1500; |
121 |
cMaxAngle = 2048; |
|
122 |
cPowerDivisor = 1500; |
|
621 | 123 |
|
74 | 124 |
MAXNAMELEN = 32; |
125 |
||
760 | 126 |
COLOR_LAND = $00FFFFFF; |
64 | 127 |
|
55
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
128 |
cifRandomize = $00000001; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
129 |
cifTheme = $00000002; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
130 |
cifMap = $00000002; // either theme or map (or map+theme) |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
131 |
cifAllInited = cifRandomize or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
132 |
cifTheme or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
133 |
cifMap; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
134 |
|
188 | 135 |
cTransparentColor: Longword = $000000; |
4 | 136 |
|
614 | 137 |
cMaxTeams = 6; |
109 | 138 |
cMaxHHIndex = 7; |
423 | 139 |
cMaxHHs = 30; |
53 | 140 |
cMaxSpawnPoints = 1024; |
4 | 141 |
|
22 | 142 |
cMaxEdgePoints = 16384; |
143 |
||
53 | 144 |
cHHRadius = 9; |
70 | 145 |
cHHStepTicks = 38; |
509 | 146 |
|
294 | 147 |
cHHZ = 1000; |
148 |
cCurrHHZ = Succ(cHHZ); |
|
4 | 149 |
|
509 | 150 |
cShotgunRadius = 22; |
511 | 151 |
cBlowTorchC = 6; |
509 | 152 |
|
109 | 153 |
cKeyMaxIndex = 1023; |
4 | 154 |
|
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
155 |
cMaxCaptions = 4; |
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
156 |
|
601
78a68cc4d846
Special game mode allowing the only clan on map for training mode
unc0rr
parents:
590
diff
changeset
|
157 |
gfForts = $00000001; |
614 | 158 |
gfMultiWeapon = $00000002; |
621 | 159 |
gfSolidLand = $00000004; |
601
78a68cc4d846
Special game mode allowing the only clan on map for training mode
unc0rr
parents:
590
diff
changeset
|
160 |
gfOneClanMode = $10000000; |
4 | 161 |
|
162 |
gstDrowning = $00000001; |
|
163 |
gstHHDriven = $00000002; |
|
164 |
gstMoving = $00000004; |
|
165 |
gstAttacked = $00000008; |
|
166 |
gstAttacking = $00000010; |
|
167 |
gstCollision = $00000020; |
|
168 |
gstHHChooseTarget = $00000040; |
|
169 |
gstHHJumping = $00000100; |
|
170 |
gsttmpFlag = $00000200; |
|
171 |
gstHHThinking = $00000800; |
|
79 | 172 |
gstNoDamage = $00001000; |
424 | 173 |
gstHHHJump = $00002000; |
511 | 174 |
gstAnimation = $00004000; |
868 | 175 |
gstHHDeath = $00008000; |
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; |
|
1010 | 396 |
Width: 256; Height: 32; saveSurf: false),// sprKamikaze |
397 |
(FileName: 'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
|
398 |
Width: 128; Height: 32; saveSurf: false) // sprWhip |
|
35 | 399 |
); |
688 | 400 |
|
4 | 401 |
Soundz: array[TSound] of record |
799 | 402 |
FileName: String[31]; |
403 |
Path : TPathType; |
|
404 |
id : PMixChunk; |
|
405 |
lastChan: LongInt; |
|
406 |
end = ( |
|
407 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
|
408 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
409 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
410 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
411 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
412 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
413 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
414 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
415 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
416 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
|
417 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
|
418 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndUFO |
|
419 |
(FileName: 'Jump1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump1 |
|
420 |
(FileName: 'Jump2.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump2 |
|
800 | 421 |
(FileName: 'Jump3.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump3 |
422 |
(FileName: 'Yessir.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndYesSir |
|
801 | 423 |
(FileName: 'Laugh.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndLaugh |
424 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIllGetYou |
|
815 | 425 |
(FileName: 'Incoming.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIncoming |
426 |
(FileName: 'Missed.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndMissed |
|
829 | 427 |
(FileName: 'Stupid.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndStupid |
863 | 428 |
(FileName: 'Firstblood.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndFirstBlood |
429 |
(FileName: 'Boring.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndBoring |
|
864 | 430 |
(FileName: 'Byebye.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndByeBye |
431 |
(FileName: 'Sameteam.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndSameTeam |
|
865 | 432 |
(FileName: 'Nutter.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndNutter |
866 | 433 |
(FileName:'Reinforcements.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndReinforce |
434 |
(FileName: 'Traitor.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndTraitor |
|
867 | 435 |
(FileName:'Youllregretthat.ogg';Path: ptVoices; id: nil; lastChan: 0),// sndRegret |
870 | 436 |
(FileName: 'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown |
437 |
(FileName: 'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward |
|
873 | 438 |
(FileName: 'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndHurry |
992 | 439 |
(FileName: 'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndWatchIt |
440 |
(FileName: 'Kamikaze.ogg'; Path: ptVoices; id: nil; lastChan: 0) // sndKamikaze |
|
815 | 441 |
); |
4 | 442 |
|
443 |
Ammoz: array [TAmmoType] of record |
|
80 | 444 |
NameId: TAmmoStrId; |
843 | 445 |
NameTex: PTexture; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
446 |
Probability, NumberInCase: Longword; |
4 | 447 |
Ammo: TAmmo; |
112 | 448 |
Slot: 0..cMaxSlotIndex; |
4 | 449 |
TimeAfterTurn: Longword; |
304 | 450 |
minAngle, maxAngle: Longword; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
451 |
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
|
452 |
SkipTurns: Longword; |
408 | 453 |
PosCount: Longword; |
454 |
PosSprite: TSprite; |
|
4 | 455 |
end = ( |
80 | 456 |
(NameId: sidGrenade; |
843 | 457 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
458 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
459 |
NumberInCase: 1; |
263 | 460 |
Ammo: (Propz: ammoprop_Timerable or |
930 | 461 |
ammoprop_Power or |
462 |
ammoprop_AltUse; |
|
4 | 463 |
Count: AMMO_INFINITE; |
464 |
NumPerTurn: 0; |
|
465 |
Timer: 3000; |
|
408 | 466 |
Pos: 0; |
4 | 467 |
AmmoType: amGrenade); |
10 | 468 |
Slot: 1; |
351 | 469 |
TimeAfterTurn: 3000; |
470 |
minAngle: 0; |
|
408 | 471 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
472 |
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
|
473 |
SkipTurns: 0; |
495 | 474 |
PosCount: 1; |
475 |
PosSprite: sprWater), |
|
80 | 476 |
(NameId: sidClusterBomb; |
843 | 477 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
478 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
479 |
NumberInCase: 3; |
263 | 480 |
Ammo: (Propz: ammoprop_Timerable or |
930 | 481 |
ammoprop_Power or |
482 |
ammoprop_AltUse; |
|
78 | 483 |
Count: 5; |
484 |
NumPerTurn: 0; |
|
485 |
Timer: 3000; |
|
408 | 486 |
Pos: 0; |
78 | 487 |
AmmoType: amClusterBomb); |
488 |
Slot: 1; |
|
351 | 489 |
TimeAfterTurn: 3000; |
490 |
minAngle: 0; |
|
408 | 491 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
492 |
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
|
493 |
SkipTurns: 0; |
495 | 494 |
PosCount: 1; |
495 |
PosSprite: sprWater), |
|
80 | 496 |
(NameId: sidBazooka; |
843 | 497 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
498 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
499 |
NumberInCase: 1; |
930 | 500 |
Ammo: (Propz: ammoprop_Power or |
501 |
ammoprop_AltUse; |
|
4 | 502 |
Count: AMMO_INFINITE; |
503 |
NumPerTurn: 0; |
|
504 |
Timer: 0; |
|
408 | 505 |
Pos: 0; |
4 | 506 |
AmmoType: amBazooka); |
10 | 507 |
Slot: 0; |
351 | 508 |
TimeAfterTurn: 3000; |
509 |
minAngle: 0; |
|
408 | 510 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
511 |
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
|
512 |
SkipTurns: 0; |
495 | 513 |
PosCount: 1; |
514 |
PosSprite: sprWater), |
|
80 | 515 |
(NameId: sidUFO; |
843 | 516 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
517 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
518 |
NumberInCase: 1; |
263 | 519 |
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
|
520 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
521 |
ammoprop_DontHold; |
56 | 522 |
Count: 2; |
4 | 523 |
NumPerTurn: 0; |
524 |
Timer: 0; |
|
408 | 525 |
Pos: 0; |
4 | 526 |
AmmoType: amUFO); |
527 |
Slot: 0; |
|
351 | 528 |
TimeAfterTurn: 3000; |
529 |
minAngle: 0; |
|
408 | 530 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
531 |
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
|
532 |
SkipTurns: 0; |
495 | 533 |
PosCount: 1; |
534 |
PosSprite: sprWater), |
|
80 | 535 |
(NameId: sidShotgun; |
843 | 536 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
537 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
538 |
NumberInCase: 1; |
95 | 539 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 540 |
Count: AMMO_INFINITE; |
541 |
NumPerTurn: 1; |
|
542 |
Timer: 0; |
|
408 | 543 |
Pos: 0; |
4 | 544 |
AmmoType: amShotgun); |
545 |
Slot: 2; |
|
351 | 546 |
TimeAfterTurn: 3000; |
547 |
minAngle: 0; |
|
408 | 548 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
549 |
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
|
550 |
SkipTurns: 0; |
495 | 551 |
PosCount: 1; |
552 |
PosSprite: sprWater), |
|
80 | 553 |
(NameId: sidPickHammer; |
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; |
263 | 557 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 558 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
559 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
560 |
ammoprop_DontHold; |
4 | 561 |
Count: 2; |
562 |
NumPerTurn: 0; |
|
563 |
Timer: 0; |
|
408 | 564 |
Pos: 0; |
4 | 565 |
AmmoType: amPickHammer); |
263 | 566 |
Slot: 6; |
351 | 567 |
TimeAfterTurn: 0; |
568 |
minAngle: 0; |
|
408 | 569 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
570 |
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
|
571 |
SkipTurns: 0; |
495 | 572 |
PosCount: 1; |
573 |
PosSprite: sprWater), |
|
80 | 574 |
(NameId: sidSkip; |
843 | 575 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
576 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
577 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
578 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 579 |
Count: AMMO_INFINITE; |
580 |
NumPerTurn: 0; |
|
581 |
Timer: 0; |
|
408 | 582 |
Pos: 0; |
4 | 583 |
AmmoType: amSkip); |
263 | 584 |
Slot: 8; |
351 | 585 |
TimeAfterTurn: 0; |
586 |
minAngle: 0; |
|
408 | 587 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
588 |
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
|
589 |
SkipTurns: 0; |
495 | 590 |
PosCount: 1; |
591 |
PosSprite: sprWater), |
|
80 | 592 |
(NameId: sidRope; |
843 | 593 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
594 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
595 |
NumberInCase: 3; |
263 | 596 |
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
|
597 |
ammoprop_AttackInMove or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
598 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
599 |
ammoprop_AltAttack; |
4 | 600 |
Count: 5; |
601 |
NumPerTurn: 0; |
|
602 |
Timer: 0; |
|
408 | 603 |
Pos: 0; |
4 | 604 |
AmmoType: amRope); |
263 | 605 |
Slot: 7; |
304 | 606 |
TimeAfterTurn: 0; |
351 | 607 |
minAngle: 0; |
823
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
608 |
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
|
609 |
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
|
610 |
SkipTurns: 0; |
495 | 611 |
PosCount: 1; |
612 |
PosSprite: sprWater), |
|
80 | 613 |
(NameId: sidMine; |
843 | 614 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
615 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
616 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
617 |
Ammo: (Propz: ammoprop_NoCrosshair or |
931 | 618 |
ammoprop_AttackInMove or |
930 | 619 |
ammoprop_DontHold or |
620 |
ammoprop_AltUse; |
|
56 | 621 |
Count: 2; |
10 | 622 |
NumPerTurn: 0; |
623 |
Timer: 0; |
|
408 | 624 |
Pos: 0; |
10 | 625 |
AmmoType: amMine); |
79 | 626 |
Slot: 4; |
351 | 627 |
TimeAfterTurn: 5000; |
628 |
minAngle: 0; |
|
408 | 629 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
630 |
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
|
631 |
SkipTurns: 0; |
495 | 632 |
PosCount: 1; |
633 |
PosSprite: sprWater), |
|
80 | 634 |
(NameId: sidDEagle; |
843 | 635 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
636 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
637 |
NumberInCase: 2; |
37 | 638 |
Ammo: (Propz: 0; |
75 | 639 |
Count: 3; |
37 | 640 |
NumPerTurn: 3; |
641 |
Timer: 0; |
|
408 | 642 |
Pos: 0; |
37 | 643 |
AmmoType: amDEagle); |
644 |
Slot: 2; |
|
351 | 645 |
TimeAfterTurn: 3000; |
646 |
minAngle: 0; |
|
408 | 647 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
648 |
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
|
649 |
SkipTurns: 0; |
495 | 650 |
PosCount: 1; |
651 |
PosSprite: sprWater), |
|
408 | 652 |
(NameId: sidDynamite; |
843 | 653 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
654 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
655 |
NumberInCase: 1; |
408 | 656 |
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
|
657 |
ammoprop_AttackInMove or |
930 | 658 |
ammoprop_DontHold or |
659 |
ammoprop_AltUse; |
|
408 | 660 |
Count: 1; |
661 |
NumPerTurn: 0; |
|
662 |
Timer: 0; |
|
663 |
Pos: 0; |
|
664 |
AmmoType: amDynamite); |
|
665 |
Slot: 4; |
|
666 |
TimeAfterTurn: 5000; |
|
351 | 667 |
minAngle: 0; |
408 | 668 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
669 |
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
|
670 |
SkipTurns: 0; |
495 | 671 |
PosCount: 1; |
672 |
PosSprite: sprWater), |
|
408 | 673 |
(NameId: sidFirePunch; |
843 | 674 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
675 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
676 |
NumberInCase: 1; |
408 | 677 |
Ammo: (Propz: ammoprop_NoCrosshair or |
678 |
ammoprop_ForwMsgs or |
|
542 | 679 |
ammoprop_AttackInMove; |
408 | 680 |
Count: AMMO_INFINITE; |
681 |
NumPerTurn: 0; |
|
682 |
Timer: 0; |
|
683 |
Pos: 0; |
|
684 |
AmmoType: amFirePunch); |
|
685 |
Slot: 3; |
|
686 |
TimeAfterTurn: 3000; |
|
687 |
MinAngle: 0; |
|
688 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
689 |
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
|
690 |
SkipTurns: 0; |
495 | 691 |
PosCount: 1; |
692 |
PosSprite: sprWater), |
|
925 | 693 |
(NameId: sidWhip; |
694 |
NameTex: nil; |
|
695 |
Probability: 0; |
|
696 |
NumberInCase: 1; |
|
697 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
698 |
Count: AMMO_INFINITE; |
|
699 |
NumPerTurn: 0; |
|
700 |
Timer: 0; |
|
701 |
Pos: 0; |
|
702 |
AmmoType: amWhip); |
|
703 |
Slot: 3; |
|
704 |
TimeAfterTurn: 3000; |
|
705 |
MinAngle: 0; |
|
706 |
maxAngle: 0; |
|
707 |
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
|
708 |
SkipTurns: 0; |
925 | 709 |
PosCount: 1; |
710 |
PosSprite: sprWater), |
|
408 | 711 |
(NameId: sidBaseballBat; |
843 | 712 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
713 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
714 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
715 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 716 |
Count: 1; |
717 |
NumPerTurn: 0; |
|
718 |
Timer: 0; |
|
719 |
Pos: 0; |
|
720 |
AmmoType: amBaseballBat); |
|
721 |
Slot: 3; |
|
722 |
TimeAfterTurn: 5000; |
|
351 | 723 |
minAngle: 0; |
408 | 724 |
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
|
725 |
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
|
726 |
SkipTurns: 2; |
495 | 727 |
PosCount: 1; |
728 |
PosSprite: sprWater), |
|
211 | 729 |
(NameId: sidParachute; |
843 | 730 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
731 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
732 |
NumberInCase: 1; |
263 | 733 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 734 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
735 |
ammoprop_NoCrosshair or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
736 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
737 |
ammoprop_AltAttack; |
211 | 738 |
Count: 2; |
739 |
NumPerTurn: 0; |
|
740 |
Timer: 0; |
|
408 | 741 |
Pos: 0; |
211 | 742 |
AmmoType: amParachute); |
263 | 743 |
Slot: 7; |
351 | 744 |
TimeAfterTurn: 0; |
745 |
minAngle: 0; |
|
408 | 746 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
747 |
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
|
748 |
SkipTurns: 0; |
495 | 749 |
PosCount: 1; |
750 |
PosSprite: sprWater), |
|
263 | 751 |
(NameId: sidAirAttack; |
843 | 752 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
753 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
754 |
NumberInCase: 1; |
263 | 755 |
Ammo: (Propz: ammoprop_NoCrosshair or |
756 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
757 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
758 |
ammoprop_DontHold; |
285 | 759 |
Count: 1; |
263 | 760 |
NumPerTurn: 0; |
761 |
Timer: 0; |
|
408 | 762 |
Pos: 0; |
263 | 763 |
AmmoType: amAirAttack); |
764 |
Slot: 5; |
|
351 | 765 |
TimeAfterTurn: 0; |
766 |
minAngle: 0; |
|
408 | 767 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
768 |
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
|
769 |
SkipTurns: 5; |
408 | 770 |
PosCount: 2; |
771 |
PosSprite: sprAmAirplane), |
|
285 | 772 |
(NameId: sidMineStrike; |
843 | 773 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
774 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
775 |
NumberInCase: 1; |
285 | 776 |
Ammo: (Propz: ammoprop_NoCrosshair or |
777 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
778 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
779 |
ammoprop_DontHold; |
285 | 780 |
Count: 1; |
781 |
NumPerTurn: 0; |
|
782 |
Timer: 0; |
|
408 | 783 |
Pos: 0; |
285 | 784 |
AmmoType: amMineStrike); |
785 |
Slot: 5; |
|
351 | 786 |
TimeAfterTurn: 0; |
787 |
minAngle: 0; |
|
408 | 788 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
789 |
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
|
790 |
SkipTurns: 5; |
408 | 791 |
PosCount: 2; |
792 |
PosSprite: sprAmAirplane), |
|
302 | 793 |
(NameId: sidBlowTorch; |
843 | 794 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
795 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
796 |
NumberInCase: 2; |
302 | 797 |
Ammo: (Propz: ammoprop_ForwMsgs; |
798 |
Count: 1; |
|
799 |
NumPerTurn: 0; |
|
800 |
Timer: 0; |
|
408 | 801 |
Pos: 0; |
302 | 802 |
AmmoType: amBlowTorch); |
803 |
Slot: 6; |
|
304 | 804 |
TimeAfterTurn: 3000; |
305 | 805 |
minAngle: 768; |
408 | 806 |
maxAngle: 1280; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
807 |
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
|
808 |
SkipTurns: 0; |
495 | 809 |
PosCount: 1; |
810 |
PosSprite: sprWater), |
|
409 | 811 |
(NameId: sidGirder; |
843 | 812 |
NameTex: nil; |
409 | 813 |
Probability: 400; |
411 | 814 |
NumberInCase: 3; |
409 | 815 |
Ammo: (Propz: ammoprop_NoCrosshair or |
816 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
817 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
818 |
ammoprop_DontHold; |
409 | 819 |
Count: 1; |
820 |
NumPerTurn: 0; |
|
821 |
Timer: 0; |
|
822 |
Pos: 0; |
|
823 |
AmmoType: amGirder); |
|
824 |
Slot: 6; |
|
825 |
TimeAfterTurn: 3000; |
|
826 |
minAngle: 0; |
|
827 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
828 |
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
|
829 |
SkipTurns: 0; |
423 | 830 |
PosCount: 8; |
520 | 831 |
PosSprite: sprAmGirder), |
832 |
(NameId: sidTeleport; |
|
843 | 833 |
NameTex: nil; |
520 | 834 |
Probability: 400; |
835 |
NumberInCase: 1; |
|
525 | 836 |
Ammo: (Propz: ammoprop_ForwMsgs or |
837 |
ammoprop_NoCrosshair or |
|
520 | 838 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
839 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
840 |
ammoprop_DontHold; |
520 | 841 |
Count: 2; |
842 |
NumPerTurn: 0; |
|
843 |
Timer: 0; |
|
844 |
Pos: 0; |
|
845 |
AmmoType: amTeleport); |
|
846 |
Slot: 7; |
|
847 |
TimeAfterTurn: 0; |
|
848 |
minAngle: 0; |
|
849 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
850 |
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
|
851 |
SkipTurns: 0; |
520 | 852 |
PosCount: 1; |
534 | 853 |
PosSprite: sprWater), |
854 |
(NameId: sidSwitch; |
|
843 | 855 |
NameTex: nil; |
534 | 856 |
Probability: 100; |
857 |
NumberInCase: 1; |
|
858 |
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
|
859 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
860 |
ammoprop_DontHold; |
534 | 861 |
Count: 3; |
862 |
NumPerTurn: 0; |
|
863 |
Timer: 0; |
|
864 |
Pos: 0; |
|
865 |
AmmoType: amSwitch); |
|
866 |
Slot: 8; |
|
867 |
TimeAfterTurn: 0; |
|
868 |
minAngle: 0; |
|
869 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
870 |
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
|
871 |
SkipTurns: 0; |
534 | 872 |
PosCount: 1; |
924 | 873 |
PosSprite: sprWater), |
874 |
(NameId: sidMortar; |
|
875 |
NameTex: nil; |
|
876 |
Probability: 100; |
|
877 |
NumberInCase: 5; |
|
878 |
Ammo: (Propz: 0; |
|
983 | 879 |
Count: 4; |
924 | 880 |
NumPerTurn: 0; |
881 |
Timer: 0; |
|
882 |
Pos: 0; |
|
883 |
AmmoType: amMortar); |
|
884 |
Slot: 1; |
|
885 |
TimeAfterTurn: 3000; |
|
886 |
minAngle: 0; |
|
887 |
maxAngle: 0; |
|
888 |
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
|
889 |
SkipTurns: 0; |
924 | 890 |
PosCount: 1; |
983 | 891 |
PosSprite: sprWater), |
892 |
(NameId: sidKamikaze; |
|
893 |
NameTex: nil; |
|
894 |
Probability: 100; |
|
895 |
NumberInCase: 1; |
|
984 | 896 |
Ammo: (Propz: ammoprop_ForwMsgs or |
897 |
ammoprop_DontHold; |
|
983 | 898 |
Count: 1; |
899 |
NumPerTurn: 0; |
|
900 |
Timer: 0; |
|
901 |
Pos: 0; |
|
902 |
AmmoType: amKamikaze); |
|
903 |
Slot: 3; |
|
904 |
TimeAfterTurn: 0; |
|
905 |
minAngle: 0; |
|
906 |
maxAngle: 0; |
|
907 |
isDamaging: true; |
|
908 |
SkipTurns: 0; |
|
909 |
PosCount: 1; |
|
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
910 |
PosSprite: sprWater) |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
911 |
); |
37 | 912 |
|
844 | 913 |
var CountTexz: array[1..9] of PTexture; |
914 |
||
4 | 915 |
implementation |
916 |
||
917 |
end. |