hedgewars/uVariables.pas
changeset 6415 af2047bb4f70
parent 6394 f0a9042e7387
parent 6328 d14adf1c7721
child 6426 2d44f6561e72
equal deleted inserted replaced
6414:8474b7fa84d6 6415:af2047bb4f70
   135 
   135 
   136     bBetweenTurns   : boolean;
   136     bBetweenTurns   : boolean;
   137     bWaterRising    : boolean;
   137     bWaterRising    : boolean;
   138 
   138 
   139     //ShowCrosshair   : boolean;  This variable is inconvenient to set.  Easier to decide when rendering
   139     //ShowCrosshair   : boolean;  This variable is inconvenient to set.  Easier to decide when rendering
       
   140     CrosshairX      : LongInt;
       
   141     CrosshairY      : LongInt;
   140     CursorMovementX : LongInt;
   142     CursorMovementX : LongInt;
   141     CursorMovementY : LongInt;
   143     CursorMovementY : LongInt;
   142     cDrownSpeed     : hwFloat;
   144     cDrownSpeed     : hwFloat;
   143     cDrownSpeedf    : real;
   145     cDrownSpeedf    : real;
   144     cMaxWindSpeed   : hwFloat;
   146     cMaxWindSpeed   : hwFloat;
   212         'Graphics/Hedgehog',             // ptHedgehog
   214         'Graphics/Hedgehog',             // ptHedgehog
   213         'Sounds/voices',                 // ptVoices
   215         'Sounds/voices',                 // ptVoices
   214         'Graphics/Hats',                 // ptHats
   216         'Graphics/Hats',                 // ptHats
   215         'Graphics/Flags',                // ptFlags
   217         'Graphics/Flags',                // ptFlags
   216         'Missions/Maps',                 // ptMissionMaps
   218         'Missions/Maps',                 // ptMissionMaps
   217         'Graphics/SuddenDeath'           // ptSuddenDeath
   219         'Graphics/SuddenDeath',           // ptSuddenDeath
       
   220         'Graphics/Buttons'                // ptButton
   218     );
   221     );
   219 
   222 
   220     cTagsMasks : array[0..15] of byte = (7, 0, 0, 0, 15, 6, 4, 5, 0, 0, 0, 0, 0, 14, 12, 13);
   223     cTagsMasks : array[0..15] of byte = (7, 0, 0, 0, 15, 6, 4, 5, 0, 0, 0, 0, 0, 14, 12, 13);
   221     cTagsMasksNoHealth: array[0..15] of byte = (3, 2, 11, 1, 0, 0, 0, 0, 0, 10, 0, 9, 0, 0, 0, 0);
   224     cTagsMasksNoHealth: array[0..15] of byte = (3, 2, 11, 1, 0, 0, 0, 0, 0, 10, 0, 9, 0, 0, 0, 0);
   222 
   225 
   242             Name: 'DejaVuSans-Bold.ttf'),
   245             Name: 'DejaVuSans-Bold.ttf'),
   243             (Handle: nil;
   246             (Handle: nil;
   244             Height: 10;
   247             Height: 10;
   245             style: TTF_STYLE_NORMAL;
   248             style: TTF_STYLE_NORMAL;
   246             Name: 'DejaVuSans-Bold.ttf')
   249             Name: 'DejaVuSans-Bold.ttf')
   247             {$IFNDEF IPHONEOS}, // remove chinese fonts for now
   250             {$IFNDEF MOBILE}, // remove chinese fonts for now
   248             (Handle: nil;
   251             (Handle: nil;
   249             Height: 12;
   252             Height: 12;
   250             style: TTF_STYLE_NORMAL;
   253             style: TTF_STYLE_NORMAL;
   251             Name: 'wqy-zenhei.ttc'),
   254             Name: 'wqy-zenhei.ttc'),
   252             (Handle: nil;
   255             (Handle: nil;
   619             Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprSDCloud
   622             Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprSDCloud
   620             (FileName:   'SDSplash'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   623             (FileName:   'SDSplash'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   621             Width:  80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSDSplash
   624             Width:  80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSDSplash
   622             (FileName:  'SDDroplet'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   625             (FileName:  'SDDroplet'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   623             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDDroplet
   626             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDDroplet
   624             (FileName:  'TARDIS'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   627             (FileName:  'Egg'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;//TODO change back 'Egg' to 'Tardis'
   625             Width:  48; Height: 79; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true)// sprTardis
   628             Width:  0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprTardis
       
   629             (FileName: 'firebutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
       
   630             Width: 450; Height: 150; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true) // sprFireButton
   626             );
   631             );
   627 
   632 
   628 
   633 
   629     Wavez: array [TWave] of record
   634     Wavez: array [TWave] of record
   630             Sprite: TSprite;
   635             Sprite: TSprite;
   758             (FileName:           'Comeonthen.ogg'; Path: ptVoices),// sndComeonthen
   763             (FileName:           'Comeonthen.ogg'; Path: ptVoices),// sndComeonthen
   759             (FileName:            'parachute.ogg'; Path: ptSounds),// sndParachute
   764             (FileName:            'parachute.ogg'; Path: ptSounds),// sndParachute
   760             (FileName:                 'bump.ogg'; Path: ptSounds),// sndBump
   765             (FileName:                 'bump.ogg'; Path: ptSounds),// sndBump
   761             (FileName:            'hogchant3.ogg'; Path: ptSounds),// sndResurrector
   766             (FileName:            'hogchant3.ogg'; Path: ptSounds),// sndResurrector
   762             (FileName:                'plane.ogg'; Path: ptSounds), // sndPlane
   767             (FileName:                'plane.ogg'; Path: ptSounds), // sndPlane
   763             (FileName:                'TARDIS.ogg'; Path: ptSounds) // sndTardis
   768             (FileName:                'plane.ogg'; Path: ptSounds) // sndTardis TODO change when using a new data set
   764             );
   769             );
   765 
   770 
   766     Ammoz: array [TAmmoType] of record
   771     Ammoz: array [TAmmoType] of record
   767             NameId: TAmmoStrId;
   772             NameId: TAmmoStrId;
   768             NameTex: PTexture;
   773             NameTex: PTexture;