bool Get##NAME##Enabled() \
{ \
{ \
LOGERROR("Trying to get a setting from GameView when it's not initialized!"); \
return false; \
} \
} \
\
void Set##NAME##Enabled(bool Enabled) \
{ \
{ \
LOGERROR("Trying to set a setting of GameView when it's not initialized!"); \
return; \
} \
g_Game->GetView()->Set##NAME##Enabled(Enabled); \
}
CGame * g_Game
Globally accessible pointer to the CGame object.
Definition: Game.cpp:62
CGameView * GetView()
Get the pointer to the game view object.
Definition: Game.h:166
void Get(const CStr &value, T &ret)
Definition: ConfigDB.cpp:56