hedgewars/uConsts.pas
changeset 1036 551af2411980
parent 1034 05f003ad3caa
child 1037 63f956a6fe7f
equal deleted inserted replaced
1035:6f5842bc481b 1036:551af2411980
    43                    sprQuestion, sprPowerBar, sprWindBar, sprWindL, sprWindR,
    43                    sprQuestion, sprPowerBar, sprWindBar, sprWindL, sprWindR,
    44                    sprFlake, sprHandRope, sprHandBazooka, sprHandShotgun,
    44                    sprFlake, sprHandRope, sprHandBazooka, sprHandShotgun,
    45                    sprHandDEagle, sprHandAirAttack, sprHandBaseball, sprPHammer,
    45                    sprHandDEagle, sprHandAirAttack, sprHandBaseball, sprPHammer,
    46                    sprHandBlowTorch, sprBlowTorch, sprTeleport, sprHHDeath,
    46                    sprHandBlowTorch, sprBlowTorch, sprTeleport, sprHHDeath,
    47                    sprShotgun, sprDEagle, sprHHIdle, sprMortar, sprTurnsLeft,
    47                    sprShotgun, sprDEagle, sprHHIdle, sprMortar, sprTurnsLeft,
    48                    sprHat, sprKamikaze, sprWhip, sprKowtow, sprSad);
    48                    sprHat, sprKamikaze, sprWhip, sprKowtow, sprSad, sprWave,
       
    49                    sprHurrah);
    49 
    50 
    50      TGearType  = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag,
    51      TGearType  = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag,
    51                    gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope,
    52                    gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope,
    52                    gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite,
    53                    gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite,
    53                    gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame,
    54                    gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame,
    77 
    78 
    78      TCapGroup  = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume);
    79      TCapGroup  = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume);
    79 
    80 
    80      TStatInfoType = (siGameResult, siMaxStepDamage, siMaxStepKills, siKilledHHs);
    81      TStatInfoType = (siGameResult, siMaxStepDamage, siMaxStepKills, siKilledHHs);
    81 
    82 
    82      TWave = (waveRollup, waveSad);
    83      TWave = (waveRollup, waveSad,waveWave, waveHurrah);
    83 
    84 
    84      THHFont    = record
    85      THHFont    = record
    85                   Handle: PTTF_Font;
    86                   Handle: PTTF_Font;
    86                   Height: LongInt;
    87                   Height: LongInt;
    87                   style: LongInt;
    88                   style: LongInt;
   402                      (FileName:     'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   403                      (FileName:     'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   403                       Width: 128; Height: 32; saveSurf: false),// sprWhip
   404                       Width: 128; Height: 32; saveSurf: false),// sprWhip
   404                      (FileName:     'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   405                      (FileName:     'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   405                       Width:  32; Height: 32; saveSurf: false),// sprKowtow
   406                       Width:  32; Height: 32; saveSurf: false),// sprKowtow
   406                      (FileName:        'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   407                      (FileName:        'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   407                       Width:  32; Height: 32; saveSurf: false) // sprSad
   408                       Width:  32; Height: 32; saveSurf: false),// sprSad
       
   409                      (FileName:       'Wave'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
       
   410                       Width:  64; Height: 32; saveSurf: false),// sprWave
       
   411                      (FileName:     'Hurrah'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
       
   412                       Width:  32; Height: 32; saveSurf: false) // sprHurrah
   408                      );
   413                      );
   409 
   414 
   410 	Wavez: array [TWave] of record
   415 	Wavez: array [TWave] of record
   411 			Sprite: TSprite;
   416 			Sprite: TSprite;
   412 			FramesCount: Longword;
   417 			FramesCount: Longword;
   413 			cmd: String[10];
   418 			cmd: String[10];
   414 			end = (
   419 			end = (
   415 			(Sprite: sprKowtow; FramesCount: 12; cmd: '/rollup'),
   420 			(Sprite: sprKowtow; FramesCount: 12; cmd: '/rollup'),
   416 			(Sprite:    sprSad; FramesCount: 14; cmd: '/sad')
   421 			(Sprite:    sprSad; FramesCount: 14; cmd: '/sad'),
       
   422 			(Sprite:   sprWave; FramesCount: 14; cmd: '/wave'),
       
   423 			(Sprite: sprHurrah; FramesCount: 14; cmd: '/hurrah')
   417 			);
   424 			);
   418 
   425 
   419       Soundz: array[TSound] of record
   426       Soundz: array[TSound] of record
   420                 FileName: String[19];
   427                 FileName: String[19];
   421                 Path    : TPathType;
   428                 Path    : TPathType;