author | unc0rr |
Tue, 05 Aug 2008 22:39:05 +0000 | |
changeset 1155 | ffd0a34171f1 |
parent 1141 | 44d4d6aaecb5 |
child 1184 | 852f8872da1a |
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, |
1125 | 50 |
sprCakeWalk, sprCakeDown, sprAMAmmosBW); |
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, |
1123 | 72 |
sndCake, sndOw1, sndOw4); |
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; |
|
1118 | 91 |
Name: string[19]; |
4 | 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; |
1141 | 150 |
cHHStepTicks = 29; |
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; |
|
1118 | 234 |
style: TTF_STYLE_NORMAL; |
235 |
Name: 'DejaVuSans-Bold.ttf'), |
|
1033 | 236 |
(Handle: nil; |
237 |
Height: 24; |
|
1118 | 238 |
style: TTF_STYLE_NORMAL; |
239 |
Name: 'DejaVuSans-Bold.ttf'), |
|
1033 | 240 |
(Handle: nil; |
241 |
Height: 10; |
|
1118 | 242 |
style: TTF_STYLE_NORMAL; |
243 |
Name: 'DejaVuSans-Bold.ttf') |
|
1033 | 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; |
|
1125 | 425 |
Width: 64; Height: 64; saveSurf: false),// sprCakeDown |
426 |
(FileName: 'Ammos_bw'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
|
427 |
Width: 32; Height: 32; saveSurf: false) // sprAMAmmosBW |
|
35 | 428 |
); |
688 | 429 |
|
1034 | 430 |
Wavez: array [TWave] of record |
431 |
Sprite: TSprite; |
|
432 |
FramesCount: Longword; |
|
1037 | 433 |
cmd: String[20]; |
1034 | 434 |
end = ( |
1037 | 435 |
(Sprite: sprKowtow; FramesCount: 12; cmd: '/rollup'), |
436 |
(Sprite: sprSad; FramesCount: 14; cmd: '/sad'), |
|
437 |
(Sprite: sprWave; FramesCount: 16; cmd: '/wave'), |
|
438 |
(Sprite: sprHurrah; FramesCount: 14; cmd: '/hurrah'), |
|
439 |
(Sprite: sprLemonade; FramesCount: 24; cmd: '/ilovelotsoflemonade') |
|
1034 | 440 |
); |
441 |
||
4 | 442 |
Soundz: array[TSound] of record |
1033 | 443 |
FileName: String[19]; |
799 | 444 |
Path : TPathType; |
445 |
id : PMixChunk; |
|
446 |
lastChan: LongInt; |
|
447 |
end = ( |
|
448 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGrenadeImpact |
|
449 |
(FileName: 'explosion.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndExplosion |
|
450 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowPowerUp |
|
451 |
(FileName: 'throwrelease.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndThrowRelease |
|
452 |
(FileName: 'splash.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndSplash |
|
453 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunReload |
|
454 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndShotgunFire |
|
455 |
(FileName: 'graveimpact.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGraveImpact |
|
456 |
(FileName: 'minetick.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndMineTicks |
|
457 |
(FileName: 'pickhammer.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndPickhammer |
|
458 |
(FileName: 'gun.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndGun |
|
459 |
(FileName: 'ufo.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndUFO |
|
460 |
(FileName: 'Jump1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump1 |
|
461 |
(FileName: 'Jump2.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump2 |
|
800 | 462 |
(FileName: 'Jump3.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndJump3 |
463 |
(FileName: 'Yessir.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndYesSir |
|
801 | 464 |
(FileName: 'Laugh.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndLaugh |
465 |
(FileName: 'Illgetyou.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIllGetYou |
|
815 | 466 |
(FileName: 'Incoming.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndIncoming |
467 |
(FileName: 'Missed.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndMissed |
|
829 | 468 |
(FileName: 'Stupid.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndStupid |
863 | 469 |
(FileName: 'Firstblood.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndFirstBlood |
470 |
(FileName: 'Boring.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndBoring |
|
864 | 471 |
(FileName: 'Byebye.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndByeBye |
472 |
(FileName: 'Sameteam.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndSameTeam |
|
865 | 473 |
(FileName: 'Nutter.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndNutter |
866 | 474 |
(FileName:'Reinforcements.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndReinforce |
475 |
(FileName: 'Traitor.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndTraitor |
|
867 | 476 |
(FileName:'Youllregretthat.ogg';Path: ptVoices; id: nil; lastChan: 0),// sndRegret |
870 | 477 |
(FileName: 'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown |
478 |
(FileName: 'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward |
|
873 | 479 |
(FileName: 'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndHurry |
992 | 480 |
(FileName: 'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndWatchIt |
1111 | 481 |
(FileName: 'Kamikaze.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndKamikaze |
1123 | 482 |
(FileName: 'cake2.ogg'; Path: ptSounds; id: nil; lastChan: 0),// sndCake |
483 |
(FileName: 'Ow1.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndOw1 |
|
484 |
(FileName: 'Ow4.ogg'; Path: ptVoices; id: nil; lastChan: 0) // sndOw4 |
|
815 | 485 |
); |
4 | 486 |
|
487 |
Ammoz: array [TAmmoType] of record |
|
80 | 488 |
NameId: TAmmoStrId; |
843 | 489 |
NameTex: PTexture; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
490 |
Probability, NumberInCase: Longword; |
4 | 491 |
Ammo: TAmmo; |
112 | 492 |
Slot: 0..cMaxSlotIndex; |
4 | 493 |
TimeAfterTurn: Longword; |
304 | 494 |
minAngle, maxAngle: Longword; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
495 |
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
|
496 |
SkipTurns: Longword; |
408 | 497 |
PosCount: Longword; |
498 |
PosSprite: TSprite; |
|
4 | 499 |
end = ( |
80 | 500 |
(NameId: sidGrenade; |
843 | 501 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
502 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
503 |
NumberInCase: 1; |
263 | 504 |
Ammo: (Propz: ammoprop_Timerable or |
930 | 505 |
ammoprop_Power or |
506 |
ammoprop_AltUse; |
|
4 | 507 |
Count: AMMO_INFINITE; |
508 |
NumPerTurn: 0; |
|
509 |
Timer: 3000; |
|
408 | 510 |
Pos: 0; |
4 | 511 |
AmmoType: amGrenade); |
10 | 512 |
Slot: 1; |
351 | 513 |
TimeAfterTurn: 3000; |
514 |
minAngle: 0; |
|
408 | 515 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
516 |
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
|
517 |
SkipTurns: 0; |
495 | 518 |
PosCount: 1; |
519 |
PosSprite: sprWater), |
|
80 | 520 |
(NameId: sidClusterBomb; |
843 | 521 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
522 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
523 |
NumberInCase: 3; |
263 | 524 |
Ammo: (Propz: ammoprop_Timerable or |
930 | 525 |
ammoprop_Power or |
526 |
ammoprop_AltUse; |
|
78 | 527 |
Count: 5; |
528 |
NumPerTurn: 0; |
|
529 |
Timer: 3000; |
|
408 | 530 |
Pos: 0; |
78 | 531 |
AmmoType: amClusterBomb); |
532 |
Slot: 1; |
|
351 | 533 |
TimeAfterTurn: 3000; |
534 |
minAngle: 0; |
|
408 | 535 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
536 |
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
|
537 |
SkipTurns: 0; |
495 | 538 |
PosCount: 1; |
539 |
PosSprite: sprWater), |
|
80 | 540 |
(NameId: sidBazooka; |
843 | 541 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
542 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
543 |
NumberInCase: 1; |
930 | 544 |
Ammo: (Propz: ammoprop_Power or |
545 |
ammoprop_AltUse; |
|
4 | 546 |
Count: AMMO_INFINITE; |
547 |
NumPerTurn: 0; |
|
548 |
Timer: 0; |
|
408 | 549 |
Pos: 0; |
4 | 550 |
AmmoType: amBazooka); |
10 | 551 |
Slot: 0; |
351 | 552 |
TimeAfterTurn: 3000; |
553 |
minAngle: 0; |
|
408 | 554 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
555 |
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
|
556 |
SkipTurns: 0; |
495 | 557 |
PosCount: 1; |
558 |
PosSprite: sprWater), |
|
80 | 559 |
(NameId: sidUFO; |
843 | 560 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
561 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
562 |
NumberInCase: 1; |
263 | 563 |
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
|
564 |
ammoprop_NeedTarget or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
565 |
ammoprop_DontHold; |
56 | 566 |
Count: 2; |
4 | 567 |
NumPerTurn: 0; |
568 |
Timer: 0; |
|
408 | 569 |
Pos: 0; |
4 | 570 |
AmmoType: amUFO); |
571 |
Slot: 0; |
|
351 | 572 |
TimeAfterTurn: 3000; |
573 |
minAngle: 0; |
|
408 | 574 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
575 |
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
|
576 |
SkipTurns: 0; |
495 | 577 |
PosCount: 1; |
578 |
PosSprite: sprWater), |
|
80 | 579 |
(NameId: sidShotgun; |
843 | 580 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
581 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
582 |
NumberInCase: 1; |
95 | 583 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 584 |
Count: AMMO_INFINITE; |
585 |
NumPerTurn: 1; |
|
586 |
Timer: 0; |
|
408 | 587 |
Pos: 0; |
4 | 588 |
AmmoType: amShotgun); |
589 |
Slot: 2; |
|
351 | 590 |
TimeAfterTurn: 3000; |
591 |
minAngle: 0; |
|
408 | 592 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
593 |
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
|
594 |
SkipTurns: 0; |
495 | 595 |
PosCount: 1; |
596 |
PosSprite: sprWater), |
|
80 | 597 |
(NameId: sidPickHammer; |
843 | 598 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
599 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
600 |
NumberInCase: 1; |
263 | 601 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 602 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
603 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
604 |
ammoprop_DontHold; |
4 | 605 |
Count: 2; |
606 |
NumPerTurn: 0; |
|
607 |
Timer: 0; |
|
408 | 608 |
Pos: 0; |
4 | 609 |
AmmoType: amPickHammer); |
263 | 610 |
Slot: 6; |
351 | 611 |
TimeAfterTurn: 0; |
612 |
minAngle: 0; |
|
408 | 613 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
614 |
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
|
615 |
SkipTurns: 0; |
495 | 616 |
PosCount: 1; |
617 |
PosSprite: sprWater), |
|
80 | 618 |
(NameId: sidSkip; |
843 | 619 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
620 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
621 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
622 |
Ammo: (Propz: ammoprop_DontHold; |
4 | 623 |
Count: AMMO_INFINITE; |
624 |
NumPerTurn: 0; |
|
625 |
Timer: 0; |
|
408 | 626 |
Pos: 0; |
4 | 627 |
AmmoType: amSkip); |
263 | 628 |
Slot: 8; |
351 | 629 |
TimeAfterTurn: 0; |
630 |
minAngle: 0; |
|
408 | 631 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
632 |
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
|
633 |
SkipTurns: 0; |
495 | 634 |
PosCount: 1; |
635 |
PosSprite: sprWater), |
|
80 | 636 |
(NameId: sidRope; |
843 | 637 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
638 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
639 |
NumberInCase: 3; |
263 | 640 |
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
|
641 |
ammoprop_AttackInMove or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
642 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
643 |
ammoprop_AltAttack; |
4 | 644 |
Count: 5; |
645 |
NumPerTurn: 0; |
|
646 |
Timer: 0; |
|
408 | 647 |
Pos: 0; |
4 | 648 |
AmmoType: amRope); |
263 | 649 |
Slot: 7; |
304 | 650 |
TimeAfterTurn: 0; |
351 | 651 |
minAngle: 0; |
823
90d651e75547
Use ammo-in-hand sprites for desert eagle, shotgun and bazooka
unc0rr
parents:
822
diff
changeset
|
652 |
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
|
653 |
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
|
654 |
SkipTurns: 0; |
495 | 655 |
PosCount: 1; |
656 |
PosSprite: sprWater), |
|
80 | 657 |
(NameId: sidMine; |
843 | 658 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
659 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
660 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
661 |
Ammo: (Propz: ammoprop_NoCrosshair or |
931 | 662 |
ammoprop_AttackInMove or |
930 | 663 |
ammoprop_DontHold or |
664 |
ammoprop_AltUse; |
|
56 | 665 |
Count: 2; |
10 | 666 |
NumPerTurn: 0; |
667 |
Timer: 0; |
|
408 | 668 |
Pos: 0; |
10 | 669 |
AmmoType: amMine); |
79 | 670 |
Slot: 4; |
351 | 671 |
TimeAfterTurn: 5000; |
672 |
minAngle: 0; |
|
408 | 673 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
674 |
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
|
675 |
SkipTurns: 0; |
495 | 676 |
PosCount: 1; |
677 |
PosSprite: sprWater), |
|
80 | 678 |
(NameId: sidDEagle; |
843 | 679 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
680 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
681 |
NumberInCase: 2; |
37 | 682 |
Ammo: (Propz: 0; |
75 | 683 |
Count: 3; |
37 | 684 |
NumPerTurn: 3; |
685 |
Timer: 0; |
|
408 | 686 |
Pos: 0; |
37 | 687 |
AmmoType: amDEagle); |
688 |
Slot: 2; |
|
351 | 689 |
TimeAfterTurn: 3000; |
690 |
minAngle: 0; |
|
408 | 691 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
692 |
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
|
693 |
SkipTurns: 0; |
495 | 694 |
PosCount: 1; |
695 |
PosSprite: sprWater), |
|
408 | 696 |
(NameId: sidDynamite; |
843 | 697 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
698 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
699 |
NumberInCase: 1; |
408 | 700 |
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
|
701 |
ammoprop_AttackInMove or |
930 | 702 |
ammoprop_DontHold or |
703 |
ammoprop_AltUse; |
|
408 | 704 |
Count: 1; |
705 |
NumPerTurn: 0; |
|
706 |
Timer: 0; |
|
707 |
Pos: 0; |
|
708 |
AmmoType: amDynamite); |
|
709 |
Slot: 4; |
|
710 |
TimeAfterTurn: 5000; |
|
351 | 711 |
minAngle: 0; |
408 | 712 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
713 |
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
|
714 |
SkipTurns: 0; |
495 | 715 |
PosCount: 1; |
716 |
PosSprite: sprWater), |
|
408 | 717 |
(NameId: sidFirePunch; |
843 | 718 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
719 |
Probability: 0; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
720 |
NumberInCase: 1; |
408 | 721 |
Ammo: (Propz: ammoprop_NoCrosshair or |
722 |
ammoprop_ForwMsgs or |
|
542 | 723 |
ammoprop_AttackInMove; |
408 | 724 |
Count: AMMO_INFINITE; |
725 |
NumPerTurn: 0; |
|
726 |
Timer: 0; |
|
727 |
Pos: 0; |
|
728 |
AmmoType: amFirePunch); |
|
729 |
Slot: 3; |
|
730 |
TimeAfterTurn: 3000; |
|
731 |
MinAngle: 0; |
|
732 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
733 |
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
|
734 |
SkipTurns: 0; |
495 | 735 |
PosCount: 1; |
736 |
PosSprite: sprWater), |
|
925 | 737 |
(NameId: sidWhip; |
738 |
NameTex: nil; |
|
739 |
Probability: 0; |
|
740 |
NumberInCase: 1; |
|
741 |
Ammo: (Propz: ammoprop_NoCrosshair; |
|
742 |
Count: AMMO_INFINITE; |
|
743 |
NumPerTurn: 0; |
|
744 |
Timer: 0; |
|
745 |
Pos: 0; |
|
746 |
AmmoType: amWhip); |
|
747 |
Slot: 3; |
|
748 |
TimeAfterTurn: 3000; |
|
749 |
MinAngle: 0; |
|
750 |
maxAngle: 0; |
|
751 |
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
|
752 |
SkipTurns: 0; |
925 | 753 |
PosCount: 1; |
754 |
PosSprite: sprWater), |
|
408 | 755 |
(NameId: sidBaseballBat; |
843 | 756 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
757 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
758 |
NumberInCase: 1; |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
759 |
Ammo: (Propz: ammoprop_DontHold; |
408 | 760 |
Count: 1; |
761 |
NumPerTurn: 0; |
|
762 |
Timer: 0; |
|
763 |
Pos: 0; |
|
764 |
AmmoType: amBaseballBat); |
|
765 |
Slot: 3; |
|
766 |
TimeAfterTurn: 5000; |
|
351 | 767 |
minAngle: 0; |
408 | 768 |
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
|
769 |
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
|
770 |
SkipTurns: 2; |
495 | 771 |
PosCount: 1; |
772 |
PosSprite: sprWater), |
|
211 | 773 |
(NameId: sidParachute; |
843 | 774 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
775 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
776 |
NumberInCase: 1; |
263 | 777 |
Ammo: (Propz: ammoprop_ForwMsgs or |
542 | 778 |
ammoprop_AttackInMove or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
779 |
ammoprop_NoCrosshair or |
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
780 |
ammoprop_DontHold or |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
781 |
ammoprop_AltAttack; |
211 | 782 |
Count: 2; |
783 |
NumPerTurn: 0; |
|
784 |
Timer: 0; |
|
408 | 785 |
Pos: 0; |
211 | 786 |
AmmoType: amParachute); |
263 | 787 |
Slot: 7; |
351 | 788 |
TimeAfterTurn: 0; |
789 |
minAngle: 0; |
|
408 | 790 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
791 |
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
|
792 |
SkipTurns: 0; |
495 | 793 |
PosCount: 1; |
794 |
PosSprite: sprWater), |
|
263 | 795 |
(NameId: sidAirAttack; |
843 | 796 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
797 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
798 |
NumberInCase: 1; |
263 | 799 |
Ammo: (Propz: ammoprop_NoCrosshair or |
800 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
801 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
802 |
ammoprop_DontHold; |
285 | 803 |
Count: 1; |
263 | 804 |
NumPerTurn: 0; |
805 |
Timer: 0; |
|
408 | 806 |
Pos: 0; |
263 | 807 |
AmmoType: amAirAttack); |
808 |
Slot: 5; |
|
351 | 809 |
TimeAfterTurn: 0; |
810 |
minAngle: 0; |
|
408 | 811 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
812 |
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
|
813 |
SkipTurns: 5; |
408 | 814 |
PosCount: 2; |
815 |
PosSprite: sprAmAirplane), |
|
285 | 816 |
(NameId: sidMineStrike; |
843 | 817 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
818 |
Probability: 400; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
819 |
NumberInCase: 1; |
285 | 820 |
Ammo: (Propz: ammoprop_NoCrosshair or |
821 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
822 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
823 |
ammoprop_DontHold; |
285 | 824 |
Count: 1; |
825 |
NumPerTurn: 0; |
|
826 |
Timer: 0; |
|
408 | 827 |
Pos: 0; |
285 | 828 |
AmmoType: amMineStrike); |
829 |
Slot: 5; |
|
351 | 830 |
TimeAfterTurn: 0; |
831 |
minAngle: 0; |
|
408 | 832 |
maxAngle: 0; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
833 |
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
|
834 |
SkipTurns: 5; |
408 | 835 |
PosCount: 2; |
836 |
PosSprite: sprAmAirplane), |
|
302 | 837 |
(NameId: sidBlowTorch; |
843 | 838 |
NameTex: nil; |
394
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
839 |
Probability: 100; |
4c017ae1226a
- Implement hack to let ammo stores work without needed assistance of frontend
unc0rr
parents:
393
diff
changeset
|
840 |
NumberInCase: 2; |
302 | 841 |
Ammo: (Propz: ammoprop_ForwMsgs; |
842 |
Count: 1; |
|
843 |
NumPerTurn: 0; |
|
844 |
Timer: 0; |
|
408 | 845 |
Pos: 0; |
302 | 846 |
AmmoType: amBlowTorch); |
847 |
Slot: 6; |
|
304 | 848 |
TimeAfterTurn: 3000; |
305 | 849 |
minAngle: 768; |
408 | 850 |
maxAngle: 1280; |
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
851 |
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
|
852 |
SkipTurns: 0; |
495 | 853 |
PosCount: 1; |
854 |
PosSprite: sprWater), |
|
409 | 855 |
(NameId: sidGirder; |
843 | 856 |
NameTex: nil; |
409 | 857 |
Probability: 400; |
411 | 858 |
NumberInCase: 3; |
409 | 859 |
Ammo: (Propz: ammoprop_NoCrosshair or |
860 |
ammoprop_NeedTarget or |
|
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
861 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
862 |
ammoprop_DontHold; |
409 | 863 |
Count: 1; |
864 |
NumPerTurn: 0; |
|
865 |
Timer: 0; |
|
866 |
Pos: 0; |
|
867 |
AmmoType: amGirder); |
|
868 |
Slot: 6; |
|
869 |
TimeAfterTurn: 3000; |
|
870 |
minAngle: 0; |
|
871 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
872 |
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
|
873 |
SkipTurns: 0; |
423 | 874 |
PosCount: 8; |
520 | 875 |
PosSprite: sprAmGirder), |
876 |
(NameId: sidTeleport; |
|
843 | 877 |
NameTex: nil; |
520 | 878 |
Probability: 400; |
879 |
NumberInCase: 1; |
|
525 | 880 |
Ammo: (Propz: ammoprop_ForwMsgs or |
881 |
ammoprop_NoCrosshair or |
|
520 | 882 |
ammoprop_NeedTarget or |
553
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
883 |
ammoprop_AttackingPut or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
884 |
ammoprop_DontHold; |
520 | 885 |
Count: 2; |
886 |
NumPerTurn: 0; |
|
887 |
Timer: 0; |
|
888 |
Pos: 0; |
|
889 |
AmmoType: amTeleport); |
|
890 |
Slot: 7; |
|
891 |
TimeAfterTurn: 0; |
|
892 |
minAngle: 0; |
|
893 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
894 |
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
|
895 |
SkipTurns: 0; |
520 | 896 |
PosCount: 1; |
534 | 897 |
PosSprite: sprWater), |
898 |
(NameId: sidSwitch; |
|
843 | 899 |
NameTex: nil; |
534 | 900 |
Probability: 100; |
901 |
NumberInCase: 1; |
|
902 |
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
|
903 |
ammoprop_NoCrosshair or |
5478386d935f
- Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
unc0rr
parents:
547
diff
changeset
|
904 |
ammoprop_DontHold; |
534 | 905 |
Count: 3; |
906 |
NumPerTurn: 0; |
|
907 |
Timer: 0; |
|
908 |
Pos: 0; |
|
909 |
AmmoType: amSwitch); |
|
910 |
Slot: 8; |
|
911 |
TimeAfterTurn: 0; |
|
912 |
minAngle: 0; |
|
913 |
maxAngle: 0; |
|
830
f07267032194
- Add statistics info for ammo used in step and whether it is damaging ammo
unc0rr
parents:
829
diff
changeset
|
914 |
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
|
915 |
SkipTurns: 0; |
534 | 916 |
PosCount: 1; |
924 | 917 |
PosSprite: sprWater), |
918 |
(NameId: sidMortar; |
|
919 |
NameTex: nil; |
|
920 |
Probability: 100; |
|
921 |
NumberInCase: 5; |
|
922 |
Ammo: (Propz: 0; |
|
983 | 923 |
Count: 4; |
924 | 924 |
NumPerTurn: 0; |
925 |
Timer: 0; |
|
926 |
Pos: 0; |
|
927 |
AmmoType: amMortar); |
|
928 |
Slot: 1; |
|
929 |
TimeAfterTurn: 3000; |
|
930 |
minAngle: 0; |
|
931 |
maxAngle: 0; |
|
932 |
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
|
933 |
SkipTurns: 0; |
924 | 934 |
PosCount: 1; |
983 | 935 |
PosSprite: sprWater), |
936 |
(NameId: sidKamikaze; |
|
937 |
NameTex: nil; |
|
938 |
Probability: 100; |
|
939 |
NumberInCase: 1; |
|
984 | 940 |
Ammo: (Propz: ammoprop_ForwMsgs or |
941 |
ammoprop_DontHold; |
|
983 | 942 |
Count: 1; |
943 |
NumPerTurn: 0; |
|
944 |
Timer: 0; |
|
945 |
Pos: 0; |
|
946 |
AmmoType: amKamikaze); |
|
947 |
Slot: 3; |
|
948 |
TimeAfterTurn: 0; |
|
949 |
minAngle: 0; |
|
950 |
maxAngle: 0; |
|
951 |
isDamaging: true; |
|
952 |
SkipTurns: 0; |
|
953 |
PosCount: 1; |
|
1088 | 954 |
PosSprite: sprWater), |
1089 | 955 |
(NameId: sidCake; |
1088 | 956 |
NameTex: nil; |
957 |
Probability: 100; |
|
958 |
NumberInCase: 1; |
|
959 |
Ammo: (Propz: ammoprop_ForwMsgs or |
|
960 |
ammoprop_NoCrosshair or |
|
961 |
ammoprop_DontHold; |
|
962 |
Count: 1; |
|
963 |
NumPerTurn: 0; |
|
964 |
Timer: 0; |
|
965 |
Pos: 0; |
|
1089 | 966 |
AmmoType: amCake); |
1088 | 967 |
Slot: 4; |
968 |
TimeAfterTurn: 0; |
|
969 |
minAngle: 0; |
|
970 |
maxAngle: 0; |
|
971 |
isDamaging: true; |
|
972 |
SkipTurns: 0; |
|
973 |
PosCount: 1; |
|
928
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
974 |
PosSprite: sprWater) |
b9064b48b001
Some preparation work for attacking from rope, parachute and etc.
unc0rr
parents:
926
diff
changeset
|
975 |
); |
37 | 976 |
|
844 | 977 |
var CountTexz: array[1..9] of PTexture; |
978 |
||
4 | 979 |
implementation |
980 |
||
981 |
end. |