hedgewars/uVariables.pas
changeset 8057 93e16240f178
parent 8027 e5ba3dd12531
parent 8025 07862ab415c8
child 8096 453917e94e55
child 8143 3f2ba6debbdd
equal deleted inserted replaced
8051:f26422ef0333 8057:93e16240f178
   116     ExplosionBorderColor: LongWord;
   116     ExplosionBorderColor: LongWord;
   117     WaterOpacity: byte;
   117     WaterOpacity: byte;
   118     SDWaterOpacity: byte;
   118     SDWaterOpacity: byte;
   119     GrayScale: Boolean;
   119     GrayScale: Boolean;
   120 
   120 
   121     // originally from uConsts
       
   122     Pathz: array[TPathType] of shortstring;
       
   123     UserPathz: array[TPathType] of shortstring;
       
   124     CountTexz: array[0..Pred(AMMO_INFINITE)] of PTexture;
   121     CountTexz: array[0..Pred(AMMO_INFINITE)] of PTexture;
   125     LAND_WIDTH       : LongInt;
   122     LAND_WIDTH       : LongInt;
   126     LAND_HEIGHT      : LongInt;
   123     LAND_HEIGHT      : LongInt;
   127     LAND_WIDTH_MASK  : LongWord;
   124     LAND_WIDTH_MASK  : LongWord;
   128     LAND_HEIGHT_MASK : LongWord;
   125     LAND_HEIGHT_MASK : LongWord;
   223 
   220 
   224 var
   221 var
   225     // these consts are here because they would cause circular dependencies in uConsts/uTypes
   222     // these consts are here because they would cause circular dependencies in uConsts/uTypes
   226     cPathz: array[TPathType] of shortstring = (
   223     cPathz: array[TPathType] of shortstring = (
   227         '',                              // ptNone
   224         '',                              // ptNone
   228         '',                              // ptData
   225         '/',                             // ptData
   229         'Graphics',                      // ptGraphics
   226         '/Graphics',                     // ptGraphics
   230         'Themes',                        // ptThemes
   227         '/Themes',                       // ptThemes
   231         'Themes/Bamboo',                 // ptCurrTheme
   228         '/Themes/Bamboo',                // ptCurrTheme
   232         'Teams',                         // ptTeams
   229         '/Teams',                        // ptTeams
   233         'Maps',                          // ptMaps
   230         '/Maps',                         // ptMaps
   234         '',                              // ptMapCurrent
   231         '',                              // ptMapCurrent
   235         'Demos',                         // ptDemos
   232         '/Demos',                        // ptDemos
   236         'Sounds',                        // ptSounds
   233         '/Sounds',                       // ptSounds
   237         'Graphics/Graves',               // ptGraves
   234         '/Graphics/Graves',              // ptGraves
   238         'Fonts',                         // ptFonts
   235         '/Fonts',                        // ptFonts
   239         'Forts',                         // ptForts
   236         '/Forts',                        // ptForts
   240         'Locale',                        // ptLocale
   237         '/Locale',                       // ptLocale
   241         'Graphics/AmmoMenu',             // ptAmmoMenu
   238         '/Graphics/AmmoMenu',            // ptAmmoMenu
   242         'Graphics/Hedgehog',             // ptHedgehog
   239         '/Graphics/Hedgehog',            // ptHedgehog
   243         'Sounds/voices',                 // ptVoices
   240         '/Sounds/voices',                // ptVoices
   244         'Graphics/Hats',                 // ptHats
   241         '/Graphics/Hats',                // ptHats
   245         'Graphics/Flags',                // ptFlags
   242         '/Graphics/Flags',               // ptFlags
   246         'Missions/Maps',                 // ptMissionMaps
   243         '/Missions/Maps',                // ptMissionMaps
   247         'Graphics/SuddenDeath',           // ptSuddenDeath
   244         '/Graphics/SuddenDeath',         // ptSuddenDeath
   248         'Graphics/Buttons'                // ptButton
   245         '/Graphics/Buttons'              // ptButton
   249     );
   246     );
   250 
   247 
   251     Fontz: array[THWFont] of THHFont = (
   248     Fontz: array[THWFont] of THHFont = (
   252             (Handle: nil;
   249             (Handle: nil;
   253             Height: 12;
   250             Height: 12;
  2584     cFlattenFlakes      := false;
  2581     cFlattenFlakes      := false;
  2585     cFlattenClouds      := false;
  2582     cFlattenClouds      := false;
  2586     lastVisualGearByUID := nil;
  2583     lastVisualGearByUID := nil;
  2587     lastGearByUID       := nil;
  2584     lastGearByUID       := nil;
  2588     cReadyDelay         := 5000;
  2585     cReadyDelay         := 5000;
  2589     Pathz               := cPathz;
       
  2590 
  2586 
  2591         {*  REFERENCE
  2587         {*  REFERENCE
  2592       4096 -> $FFFFF000
  2588       4096 -> $FFFFF000
  2593       2048 -> $FFFFF800
  2589       2048 -> $FFFFF800
  2594       1024 -> $FFFFFC00
  2590       1024 -> $FFFFFC00