src/settings.cpp
changeset 8121 3bc6351e7369
parent 8116 8da76dcb3287
child 8129 e6732d9340e9
equal deleted inserted replaced
8120:7128bb2b57a3 8121:3bc6351e7369
    43 #include "helpers.hpp"
    43 #include "helpers.hpp"
    44 #include "news.h"
    44 #include "news.h"
    45 #include "window_func.h"
    45 #include "window_func.h"
    46 #include "strings_func.h"
    46 #include "strings_func.h"
    47 #ifdef WITH_FREETYPE
    47 #ifdef WITH_FREETYPE
    48 #include "gfx.h"
       
    49 #include "fontcache.h"
    48 #include "fontcache.h"
    50 #endif
    49 #endif
    51 #include "spritecache.h"
    50 #include "spritecache.h"
    52 #include "transparency.h"
    51 #include "transparency.h"
    53 
    52 
  1085 #include "table/strings.h"
  1084 #include "table/strings.h"
  1086 
  1085 
  1087 /* Begin - Callback Functions for the various settings */
  1086 /* Begin - Callback Functions for the various settings */
  1088 #include "gui.h"
  1087 #include "gui.h"
  1089 #include "town.h"
  1088 #include "town.h"
  1090 #include "gfx.h"
       
  1091 /* virtual PositionMainToolbar function, calls the right one.*/
  1089 /* virtual PositionMainToolbar function, calls the right one.*/
  1092 static int32 v_PositionMainToolbar(int32 p1)
  1090 static int32 v_PositionMainToolbar(int32 p1)
  1093 {
  1091 {
  1094 	if (_game_mode != GM_MENU) PositionMainToolbar(NULL);
  1092 	if (_game_mode != GM_MENU) PositionMainToolbar(NULL);
  1095 	return 0;
  1093 	return 0;