Cytopia  0.3
A city building simulation game
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UIManager.cxx File Reference
#include "UIManager.hxx"
#include "Constants.hxx"
#include "ResourcesManager.hxx"
#include <MapFunctions.hxx>
#include "Map.hxx"
#include "basics/mapEdit.hxx"
#include "basics/Settings.hxx"
#include "basics/utils.hxx"
#include "LOG.hxx"
#include "Exception.hxx"
#include "GameStates.hxx"
#include "MapLayers.hxx"
#include "Filesystem.hxx"
#include "json.hxx"
#include "betterEnums.hxx"
#include <Camera.hxx>
#include <cmath>
#include <array>
#include "imgui.h"
#include "imgui_impl_sdl.h"
#include "imgui_impl_sdlrenderer.h"
+ Include dependency graph for UIManager.cxx:

Go to the source code of this file.

Functions

 BETTER_ENUM (Action, int, RaiseTerrain, LowerTerrain, QuitGame, Demolish, ChangeTileType, ToggleVisibilityOfGroup, NewGame, SaveGame, LoadGame, SaveSettings, ChangeResolution) void UIManager
 

Function Documentation

◆ BETTER_ENUM()

BETTER_ENUM ( Action  ,
int  ,
RaiseTerrain  ,
LowerTerrain  ,
QuitGame  ,
Demolish  ,
ChangeTileType  ,
ToggleVisibilityOfGroup  ,
NewGame  ,
SaveGame  ,
LoadGame  ,
SaveSettings  ,
ChangeResolution   
)

Definition at line 38 of file UIManager.cxx.

42 {
43  json uiLayout;
44 
45  loadSettings(uiLayout);
46  parseLayouts(uiLayout);
47 
48  initializeImGuiFonts();
49 }
+ Here is the call graph for this function:
json
nlohmann::json json
Definition: Settings.hxx:12