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