hedgewars/uConsts.pas
changeset 970 1bd9a4eafbc3
parent 965 a4d5fc8eec7a
child 983 d21ad13cd17d
equal deleted inserted replaced
969:7e8a87136fae 970:1bd9a4eafbc3
    27 
    27 
    28      TGameType  = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview);
    28      TGameType  = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview);
    29 
    29 
    30      TPathType  = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps,
    30      TPathType  = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps,
    31                    ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts,
    31                    ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts,
    32                    ptLocale, ptAmmoMenu, ptHedgehog, ptVoices);
    32                    ptLocale, ptAmmoMenu, ptHedgehog, ptVoices, ptHats);
    33 
    33 
    34      TSprite    = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame,
    34      TSprite    = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame,
    35                    sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO,
    35                    sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO,
    36                    sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff,
    36                    sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff,
    37                    sprMineOn, sprCase, sprFAid, sprDynamite, sprPower,
    37                    sprMineOn, sprCase, sprFAid, sprDynamite, sprPower,
    42                    sprSwitch, sprParachute, sprTarget, sprRopeNode, sprConsoleBG,
    42                    sprSwitch, sprParachute, sprTarget, sprRopeNode, sprConsoleBG,
    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);
    48 
    49 
    49      TGearType  = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag,
    50      TGearType  = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag,
    50                    gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope,
    51                    gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope,
    51                    gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite,
    52                    gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite,
    52                    gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame,
    53                    gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame,
   251                                                'Fonts',                         // ptFonts
   252                                                'Fonts',                         // ptFonts
   252                                                'Forts',                         // ptForts
   253                                                'Forts',                         // ptForts
   253                                                'Locale',                        // ptLocale
   254                                                'Locale',                        // ptLocale
   254                                                'Graphics/AmmoMenu',             // ptAmmoMenu
   255                                                'Graphics/AmmoMenu',             // ptAmmoMenu
   255                                                'Graphics/Hedgehog',             // ptHedgehog
   256                                                'Graphics/Hedgehog',             // ptHedgehog
   256                                                'Sounds/voices'                  // ptVoices
   257                                                'Sounds/voices',                 // ptVoices
       
   258                                                'Graphics/Hats'                  // ptHats
   257                                                );
   259                                                );
   258 
   260 
   259       SpritesData: array[TSprite] of record
   261       SpritesData: array[TSprite] of record
   260                      FileName: String[31];
   262                      FileName: String[31];
   261                      Path, AltPath: TPathType;
   263                      Path, AltPath: TPathType;
   387                      (FileName:       'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   389                      (FileName:       'Idle'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   388                       Width:  32; Height: 32; saveSurf: false),// sprHHIdle
   390                       Width:  32; Height: 32; saveSurf: false),// sprHHIdle
   389                      (FileName:     'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   391                      (FileName:     'Mortar'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   390                       Width:  16; Height: 16; saveSurf: false),// sprMortar
   392                       Width:  16; Height: 16; saveSurf: false),// sprMortar
   391                      (FileName:  'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil;
   393                      (FileName:  'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil;
   392                       Width:  16; Height: 16; saveSurf: false) // sprTurnsLeft
   394                       Width:  16; Height: 16; saveSurf: false),// sprTurnsLeft
       
   395                      (FileName:    'Samurai'; Path: ptHats    ; AltPath: ptNone; Texture: nil; Surface: nil;
       
   396                       Width:  32; Height: 32; saveSurf: false) // sprHat
   393                      );
   397                      );
   394 
   398 
   395       Soundz: array[TSound] of record
   399       Soundz: array[TSound] of record
   396                 FileName: String[31];
   400                 FileName: String[31];
   397                 Path    : TPathType;
   401                 Path    : TPathType;