7 #ifndef CAFU_GAME_CONFIG_HPP_INCLUDED
8 #define CAFU_GAME_CONFIG_HPP_INCLUDED
10 #include "EditorMaterialManager.hpp"
11 #include "GuiSys/GuiResources.hpp"
12 #include "Math3D/BoundingBox.hpp"
13 #include "Models/ModelManager.hpp"
14 #include "Templates/Array.hpp"
38 GameConfigT(wxFileConfig& CfgFile,
const wxString& Name_,
const wxString& ModDir_);
53 int GetMaxMapCoord()
const {
return m_MaxMapCoord; }
54 int GetMinMapCoord()
const {
return -m_MaxMapCoord; }
58 void Save(wxFileConfig& CfgFile)
const;
63 const wxString ModDir;
65 float DefaultTextureScale;
66 float DefaultLightmapScale;
67 wxString CordonTexture;
This class represents a native Cafu model.
Definition: Model_cmdl.hpp:45
Definition: GameConfig.hpp:36
This class manages the editor materials for a game configuration.
Definition: EditorMaterialManager.hpp:20
cf::GuiSys::GuiResourcesT & GetGuiResources()
All GUIs that are created in this game config (no matter if in the Map Editor, the Gui Editor...
Definition: GameConfig.hpp:51
The class describes the settings for a game/MOD.
Definition: GameConfig.hpp:32
const CafuModelT * GetModel(const wxString &FileName, wxString *ErrorMsg=NULL) const
Returns the model for the given FileName that is relative to ModDir.
Definition: GameConfig.cpp:60
This class is used for managing model instances.
Definition: ModelManager.hpp:31
This class represents an axis-aligned bounding-box ("AABB") in 3-dimensional space.
Definition: BoundingBox.hpp:23
void Save(wxFileConfig &CfgFile) const
Saves this game configuration to CfgFile that has been set to the proper path (directory / group) by ...
Definition: GameConfig.cpp:80
This class manages and provides resources (fonts and models) for GuiImplT instances.
Definition: GuiResources.hpp:26