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