Removed a widget set dependency and a few includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
fd053ced67
commit
2ef1d70096
@ -33,7 +33,6 @@
|
|||||||
#include "material_manager.hpp"
|
#include "material_manager.hpp"
|
||||||
#include "race_manager.hpp"
|
#include "race_manager.hpp"
|
||||||
#include "world.hpp"
|
#include "world.hpp"
|
||||||
#include "widget_set.hpp"
|
|
||||||
#include "user_config.hpp"
|
#include "user_config.hpp"
|
||||||
#include "scene.hpp"
|
#include "scene.hpp"
|
||||||
#include "history.hpp"
|
#include "history.hpp"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include "loader.hpp"
|
#include "loader.hpp"
|
||||||
#include "gui/menu_manager.hpp"
|
#include "gui/menu_manager.hpp"
|
||||||
#include "player.hpp"
|
#include "player.hpp"
|
||||||
#include "widget_set.hpp"
|
#include "gui/font.hpp"
|
||||||
|
|
||||||
SDL_Surface *mainSurface;
|
SDL_Surface *mainSurface;
|
||||||
long flags;
|
long flags;
|
||||||
@ -114,7 +114,11 @@ void drv_toggleFullscreen(int resetTextures)
|
|||||||
attachment_manager -> loadModels();
|
attachment_manager -> loadModels();
|
||||||
|
|
||||||
// startScreen -> installMaterial();
|
// startScreen -> installMaterial();
|
||||||
widgetSet -> reInit();
|
|
||||||
|
//FIXME: the font reinit funcs should be inside the font class
|
||||||
|
//Reinit fonts
|
||||||
|
delete_fonts();
|
||||||
|
init_fonts();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,6 @@
|
|||||||
#include "history.hpp"
|
#include "history.hpp"
|
||||||
#include "constants.hpp"
|
#include "constants.hpp"
|
||||||
#include "sound_manager.hpp"
|
#include "sound_manager.hpp"
|
||||||
#include "widget_set.hpp"
|
|
||||||
#include "ssg_help.hpp"
|
#include "ssg_help.hpp"
|
||||||
#include "translation.hpp"
|
#include "translation.hpp"
|
||||||
#include "highscore_manager.hpp"
|
#include "highscore_manager.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user