src/settings.cpp
changeset 8345 6caa3fdb972c
parent 8249 67f9410ee71e
child 8397 81b06437cfab
equal deleted inserted replaced
8344:b8b77e2e11c9 8345:6caa3fdb972c
    47 #ifdef WITH_FREETYPE
    47 #ifdef WITH_FREETYPE
    48 #include "gfx.h"
    48 #include "gfx.h"
    49 #include "fontcache.h"
    49 #include "fontcache.h"
    50 #endif
    50 #endif
    51 #include "spritecache.h"
    51 #include "spritecache.h"
       
    52 #include "transparency.h"
    52 
    53 
    53 /** The patch values that are used for new games and/or modified in config file */
    54 /** The patch values that are used for new games and/or modified in config file */
    54 Patches _patches_newgame;
    55 Patches _patches_newgame;
    55 
    56 
    56 struct IniFile;
    57 struct IniFile;
  1273 	 SDTG_BOOL("medium_aa",                  S, 0, _freetype.medium_aa,   false,    STR_NULL, NULL),
  1274 	 SDTG_BOOL("medium_aa",                  S, 0, _freetype.medium_aa,   false,    STR_NULL, NULL),
  1274 	 SDTG_BOOL("large_aa",                   S, 0, _freetype.large_aa,    false,    STR_NULL, NULL),
  1275 	 SDTG_BOOL("large_aa",                   S, 0, _freetype.large_aa,    false,    STR_NULL, NULL),
  1275 #endif
  1276 #endif
  1276 	  SDTG_VAR("sprite_cache_size",SLE_UINT, S, 0, _sprite_cache_size,     4, 1, 64, 0, STR_NULL, NULL),
  1277 	  SDTG_VAR("sprite_cache_size",SLE_UINT, S, 0, _sprite_cache_size,     4, 1, 64, 0, STR_NULL, NULL),
  1277 	  SDTG_VAR("player_face",    SLE_UINT32, S, 0, _player_face,      0,0,0xFFFFFFFF,0, STR_NULL, NULL),
  1278 	  SDTG_VAR("player_face",    SLE_UINT32, S, 0, _player_face,      0,0,0xFFFFFFFF,0, STR_NULL, NULL),
       
  1279 	  SDTG_VAR("transparency_options", SLE_UINT8, S, 0, _transparency_opt, 0, 0,0xFF,0, STR_NULL, NULL),
  1278 	  SDTG_END()
  1280 	  SDTG_END()
  1279 };
  1281 };
  1280 
  1282 
  1281 #ifdef ENABLE_NETWORK
  1283 #ifdef ENABLE_NETWORK
  1282 static const SettingDescGlobVarList _network_settings[] = {
  1284 static const SettingDescGlobVarList _network_settings[] = {