hedgewars/uVariables.pas
changeset 6891 ab9843957664
parent 6890 6fc12f30c55c
child 6894 555a8d8db228
equal deleted inserted replaced
6890:6fc12f30c55c 6891:ab9843957664
   111     GameTicks   : LongWord;
   111     GameTicks   : LongWord;
   112 
   112 
   113     // originally from uConsts
   113     // originally from uConsts
   114     Pathz: array[TPathType] of shortstring;
   114     Pathz: array[TPathType] of shortstring;
   115     UserPathz: array[TPathType] of shortstring;
   115     UserPathz: array[TPathType] of shortstring;
   116     CountTexz: array[1..Pred(AMMO_INFINITE)] of PTexture;
   116     CountTexz: array[0..Pred(AMMO_INFINITE)] of PTexture;
   117     LAND_WIDTH       : Word;
   117     LAND_WIDTH       : Word;
   118     LAND_HEIGHT      : Word;
   118     LAND_HEIGHT      : Word;
   119     LAND_WIDTH_MASK  : LongWord;
   119     LAND_WIDTH_MASK  : LongWord;
   120     LAND_HEIGHT_MASK : LongWord;
   120     LAND_HEIGHT_MASK : LongWord;
   121     cMaxCaptions     : LongInt;
   121     cMaxCaptions     : LongInt;
   278             Name: 'wqy-zenhei.ttc')
   278             Name: 'wqy-zenhei.ttc')
   279             {$ENDIF}
   279             {$ENDIF}
   280             );
   280             );
   281 
   281 
   282     SpritesData: array[TSprite] of record
   282     SpritesData: array[TSprite] of record
   283             FileName: string[16];
   283             FileName: string[15];
   284             Path, AltPath: TPathType;
   284             Path, AltPath: TPathType;
   285             Texture: PTexture;
   285             Texture: PTexture;
   286             Surface: PSDL_Surface;
   286             Surface: PSDL_Surface;
   287             Width, Height, imageWidth, imageHeight: LongInt;
   287             Width, Height, imageWidth, imageHeight: LongInt;
   288             saveSurf: boolean;
   288             saveSurf: boolean;
   618             (FileName: 'amResurrector'; Path: ptHedgehog; AltPath: ptNone;
   618             (FileName: 'amResurrector'; Path: ptHedgehog; AltPath: ptNone;
   619                 Texture: nil; Surface: nil; Width: 32; Height: 32;
   619                 Texture: nil; Surface: nil; Width: 32; Height: 32;
   620                 imageWidth: 0; imageHeight: 0; saveSurf: false; priority:
   620                 imageWidth: 0; imageHeight: 0; saveSurf: false; priority:
   621                 tpMedium; getDimensions: false; getImageDimensions: true),
   621                 tpMedium; getDimensions: false; getImageDimensions: true),
   622             //sprHandResurrector
   622             //sprHandResurrector
   623             (FileName: 'Cross'; Path: ptGraphics; altPath: ptNone;
   623             (FileName: 'Cross'; Path: ptGraphics; AltPath: ptNone;
   624                 Texture: nil; Surface: nil; Width: 108; Height: 138;
   624                 Texture: nil; Surface: nil; Width: 108; Height: 138;
   625                 imageWidth: 0; imageHeight: 0; saveSurf: false; priority:
   625                 imageWidth: 0; imageHeight: 0; saveSurf: false; priority:
   626                 tpMedium; getDimensions: false; getImageDimensions: true),
   626                 tpMedium; getDimensions: false; getImageDimensions: true),
   627             //sprCross
   627             //sprCross
   628             (FileName:  'AirDrill'; Path: ptGraphics; AltPath: ptNone;
   628             (FileName:  'AirDrill'; Path: ptGraphics; AltPath: ptNone;
   665 
   665 
   666     Wavez: array [TWave] of record
   666     Wavez: array [TWave] of record
   667             Sprite: TSprite;
   667             Sprite: TSprite;
   668             FramesCount: Longword;
   668             FramesCount: Longword;
   669             Interval: Longword;
   669             Interval: Longword;
   670             cmd: string[20];
   670             cmd: string[31];
   671             Voice: TSound;
   671             Voice: TSound;
   672             VoiceDelay: LongWord;
   672             VoiceDelay: LongWord;
   673             end = (
   673             end = (
   674             (Sprite:   sprKowtow; FramesCount: 12; Interval: 125; cmd: '/rollup'; Voice: sndNone; VoiceDelay: 0),
   674             (Sprite:   sprKowtow; FramesCount: 12; Interval: 125; cmd: '/rollup'; Voice: sndNone; VoiceDelay: 0),
   675             (Sprite:      sprSad; FramesCount: 14; Interval: 125; cmd: '/sad'; Voice: sndNone; VoiceDelay: 0),
   675             (Sprite:      sprSad; FramesCount: 14; Interval: 125; cmd: '/sad'; Voice: sndNone; VoiceDelay: 0),
   679             (Sprite:    sprShrug; FramesCount: 24; Interval: 125; cmd: '/shrug'; Voice: sndNone; VoiceDelay: 0),
   679             (Sprite:    sprShrug; FramesCount: 24; Interval: 125; cmd: '/shrug'; Voice: sndNone; VoiceDelay: 0),
   680             (Sprite:   sprJuggle; FramesCount: 49; Interval:  38; cmd: '/juggle'; Voice: sndNone; VoiceDelay: 0)
   680             (Sprite:   sprJuggle; FramesCount: 49; Interval:  38; cmd: '/juggle'; Voice: sndNone; VoiceDelay: 0)
   681             );
   681             );
   682 
   682 
   683     Soundz: array[TSound] of record
   683     Soundz: array[TSound] of record
   684             FileName: string[25];
   684             FileName: string[31];
   685             Path    : TPathType;
   685             Path    : TPathType;
   686             end = (
   686             end = (
   687             (FileName:                         ''; Path: ptNone  ),// sndNone
   687             (FileName:                         ''; Path: ptNone  ),// sndNone
   688             (FileName:        'grenadeimpact.ogg'; Path: ptSounds),// sndGrenadeImpact
   688             (FileName:        'grenadeimpact.ogg'; Path: ptSounds),// sndGrenadeImpact
   689             (FileName:            'explosion.ogg'; Path: ptSounds),// sndExplosion
   689             (FileName:            'explosion.ogg'; Path: ptSounds),// sndExplosion