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