author | unc0rr |
Fri, 26 Jan 2007 18:39:40 +0000 | |
changeset 368 | fe71e55d2d7b |
parent 351 | 29bc9c36ad5f |
child 371 | 731ad6d27bd1 |
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 |
|
307 | 65 |
TStatInfoType = (siGameResult, siMaxStepDamage, siKilledHHs); |
306 | 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); |
|
4 | 124 |
|
109 | 125 |
cKeyMaxIndex = 1023; |
4 | 126 |
|
97
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
127 |
cMaxCaptions = 4; |
e7c1df9cce2c
- make the game be run from ${PREFIX}/bin with data in ${PREFIX}/share/hedgewars/Data
unc0rr
parents:
95
diff
changeset
|
128 |
|
4 | 129 |
cInactDelay = 1500; |
130 |
||
131 |
gfForts = $00000001; |
|
132 |
||
133 |
gstDrowning = $00000001; |
|
134 |
gstHHDriven = $00000002; |
|
135 |
gstMoving = $00000004; |
|
136 |
gstAttacked = $00000008; |
|
137 |
gstAttacking = $00000010; |
|
138 |
gstCollision = $00000020; |
|
139 |
gstHHChooseTarget = $00000040; |
|
140 |
gstFalling = $00000080; |
|
141 |
gstHHJumping = $00000100; |
|
142 |
gsttmpFlag = $00000200; |
|
143 |
gstHHThinking = $00000800; |
|
79 | 144 |
gstNoDamage = $00001000; |
4 | 145 |
|
146 |
gm_Left = $00000001; |
|
147 |
gm_Right = $00000002; |
|
148 |
gm_Up = $00000004; |
|
149 |
gm_Down = $00000008; |
|
150 |
gm_Switch = $00000010; |
|
151 |
gm_Attack = $00000020; |
|
152 |
gm_LJump = $00000040; |
|
153 |
gm_HJump = $00000080; |
|
154 |
gm_Destroy= $00000100; |
|
155 |
||
263 | 156 |
cMaxSlotIndex = 8; |
10 | 157 |
cMaxSlotAmmoIndex = 1; |
4 | 158 |
|
159 |
ammoprop_Timerable = $00000001; |
|
160 |
ammoprop_Power = $00000002; |
|
161 |
ammoprop_NeedTarget = $00000004; |
|
162 |
ammoprop_ForwMsgs = $00000008; |
|
163 |
ammoprop_AttackInFall = $00000010; |
|
164 |
ammoprop_AttackInJump = $00000020; |
|
13 | 165 |
ammoprop_NoCrosshair = $00000040; |
263 | 166 |
ammoprop_AttackingPut = $00000080; |
4 | 167 |
AMMO_INFINITE = High(LongWord); |
168 |
||
42 | 169 |
EXPLAllDamageInRadius = $00000001; |
170 |
EXPLAutoSound = $00000002; |
|
171 |
EXPLNoDamage = $00000004; |
|
172 |
EXPLDoNotTouchHH = $00000008; |
|
305 | 173 |
EXPLDontDraw = $00000010; |
42 | 174 |
|
175 |
posCaseAmmo = $00000001; |
|
176 |
posCaseHealth = $00000002; |
|
4 | 177 |
|
79 | 178 |
NoPointX = Low(Integer); |
4 | 179 |
|
74 | 180 |
cHHFileName = 'Hedgehog'; |
181 |
cCHFileName = 'Crosshair'; |
|
4 | 182 |
cThemeCFGFilename = 'theme.cfg'; |
183 |
||
184 |
Fontz: array[THWFont] of THHFont = ( |
|
351 | 185 |
(Handle: nil; |
186 |
Height: 12; |
|
202 | 187 |
style: TTF_STYLE_NORMAL; |
74 | 188 |
Name: 'DejaVuSans.ttf'), |
351 | 189 |
(Handle: nil; |
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 = ( |
|
351 | 244 |
(FileName: 'BlueWater'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
245 |
Width: 256; Height: 48; hasAlpha: false),// sprWater |
|
246 |
(FileName: 'Clouds'; Path: ptCurrTheme; AltPath: ptGraphics; Surface: nil; |
|
247 |
Width: 256; Height:128; hasAlpha: false),// sprCloud |
|
248 |
(FileName: 'Bomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
249 |
Width: 16; Height: 16; hasAlpha: false),// sprBomb |
|
250 |
(FileName: 'BigDigits'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
251 |
Width: 32; Height: 32; hasAlpha: true),// sprBigDigit |
|
252 |
(FileName: 'Frame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
253 |
Width: 4; Height: 32; hasAlpha: true),// sprFrame |
|
254 |
(FileName: 'Lag'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
255 |
Width: 64; Height: 64; hasAlpha: false),// sprLag |
|
256 |
(FileName: 'Arrow'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
257 |
Width: 16; Height: 16; hasAlpha: false),// sprCursor |
|
258 |
(FileName: 'Grenade'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
259 |
Width: 32; Height: 32; hasAlpha: false),// sprGrenade |
|
260 |
(FileName: 'Targetp'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
261 |
Width: 32; Height: 32; hasAlpha: false),// sprTargetP |
|
262 |
(FileName: 'UFO'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
263 |
Width: 32; Height: 32; hasAlpha: false),// sprUFO |
|
264 |
(FileName:'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
265 |
Width: 32; Height: 32; hasAlpha: true),// sprSmokeTrace |
|
266 |
(FileName: 'RopeHook'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
267 |
Width: 32; Height: 32; hasAlpha: false),// sprRopeHook |
|
268 |
(FileName: 'Expl50'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
269 |
Width: 64; Height: 64; hasAlpha: false),// sprExplosion50 |
|
270 |
(FileName: 'MineOff'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
271 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOff |
|
272 |
(FileName: 'MineOn'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
273 |
Width: 16; Height: 16; hasAlpha: false),// sprMineOn |
|
274 |
(FileName: 'Case'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
275 |
Width: 32; Height: 32; hasAlpha: false),// sprCase |
|
276 |
(FileName: 'FirstAid'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
277 |
Width: 48; Height: 48; hasAlpha: false),// sprFAid |
|
278 |
(FileName: 'dynamite'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
279 |
Width: 32; Height: 32; hasAlpha: false),// sprDynamite |
|
280 |
(FileName: 'Power'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
281 |
Width: 32; Height: 32; hasAlpha: true),// sprPower |
|
282 |
(FileName: 'ClBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
283 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterBomb |
|
284 |
(FileName:'ClParticle'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
285 |
Width: 16; Height: 16; hasAlpha: false),// sprClusterParticle |
|
286 |
(FileName: 'Flame'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
287 |
Width: 16; Height: 16; hasAlpha: false),// sprFlame |
|
288 |
(FileName: 'horizont'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
289 |
Width: 0; Height: 0; hasAlpha: false),// sprHorizont |
|
290 |
(FileName: 'Sky'; Path: ptCurrTheme; AltPath: ptNone; Surface: nil; |
|
291 |
Width: 0; Height: 0; hasAlpha: false),// sprSky |
|
292 |
(FileName: 'BrdrLines'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
293 |
Width: 202; Height: 1; hasAlpha: false),// sprAMBorders |
|
294 |
(FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
295 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlot |
|
296 |
(FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
297 |
Width: 202; Height: 33; hasAlpha: false),// sprAMSlotName |
|
298 |
(FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
299 |
Width: 32; Height: 32; hasAlpha: false),// sprAMAmmos |
|
300 |
(FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
301 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSlotKeys |
|
302 |
(FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Surface: nil; |
|
303 |
Width: 32; Height: 32; hasAlpha: false),// sprAMSelection |
|
304 |
(FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
305 |
Width: 32; Height: 48; hasAlpha: false),// sprFinger |
|
306 |
(FileName: 'AirBomb'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
307 |
Width: 32; Height: 32; hasAlpha: false),// sprAirBomb |
|
308 |
(FileName: 'Airplane'; Path: ptGraphics; AltPath: ptNone; Surface: nil; |
|
309 |
Width: 125; Height: 42; hasAlpha: false) // sprAirplane |
|
35 | 310 |
); |
4 | 311 |
Soundz: array[TSound] of record |
312 |
FileName: String[31]; |
|
313 |
Path : TPathType; |
|
314 |
id : PMixChunk; |
|
282 | 315 |
lastChan: LongInt; |
4 | 316 |
end = ( |
317 |
(FileName: 'grenadeimpact.ogg'; Path: ptSounds ),// sndGrenadeImpact |
|
318 |
(FileName: 'explosion.ogg'; Path: ptSounds ),// sndExplosion |
|
319 |
(FileName: 'throwpowerup.ogg'; Path: ptSounds ),// sndThrowPowerUp |
|
320 |
(FileName: 'throwrelease.ogg'; Path: ptSounds ),// sndThrowRelease |
|
321 |
(FileName: 'splash.ogg'; Path: ptSounds ),// sndSplash |
|
322 |
(FileName: 'shotgunreload.ogg'; Path: ptSounds ),// sndShotgunReload |
|
323 |
(FileName: 'shotgunfire.ogg'; Path: ptSounds ),// sndShotgunFire |
|
13 | 324 |
(FileName: 'graveimpact.ogg'; Path: ptSounds ),// sndGraveImpact |
282 | 325 |
(FileName: 'minetick.ogg'; Path: ptSounds ),// sndMineTicks |
326 |
(FileName: 'pickhammer.ogg'; Path: ptSounds ) // sndPickhammer |
|
4 | 327 |
); |
328 |
||
329 |
Ammoz: array [TAmmoType] of record |
|
80 | 330 |
NameId: TAmmoStrId; |
4 | 331 |
Ammo: TAmmo; |
112 | 332 |
Slot: 0..cMaxSlotIndex; |
4 | 333 |
TimeAfterTurn: Longword; |
304 | 334 |
minAngle, maxAngle: Longword; |
4 | 335 |
end = ( |
80 | 336 |
(NameId: sidGrenade; |
263 | 337 |
Ammo: (Propz: ammoprop_Timerable or |
338 |
ammoprop_Power; |
|
4 | 339 |
Count: AMMO_INFINITE; |
340 |
NumPerTurn: 0; |
|
341 |
Timer: 3000; |
|
342 |
AmmoType: amGrenade); |
|
10 | 343 |
Slot: 1; |
351 | 344 |
TimeAfterTurn: 3000; |
345 |
minAngle: 0; |
|
346 |
maxAngle: 0), |
|
80 | 347 |
(NameId: sidClusterBomb; |
263 | 348 |
Ammo: (Propz: ammoprop_Timerable or |
349 |
ammoprop_Power; |
|
78 | 350 |
Count: 5; |
351 |
NumPerTurn: 0; |
|
352 |
Timer: 3000; |
|
353 |
AmmoType: amClusterBomb); |
|
354 |
Slot: 1; |
|
351 | 355 |
TimeAfterTurn: 3000; |
356 |
minAngle: 0; |
|
357 |
maxAngle: 0), |
|
80 | 358 |
(NameId: sidBazooka; |
4 | 359 |
Ammo: (Propz: ammoprop_Power; |
360 |
Count: AMMO_INFINITE; |
|
361 |
NumPerTurn: 0; |
|
362 |
Timer: 0; |
|
363 |
AmmoType: amBazooka); |
|
10 | 364 |
Slot: 0; |
351 | 365 |
TimeAfterTurn: 3000; |
366 |
minAngle: 0; |
|
367 |
maxAngle: 0), |
|
80 | 368 |
(NameId: sidUFO; |
263 | 369 |
Ammo: (Propz: ammoprop_Power or |
370 |
ammoprop_NeedTarget; |
|
56 | 371 |
Count: 2; |
4 | 372 |
NumPerTurn: 0; |
373 |
Timer: 0; |
|
374 |
AmmoType: amUFO); |
|
375 |
Slot: 0; |
|
351 | 376 |
TimeAfterTurn: 3000; |
377 |
minAngle: 0; |
|
378 |
maxAngle: 0), |
|
80 | 379 |
(NameId: sidShotgun; |
95 | 380 |
Ammo: (Propz: ammoprop_ForwMsgs; |
4 | 381 |
Count: AMMO_INFINITE; |
382 |
NumPerTurn: 1; |
|
383 |
Timer: 0; |
|
384 |
AmmoType: amShotgun); |
|
385 |
Slot: 2; |
|
351 | 386 |
TimeAfterTurn: 3000; |
387 |
minAngle: 0; |
|
388 |
maxAngle: 0), |
|
80 | 389 |
(NameId: sidPickHammer; |
263 | 390 |
Ammo: (Propz: ammoprop_ForwMsgs or |
391 |
ammoprop_AttackInFall or |
|
392 |
ammoprop_AttackInJump or |
|
393 |
ammoprop_NoCrosshair; |
|
4 | 394 |
Count: 2; |
395 |
NumPerTurn: 0; |
|
396 |
Timer: 0; |
|
397 |
AmmoType: amPickHammer); |
|
263 | 398 |
Slot: 6; |
351 | 399 |
TimeAfterTurn: 0; |
400 |
minAngle: 0; |
|
401 |
maxAngle: 0), |
|
80 | 402 |
(NameId: sidSkip; |
4 | 403 |
Ammo: (Propz: 0; |
404 |
Count: AMMO_INFINITE; |
|
405 |
NumPerTurn: 0; |
|
406 |
Timer: 0; |
|
407 |
AmmoType: amSkip); |
|
263 | 408 |
Slot: 8; |
351 | 409 |
TimeAfterTurn: 0; |
410 |
minAngle: 0; |
|
411 |
maxAngle: 0), |
|
80 | 412 |
(NameId: sidRope; |
263 | 413 |
Ammo: (Propz: ammoprop_ForwMsgs or |
414 |
ammoprop_AttackInFall or |
|
415 |
ammoprop_AttackInJump; |
|
4 | 416 |
Count: 5; |
417 |
NumPerTurn: 0; |
|
418 |
Timer: 0; |
|
419 |
AmmoType: amRope); |
|
263 | 420 |
Slot: 7; |
304 | 421 |
TimeAfterTurn: 0; |
351 | 422 |
minAngle: 0; |
304 | 423 |
maxAngle: cMaxAngle div 2), |
80 | 424 |
(NameId: sidMine; |
13 | 425 |
Ammo: (Propz: ammoprop_NoCrosshair; |
56 | 426 |
Count: 2; |
10 | 427 |
NumPerTurn: 0; |
428 |
Timer: 0; |
|
429 |
AmmoType: amMine); |
|
79 | 430 |
Slot: 4; |
351 | 431 |
TimeAfterTurn: 5000; |
432 |
minAngle: 0; |
|
433 |
maxAngle: 0), |
|
80 | 434 |
(NameId: sidDEagle; |
37 | 435 |
Ammo: (Propz: 0; |
75 | 436 |
Count: 3; |
37 | 437 |
NumPerTurn: 3; |
438 |
Timer: 0; |
|
439 |
AmmoType: amDEagle); |
|
440 |
Slot: 2; |
|
351 | 441 |
TimeAfterTurn: 3000; |
442 |
minAngle: 0; |
|
443 |
maxAngle: 0), |
|
80 | 444 |
(NameId: sidDynamite; |
263 | 445 |
Ammo: (Propz: ammoprop_NoCrosshair or |
446 |
ammoprop_AttackInJump or |
|
447 |
ammoprop_AttackInFall; |
|
56 | 448 |
Count: 1; |
39 | 449 |
NumPerTurn: 0; |
450 |
Timer: 0; |
|
451 |
AmmoType: amDynamite); |
|
79 | 452 |
Slot: 4; |
351 | 453 |
TimeAfterTurn: 5000; |
454 |
minAngle: 0; |
|
455 |
maxAngle: 0), |
|
82 | 456 |
(NameId: sidFirePunch; |
263 | 457 |
Ammo: (Propz: ammoprop_NoCrosshair or |
458 |
ammoprop_ForwMsgs or |
|
459 |
ammoprop_AttackInJump or |
|
460 |
ammoprop_AttackInFall; |
|
82 | 461 |
Count: AMMO_INFINITE; |
462 |
NumPerTurn: 0; |
|
463 |
Timer: 0; |
|
464 |
AmmoType: amFirePunch); |
|
465 |
Slot: 3; |
|
351 | 466 |
TimeAfterTurn: 3000; |
467 |
minAngle: 0; |
|
468 |
maxAngle: 0), |
|
80 | 469 |
(NameId: sidBaseballBat; |
79 | 470 |
Ammo: (Propz: 0; |
471 |
Count: 1; |
|
472 |
NumPerTurn: 0; |
|
473 |
Timer: 0; |
|
474 |
AmmoType: amBaseballBat); |
|
39 | 475 |
Slot: 3; |
351 | 476 |
TimeAfterTurn: 5000; |
477 |
minAngle: 0; |
|
478 |
maxAngle: 0), |
|
211 | 479 |
(NameId: sidParachute; |
263 | 480 |
Ammo: (Propz: ammoprop_ForwMsgs or |
481 |
ammoprop_AttackInJump or |
|
482 |
ammoprop_AttackInFall; |
|
211 | 483 |
Count: 2; |
484 |
NumPerTurn: 0; |
|
485 |
Timer: 0; |
|
486 |
AmmoType: amParachute); |
|
263 | 487 |
Slot: 7; |
351 | 488 |
TimeAfterTurn: 0; |
489 |
minAngle: 0; |
|
490 |
maxAngle: 0), |
|
263 | 491 |
(NameId: sidAirAttack; |
492 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
493 |
ammoprop_NeedTarget or |
|
494 |
ammoprop_AttackingPut; |
|
285 | 495 |
Count: 1; |
263 | 496 |
NumPerTurn: 0; |
497 |
Timer: 0; |
|
498 |
AmmoType: amAirAttack); |
|
499 |
Slot: 5; |
|
351 | 500 |
TimeAfterTurn: 0; |
501 |
minAngle: 0; |
|
502 |
maxAngle: 0), |
|
285 | 503 |
(NameId: sidMineStrike; |
504 |
Ammo: (Propz: ammoprop_NoCrosshair or |
|
505 |
ammoprop_NeedTarget or |
|
506 |
ammoprop_AttackingPut; |
|
507 |
Count: 1; |
|
508 |
NumPerTurn: 0; |
|
509 |
Timer: 0; |
|
510 |
AmmoType: amMineStrike); |
|
511 |
Slot: 5; |
|
351 | 512 |
TimeAfterTurn: 0; |
513 |
minAngle: 0; |
|
514 |
maxAngle: 0), |
|
302 | 515 |
(NameId: sidBlowTorch; |
516 |
Ammo: (Propz: ammoprop_ForwMsgs; |
|
517 |
Count: 1; |
|
518 |
NumPerTurn: 0; |
|
519 |
Timer: 0; |
|
520 |
AmmoType: amBlowTorch); |
|
521 |
Slot: 6; |
|
304 | 522 |
TimeAfterTurn: 3000; |
305 | 523 |
minAngle: 768; |
524 |
maxAngle: 1280)); |
|
37 | 525 |
|
4 | 526 |
implementation |
527 |
||
528 |
end. |