add more cheating-related rules
This commit is contained in:
@@ -69,6 +69,7 @@ public:
|
||||
};
|
||||
|
||||
class Hud : public util::ObjectsKeeper {
|
||||
Engine* engine;
|
||||
Assets* assets;
|
||||
std::unique_ptr<Camera> uicamera;
|
||||
gui::GUI* gui;
|
||||
@@ -107,7 +108,8 @@ class Hud : public util::ObjectsKeeper {
|
||||
blockid_t currentblockid = 0;
|
||||
/// @brief Show content access panel
|
||||
bool showContentPanel = true;
|
||||
|
||||
/// @brief Provide cheat controllers to the debug panel
|
||||
bool allowDebugCheats = true;
|
||||
/// @brief UI element will be dynamicly positioned near to inventory or in screen center
|
||||
std::shared_ptr<gui::UINode> secondUI = nullptr;
|
||||
|
||||
@@ -178,6 +180,8 @@ public:
|
||||
|
||||
void setContentAccess(bool flag);
|
||||
|
||||
void setDebugCheats(bool flag);
|
||||
|
||||
static bool showGeneratorMinimap;
|
||||
|
||||
/// @brief Runtime updating debug visualization texture
|
||||
|
||||
Reference in New Issue
Block a user