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