author | unc0rr |
Thu, 04 Jan 2007 16:27:45 +0000 | |
changeset 306 | 7b61834edcf6 |
parent 305 | 1c1cd66ffcdc |
child 307 | 96b428ac11f2 |
permissions | -rw-r--r-- |
4 | 1 |
(* |
2 |
* Hedgewars, a worms-like game |
|
3 |
* Copyright (c) 2004, 2005 Andrey Korotaev <unC0Rr@gmail.com> |
|
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 |
|
80 | 21 |
uses SDLh, uLocale; |
4 | 22 |
{$INCLUDE options.inc} |
271 | 23 |
{$INCLUDE proto.inc} |
80 | 24 |
type TStuff = (sConsoleBG, sPowerBar, sQuestion, sWindBar, |
35 | 25 |
sWindL, sWindR, sRopeNode); |
282 | 26 |
|
4 | 27 |
TGameState = (gsLandGen, gsStart, gsGame, gsConsole, gsExit); |
282 | 28 |
|
155
401f4ea24715
Engine can generate land preview and send it via IPC
unc0rr
parents:
112
diff
changeset
|
29 |
TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview); |
282 | 30 |
|
80 | 31 |
TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
32 |
ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
|
161 | 33 |
ptLocale, ptAmmoMenu); |
282 | 34 |
|
4 | 35 |
TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame, |
36 |
sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO, |
|
10 | 37 |
sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff, |
78 | 38 |
sprMineOn, sprCase, sprFAid, sprDynamite, sprPower, |
80 | 39 |
sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont, |
161 | 40 |
sprSky, sprAMBorders, sprAMSlot, sprAMSlotName, sprAMAmmos, |
283 | 41 |
sprAMSlotKeys, sprAMSelection, sprFinger, sprAirBomb, |
42 |
sprAirplane); |
|
282 | 43 |
|
4 | 44 |
TGearType = (gtCloud, gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, |
83 | 45 |
gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, |
49 | 46 |
gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, |
82 | 47 |
gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, |
211 | 48 |
gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, |
302 | 49 |
gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch); |
282 | 50 |
|
16 | 51 |
TGearsType = set of TGearType; |
282 | 52 |
|
53 |
TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, |
|
54 |
sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact, |
|
55 |
sndMineTick, sndPickhammer); |
|
56 |
||
82 | 57 |
TAmmoType = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer, |
58 |
amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, |
|
302 | 59 |
amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch); |
282 | 60 |
|
4 | 61 |
THWFont = (fnt16, fntBig); |
282 | 62 |
|
174 | 63 |
TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume); |
282 | 64 |
|
306 | 65 |
TStatInfoType = (siGameResult); |
66 |
||
4 | 67 |
THHFont = record |
68 |
Handle: PTTF_Font; |
|
69 |
Height: integer; |
|
202 | 70 |
style: integer; |
4 | 71 |
Name: string[15]; |
72 |
end; |
|
282 | 73 |
|
4 | 74 |
TAmmo = record |
75 |
Propz: LongWord; |
|
76 |
Count: LongWord; |
|
77 |
NumPerTurn: LongWord; |
|
78 |
Timer: LongWord; |
|
79 |
AmmoType: TAmmoType; |
|
80 |
end; |
|
81 |
||
82 |
||
105 | 83 |
const |
43 | 84 |
errmsgCreateSurface = 'Error creating SDL surface'; |
4 | 85 |
errmsgTransparentSet = 'Error setting transparent color'; |
86 |
errmsgUnknownCommand = 'Unknown command'; |
|
87 |
errmsgUnknownVariable = 'Unknown variable'; |
|
88 |
errmsgIncorrectUse = 'Incorrect use'; |
|
89 |
errmsgShouldntRun = 'This program shouldn''t be run manually'; |
|
90 |
||
91 |
msgLoading = 'Loading '; |
|
92 |
msgOK = 'ok'; |
|
93 |
msgFailed = 'failed'; |
|
94 |
msgGettingConfig = 'Getting game config...'; |
|
95 |
||
96 |
const |
|
304 | 97 |
cMaxPower = 1500; |
98 |
cMaxAngle = 2048; |
|
99 |
cPowerDivisor = 1500; |
|
100 |
||
74 | 101 |
MAXNAMELEN = 32; |
102 |
||
64 | 103 |
COLOR_LAND = $00FFFFFF; |
104 |
||
55
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
105 |
cifRandomize = $00000001; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
106 |
cifTheme = $00000002; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
107 |
cifMap = $00000002; // either theme or map (or map+theme) |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
108 |
cifAllInited = cifRandomize or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
109 |
cifTheme or |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
110 |
cifMap; |
e09f7c952a40
Send run parameters by cmd line, game parameters by IPC... breaks network game
unc0rr
parents:
53
diff
changeset
|
111 |
|
188 | 112 |
cTransparentColor: Longword = $000000; |
4 | 113 |
|
109 | 114 |
cMaxHHIndex = 7; |
22 | 115 |
cMaxHHs = 20; |
53 | 116 |
cMaxSpawnPoints = 1024; |
4 | 117 |
|
22 | 118 |
cMaxEdgePoints = 16384; |
119 |
||
53 | 120 |
cHHRadius = 9; |
70 | 121 |
cHHStepTicks = 38; |
294 | 122 |
cHHZ = 1000; |
123 |
cCurrHHZ = Succ(cHHZ); |
|
300 | 124 |
cHHKick = 0.03; |
125 |
cLittle = 0.0000001; |
|
4 | 126 |
|
109 | 127 |
cKeyMaxIndex = 1023; |
4 | 128 |
|
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
129 |
cMaxCaptions = 4; |
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
130 |
|
4 | 131 |
cInactDelay = 1500; |
132 |
||
133 |
gfForts = $00000001; |
|
134 |
||
135 |
gstDrowning = $00000001; |
|
136 |
gstHHDriven = $00000002; |
|
137 |
gstMoving = $00000004; |
|
138 |
gstAttacked = $00000008; |
|
139 |
gstAttacking = $00000010; |
|
140 |
gstCollision = $00000020; |
|
141 |
gstHHChooseTarget = $00000040; |
|
142 |
gstFalling = $00000080; |
|
143 |
gstHHJumping = $00000100; |
|
144 |
gsttmpFlag = $00000200; |
|
145 |
gstHHThinking = $00000800; |
|
79 | 146 |
gstNoDamage = $00001000; |
4 | 147 |
|
148 |
gm_Left = $00000001; |
|
149 |
gm_Right = $00000002; |
|
150 |
gm_Up = $00000004; |
|
151 |
gm_Down = $00000008; |
|
152 |
gm_Switch = $00000010; |
|
153 |
gm_Attack = $00000020; |
|
154 |
gm_LJump = $00000040; |
|
155 |
gm_HJump = $00000080; |
|
156 |
gm_Destroy= $00000100; |
|
157 |
||
263 | 158 |
cMaxSlotIndex = 8; |
10 | 159 |
cMaxSlotAmmoIndex = 1; |
4 | 160 |
|
161 |
ammoprop_Timerable = $00000001; |
|
162 |
ammoprop_Power = $00000002; |
|
163 |
ammoprop_NeedTarget = $00000004; |
|
164 |
ammoprop_ForwMsgs = $00000008; |
|
165 |
ammoprop_AttackInFall = $00000010; |
|
166 |
ammoprop_AttackInJump = $00000020; |
|
13 | 167 |
ammoprop_NoCrosshair = $00000040; |
263 | 168 |
ammoprop_AttackingPut = $00000080; |
4 | 169 |
AMMO_INFINITE = High(LongWord); |
170 |
||
42 | 171 |
EXPLAllDamageInRadius = $00000001; |
172 |
EXPLAutoSound = $00000002; |
|
173 |
EXPLNoDamage = $00000004; |
|
174 |
EXPLDoNotTouchHH = $00000008; |
|
305 | 175 |
EXPLDontDraw = $00000010; |
42 | 176 |
|
177 |
posCaseAmmo = $00000001; |
|
178 |
posCaseHealth = $00000002; |
|
4 | 179 |
|
79 | 180 |
NoPointX = Low(Integer); |
4 | 181 |
|
74 | 182 |
cHHFileName = 'Hedgehog'; |
183 |
cCHFileName = 'Crosshair'; |
|
4 | 184 |
cThemeCFGFilename = 'theme.cfg'; |
185 |
||
186 |
Fontz: array[THWFont] of THHFont = ( |
|
187 |
(Height: 12; |
|
202 | 188 |
style: TTF_STYLE_NORMAL; |
74 | 189 |
Name: 'DejaVuSans.ttf'), |
4 | 190 |
(Height: 24; |
202 | 191 |
style: TTF_STYLE_NORMAL; |
74 | 192 |
Name: 'DejaVuSans.ttf') |
4 | 193 |
); |
194 |
||
202 | 195 |
FontBorder = 2; |
196 |
||
99 | 197 |
PathPrefix: string = './'; |
198 |
Pathz: array[TPathType] of string = ( |
|
80 | 199 |
'', // ptNone |
267 | 200 |
'', // ptData |
201 |
'Graphics', // ptGraphics |
|
202 |
'Themes', // ptThemes |
|
203 |
'Themes/avematan', // ptCurrTheme |
|
204 |
'Teams', // ptTeams |
|
205 |
'Maps', // ptMaps |
|
53 | 206 |
'', // ptMapCurrent |
267 | 207 |
'Demos', // ptDemos |
208 |
'Sounds', // ptSounds |
|
209 |
'Graphics/Graves', // ptGraves |
|
210 |
'Fonts', // ptFonts |
|
211 |
'Forts', // ptForts |
|
212 |
'Locale', // ptLocale |
|
213 |
'Graphics/AmmoMenu' // ptAmmoMenu |
|
4 | 214 |
); |
215 |
||
216 |
StuffLoadData: array[TStuff] of record |
|
217 |
FileName: String[31]; |
|
218 |
Path : TPathType; |
|
219 |
end = ( |
|
74 | 220 |
(FileName: 'Console'; Path: ptGraphics ), // sConsoleBG |
221 |
(FileName: 'PowerBar'; Path: ptGraphics ), // sPowerBar |
|
222 |
(FileName: 'thinking'; Path: ptGraphics ), // sQuestion |
|
223 |
(FileName: 'WindBar'; Path: ptGraphics ), // sWindBar |
|
224 |
(FileName: 'WindL'; Path: ptGraphics ), // sWindL |
|
225 |
(FileName: 'WindR'; Path: ptGraphics ), // sWindR |
|
226 |
(FileName: 'RopeNode'; Path: ptGraphics ) // sRopeNode |
|
4 | 227 |
); |
228 |
StuffPoz: array[TStuff] of TSDL_Rect = ( |
|
229 |
(x: 256; y: 256; w: 256; h: 256), // sConsoleBG |
|
230 |
(x: 256; y: 768; w: 256; h: 32), // sPowerBar |
|
5 | 231 |
(x: 256; y: 512; w: 32; h: 32), // sQuestion |
232 |
(x: 256; y: 800; w: 151; h: 17), // sWindBar |
|
233 |
(x: 256; y: 817; w: 80; h: 13), // sWindL |
|
35 | 234 |
(x: 336; y: 817; w: 80; h: 13), // sWindR |
235 |
(x: 256; y: 544; w: 6; h: 6) // sRopeNode |
|
4 | 236 |
); |
237 |
SpritesData: array[TSprite] of record |
|
35 | 238 |
FileName: String[31]; |
80 | 239 |
Path, AltPath: TPathType; |
35 | 240 |
Surface : PSDL_Surface; |
241 |
Width, Height: integer; |
|
242 |
hasAlpha: boolean; |
|
243 |
end = ( |
|
74 | 244 |
(FileName: 'BlueWater'; Path: ptGraphics; Width: 256; Height: 48; hasAlpha: false),// sprWater |
80 | 245 |
(FileName: 'Clouds'; Path: ptCurrTheme; |
246 |
AltPath: ptGraphics; Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
74 | 247 |
(FileName: 'Bomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprBomb |
248 |
(FileName: 'BigDigits'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
249 |
(FileName: 'Frame'; Path: ptGraphics; Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
250 |
(FileName: 'Lag'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprLag |
|
251 |
(FileName: 'Arrow'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
252 |
(FileName: 'Grenade'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
253 |
(FileName: 'Targetp'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
254 |
(FileName: 'UFO'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
255 |
(FileName:'SmokeTrace'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
256 |
(FileName: 'RopeHook'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
257 |
(FileName: 'Expl50'; Path: ptGraphics; Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
258 |
(FileName: 'MineOff'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
259 |
(FileName: 'MineOn'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
260 |
(FileName: 'Case'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
75 | 261 |
(FileName: 'FirstAid'; Path: ptGraphics; Width: 48; Height: 48; hasAlpha: false),// sprFAid |
74 | 262 |
(FileName: 'dynamite'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
78 | 263 |
(FileName: 'Power'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: true),// sprPower |
264 |
(FileName: 'ClBomb'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
79 | 265 |
(FileName:'ClParticle'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
80 | 266 |
(FileName: 'Flame'; Path: ptGraphics; Width: 16; Height: 16; hasAlpha: false),// sprFlame |
267 |
(FileName: 'horizont'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
161 | 268 |
(FileName: 'Sky'; Path: ptCurrTheme;Width: 0; Height: 0; hasAlpha: false),// sprSky |
269 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; Width: 202; Height: 1; hasAlpha: false),// sprAMBorders |
|
270 |
(FileName: 'Slot'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlot |
|
271 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName |
|
272 |
(FileName: 'Ammos'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMAmmos |
|
162 | 273 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMSlotKeys |
176 | 274 |
(FileName: 'Selection'; Path: ptAmmoMenu; Width: 32; Height: 32; hasAlpha: false),// sprAMSelection |
263 | 275 |
(FileName: 'Finger'; Path: ptGraphics; Width: 32; Height: 48; hasAlpha: false),// sprFinger |
283 | 276 |
(FileName: 'AirBomb'; Path: ptGraphics; Width: 32; Height: 32; hasAlpha: false),// sprAirBomb |
277 |
(FileName: 'Airplane'; Path: ptGraphics; Width: 125; Height: 42; hasAlpha: false) // sprAirplane |
|
35 | 278 |
); |
4 | 279 |
Soundz: array[TSound] of record |
280 |
FileName: String[31]; |
|
281 |
Path : TPathType; |
|
282 |
id : PMixChunk; |
|
282 | 283 |
lastChan: LongInt; |
4 | 284 |
end = ( |
285 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds ),// sndGrenadeImpact |
|
286 |
(FileName: 'explosion.ogg'; Path: ptSounds ),// sndExplosion |
|
287 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds ),// sndThrowPowerUp |
|
288 |
(FileName: 'throwrelease.ogg'; Path: ptSounds ),// sndThrowRelease |
|
289 |
(FileName: 'splash.ogg'; Path: ptSounds ),// sndSplash |
|
290 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds ),// sndShotgunReload |
|
291 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds ),// sndShotgunFire |
|
13 | 292 |
(FileName: 'graveimpact.ogg'; Path: ptSounds ),// sndGraveImpact |
282 | 293 |
(FileName: 'minetick.ogg'; Path: ptSounds ),// sndMineTicks |
294 |
(FileName: 'pickhammer.ogg'; Path: ptSounds ) // sndPickhammer |
|
4 | 295 |
); |
296 |
||
297 |
Ammoz: array [TAmmoType] of record |
|
80 | 298 |
NameId: TAmmoStrId; |
4 | 299 |
Ammo: TAmmo; |
112 | 300 |
Slot: 0..cMaxSlotIndex; |
4 | 301 |
TimeAfterTurn: Longword; |
304 | 302 |
minAngle, maxAngle: Longword; |
4 | 303 |
end = ( |
80 | 304 |
(NameId: sidGrenade; |
263 | 305 |
Ammo: (Propz: ammoprop_Timerable or |
306 |
ammoprop_Power; |
|
4 | 307 |
Count: AMMO_INFINITE; |
308 |
NumPerTurn: 0; |
|
309 |
Timer: 3000; |
|
310 |
AmmoType: amGrenade); |
|
10 | 311 |
Slot: 1; |
4 | 312 |
TimeAfterTurn: 3000), |
80 | 313 |
(NameId: sidClusterBomb; |
263 | 314 |
Ammo: (Propz: ammoprop_Timerable or |
315 |
ammoprop_Power; |
|
78 | 316 |
Count: 5; |
317 |
NumPerTurn: 0; |
|
318 |
Timer: 3000; |
|
319 |
AmmoType: amClusterBomb); |
|
320 |
Slot: 1; |
|
321 |
TimeAfterTurn: 3000), |
|
80 | 322 |
(NameId: sidBazooka; |
4 | 323 |
Ammo: (Propz: ammoprop_Power; |
324 |
Count: AMMO_INFINITE; |
|
325 |
NumPerTurn: 0; |
|
326 |
Timer: 0; |
|
327 |
AmmoType: amBazooka); |
|
10 | 328 |
Slot: 0; |
4 | 329 |
TimeAfterTurn: 3000), |
80 | 330 |
(NameId: sidUFO; |
263 | 331 |
Ammo: (Propz: ammoprop_Power or |
332 |
ammoprop_NeedTarget; |
|
56 | 333 |
Count: 2; |
4 | 334 |
NumPerTurn: 0; |
335 |
Timer: 0; |
|
336 |
AmmoType: amUFO); |
|
337 |
Slot: 0; |
|
338 |
TimeAfterTurn: 3000), |
|
80 | 339 |
(NameId: sidShotgun; |
95 | 340 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 341 |
Count: AMMO_INFINITE; |
342 |
NumPerTurn: 1; |
|
343 |
Timer: 0; |
|
344 |
AmmoType: amShotgun); |
|
345 |
Slot: 2; |
|
346 |
TimeAfterTurn: 3000), |
|
80 | 347 |
(NameId: sidPickHammer; |
263 | 348 |
Ammo: (Propz: ammoprop_ForwMsgs or |
349 |
ammoprop_AttackInFall or |
|
350 |
ammoprop_AttackInJump or |
|
351 |
ammoprop_NoCrosshair; |
|
4 | 352 |
Count: 2; |
353 |
NumPerTurn: 0; |
|
354 |
Timer: 0; |
|
355 |
AmmoType: amPickHammer); |
|
263 | 356 |
Slot: 6; |
4 | 357 |
TimeAfterTurn: 0), |
80 | 358 |
(NameId: sidSkip; |
4 | 359 |
Ammo: (Propz: 0; |
360 |
Count: AMMO_INFINITE; |
|
361 |
NumPerTurn: 0; |
|
362 |
Timer: 0; |
|
363 |
AmmoType: amSkip); |
|
263 | 364 |
Slot: 8; |
4 | 365 |
TimeAfterTurn: 0), |
80 | 366 |
(NameId: sidRope; |
263 | 367 |
Ammo: (Propz: ammoprop_ForwMsgs or |
368 |
ammoprop_AttackInFall or |
|
369 |
ammoprop_AttackInJump; |
|
4 | 370 |
Count: 5; |
371 |
NumPerTurn: 0; |
|
372 |
Timer: 0; |
|
373 |
AmmoType: amRope); |
|
263 | 374 |
Slot: 7; |
304 | 375 |
TimeAfterTurn: 0; |
376 |
maxAngle: cMaxAngle div 2), |
|
80 | 377 |
(NameId: sidMine; |
13 | 378 |
Ammo: (Propz: ammoprop_NoCrosshair; |
56 | 379 |
Count: 2; |
10 | 380 |
NumPerTurn: 0; |
381 |
Timer: 0; |
|
382 |
AmmoType: amMine); |
|
79 | 383 |
Slot: 4; |
384 |
TimeAfterTurn: 5000), |
|
80 | 385 |
(NameId: sidDEagle; |
37 | 386 |
Ammo: (Propz: 0; |
75 | 387 |
Count: 3; |
37 | 388 |
NumPerTurn: 3; |
389 |
Timer: 0; |
|
390 |
AmmoType: amDEagle); |
|
391 |
Slot: 2; |
|
39 | 392 |
TimeAfterTurn: 3000), |
80 | 393 |
(NameId: sidDynamite; |
263 | 394 |
Ammo: (Propz: ammoprop_NoCrosshair or |
395 |
ammoprop_AttackInJump or |
|
396 |
ammoprop_AttackInFall; |
|
56 | 397 |
Count: 1; |
39 | 398 |
NumPerTurn: 0; |
399 |
Timer: 0; |
|
400 |
AmmoType: amDynamite); |
|
79 | 401 |
Slot: 4; |
402 |
TimeAfterTurn: 5000), |
|
82 | 403 |
(NameId: sidFirePunch; |
263 | 404 |
Ammo: (Propz: ammoprop_NoCrosshair or |
405 |
ammoprop_ForwMsgs or |
|
406 |
ammoprop_AttackInJump or |
|
407 |
ammoprop_AttackInFall; |
|
82 | 408 |
Count: AMMO_INFINITE; |
409 |
NumPerTurn: 0; |
|
410 |
Timer: 0; |
|
411 |
AmmoType: amFirePunch); |
|
412 |
Slot: 3; |
|
413 |
TimeAfterTurn: 3000), |
|
80 | 414 |
(NameId: sidBaseballBat; |
79 | 415 |
Ammo: (Propz: 0; |
416 |
Count: 1; |
|
417 |
NumPerTurn: 0; |
|
418 |
Timer: 0; |
|
419 |
AmmoType: amBaseballBat); |
|
39 | 420 |
Slot: 3; |
211 | 421 |
TimeAfterTurn: 5000), |
422 |
(NameId: sidParachute; |
|
263 | 423 |
Ammo: (Propz: ammoprop_ForwMsgs or |
424 |
ammoprop_AttackInJump or |
|
425 |
ammoprop_AttackInFall; |
|
211 | 426 |
Count: 2; |
427 |
NumPerTurn: 0; |
|
428 |
Timer: 0; |
|
429 |
AmmoType: amParachute); |
|
263 | 430 |
Slot: 7; |
431 |
TimeAfterTurn: 0), |
|
432 |
(NameId: sidAirAttack; |
|
433 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
434 |
ammoprop_NeedTarget or |
|
435 |
ammoprop_AttackingPut; |
|
285 | 436 |
Count: 1; |
263 | 437 |
NumPerTurn: 0; |
438 |
Timer: 0; |
|
439 |
AmmoType: amAirAttack); |
|
440 |
Slot: 5; |
|
285 | 441 |
TimeAfterTurn: 0), |
442 |
(NameId: sidMineStrike; |
|
443 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
444 |
ammoprop_NeedTarget or |
|
445 |
ammoprop_AttackingPut; |
|
446 |
Count: 1; |
|
447 |
NumPerTurn: 0; |
|
448 |
Timer: 0; |
|
449 |
AmmoType: amMineStrike); |
|
450 |
Slot: 5; |
|
302 | 451 |
TimeAfterTurn: 0), |
452 |
(NameId: sidBlowTorch; |
|
453 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
454 |
Count: 1; |
|
455 |
NumPerTurn: 0; |
|
456 |
Timer: 0; |
|
457 |
AmmoType: amBlowTorch); |
|
458 |
Slot: 6; |
|
304 | 459 |
TimeAfterTurn: 3000; |
305 | 460 |
minAngle: 768; |
461 |
maxAngle: 1280)); |
|
37 | 462 |
|
4 | 463 |
implementation |
464 |
||
465 |
end. |