diff --git a/Include/Core/Classes/Region.hpp b/Include/Core/Classes/Region.hpp index f0704b8..5196720 100644 --- a/Include/Core/Classes/Region.hpp +++ b/Include/Core/Classes/Region.hpp @@ -26,6 +26,7 @@ namespace Internal std::int32_t GetEntityCount() const; std::vector GetGameObjects() const; GameObject GetGameObjects(std::int32_t I) const; + std::int32_t GetOffsetOccluder() const; std::vector GetPlaneOccluderCount() const; std::vector> GetPlaneOccluders() const; std::vector GetPlaneOccluders(std::int32_t Plane) const; diff --git a/Include/Core/Internal.hpp b/Include/Core/Internal.hpp index 3e03e74..3aca73a 100644 --- a/Include/Core/Internal.hpp +++ b/Include/Core/Internal.hpp @@ -340,6 +340,8 @@ namespace Internal std::int32_t GetMenuWidth(); std::int32_t GetMenuX(); std::int32_t GetMenuY(); + bool IsTileOccluded(const Tile& T); + void LockUpdate(); void UnlockUpdate(); diff --git a/Include/Game/Globals.hpp b/Include/Game/Globals.hpp index 5db989d..2541a60 100644 --- a/Include/Game/Globals.hpp +++ b/Include/Game/Globals.hpp @@ -258,6 +258,8 @@ namespace Globals //************ Magic.cpp ************// const std::int32_t MAGIC_SPELLS_PARENT = 218; // Used with Magic spell defs + const std::int32_t MAGIC_SPELLS_CONTAINER = 3; + const std::int32_t MAGIC_JEWELLERY_ENCHANTMENTS_BACK = 4; typedef struct SpellDef { diff --git a/Include/Game/Interfaces/GameTabs/Magic.hpp b/Include/Game/Interfaces/GameTabs/Magic.hpp index 8d10070..d3e7e2a 100644 --- a/Include/Game/Interfaces/GameTabs/Magic.hpp +++ b/Include/Game/Interfaces/GameTabs/Magic.hpp @@ -226,6 +226,10 @@ namespace Magic bool CastSpell(const SPELL& Spell); bool CastSpell(const SPELL& Spell, const std::string& Option); bool SelectSpell(const SPELL& Spell); + + bool IsJewelleryEnchantmentsOpen(); + bool CloseJewelleryEnchantments(); + } #endif // MAGIC_HPP_INCLUDED diff --git a/Include/Game/Interfaces/Mainscreen.hpp b/Include/Game/Interfaces/Mainscreen.hpp index 17213db..1f94ebb 100644 --- a/Include/Game/Interfaces/Mainscreen.hpp +++ b/Include/Game/Interfaces/Mainscreen.hpp @@ -77,8 +77,6 @@ namespace Mainscreen std::vector GetBlockingWidgetBoxes(); - bool InRenderDistance(std::int32_t WorldX, std::int32_t WorldY, std::int32_t WorldZ, std::int32_t Plane); - } #endif // MAINSCREEN_HPP_INCLUDED diff --git a/Library/libAlpacaLibrary.a b/Library/libAlpacaLibrary.a index d0c783c..3399b0e 100644 Binary files a/Library/libAlpacaLibrary.a and b/Library/libAlpacaLibrary.a differ