diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-19 22:20:27 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-19 22:20:27 +0200 |
commit | 3dae696b414d9141b3faa6872f3723332b7b6395 (patch) | |
tree | 62bda337baa0c1754f54b4a010e3380f01bb5a4e /src/Root.h | |
parent | Inherit constructors, remove duplication (diff) | |
download | cuberite-3dae696b414d9141b3faa6872f3723332b7b6395.tar cuberite-3dae696b414d9141b3faa6872f3723332b7b6395.tar.gz cuberite-3dae696b414d9141b3faa6872f3723332b7b6395.tar.bz2 cuberite-3dae696b414d9141b3faa6872f3723332b7b6395.tar.lz cuberite-3dae696b414d9141b3faa6872f3723332b7b6395.tar.xz cuberite-3dae696b414d9141b3faa6872f3723332b7b6395.tar.zst cuberite-3dae696b414d9141b3faa6872f3723332b7b6395.zip |
Diffstat (limited to 'src/Root.h')
-rw-r--r-- | src/Root.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Root.h b/src/Root.h index 2092bb9be..2610d28b8 100644 --- a/src/Root.h +++ b/src/Root.h @@ -97,12 +97,6 @@ public: /** Returns the (read-write) storage for registered block types. */ BlockTypeRegistry & GetBlockTypeRegistry() { return m_BlockTypeRegistry; } - /** Returns the block type palette used for upgrading blocks from pre-1.13 data. */ - const BlockTypePalette & GetUpgradeBlockTypePalette() const { return *m_UpgradeBlockTypePalette; } - - /** Returns the per-protocol palettes manager. */ - ProtocolPalettes & GetProtocolPalettes() const { return *m_ProtocolPalettes; } - /** Returns the number of ticks for how long the item would fuel a furnace. Returns zero if not a fuel */ static int GetFurnaceFuelBurnTime(const cItem & a_Fuel); // tolua_export @@ -246,19 +240,9 @@ private: /** The storage for all registered block types. */ BlockTypeRegistry m_BlockTypeRegistry; - /** The upgrade palette for pre-1.13 blocks. */ - std::unique_ptr<BlockTypePalette> m_UpgradeBlockTypePalette; - - /** The per-protocol palettes manager. */ - std::unique_ptr<ProtocolPalettes> m_ProtocolPalettes; - void LoadGlobalSettings(); - /** Loads the upgrade palette and the per-protocol palettes. - The aProtocolFolder is the path to the folder containing the per-protocol palettes. */ - void LoadPalettes(const AString & aProtocolFolder); - /** Loads the worlds from settings.ini, creates the worldmap */ void LoadWorlds(cDeadlockDetect & a_dd, cSettingsRepositoryInterface & a_Settings, bool a_IsNewIniFile); |