Release 0.08
							parent
							
								
									5e71fc1b1b
								
							
						
					
					
						commit
						1c8422481d
					
				| 
						 | 
				
			
			@ -29,7 +29,7 @@ class Character : public Renderable
 | 
			
		|||
        std::vector<std::int32_t> GetPathY() const;
 | 
			
		||||
        std::int32_t GetPoseAnimationFrame() const;
 | 
			
		||||
        std::int32_t GetPoseAnimationID() const;
 | 
			
		||||
        std::int32_t GetSubPoseAnimation() const;
 | 
			
		||||
        std::int32_t GetSubPoseAnimationID() const;
 | 
			
		||||
        std::int32_t GetX() const;
 | 
			
		||||
        std::int32_t GetY() const;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,6 +12,8 @@ std::uint64_t CurrentTimeMillis();
 | 
			
		|||
std::uint64_t CurrentTimeNanos();
 | 
			
		||||
bool WaitFunc(std::uint32_t Duration, std::uint32_t Step, std::function<bool()> Func);
 | 
			
		||||
bool WaitFunc(std::uint32_t Duration, std::uint32_t Step, std::function<bool()> Func, bool Result);
 | 
			
		||||
std::string MillisToHumanShort(std::int64_t Millseconds); // HH:MM:SS
 | 
			
		||||
std::string MillisToHumanLong(std::int64_t Millseconds); // Hours, Minutes, Seconds
 | 
			
		||||
 | 
			
		||||
/** @} */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,13 +13,12 @@ class Minimap
 | 
			
		|||
    public:
 | 
			
		||||
        static Point GetMiddle();
 | 
			
		||||
        static Tile GetPosition();
 | 
			
		||||
        static Tile GetDestination();
 | 
			
		||||
 | 
			
		||||
        static std::int32_t GetPlane();
 | 
			
		||||
        static std::int32_t GetPositionX();
 | 
			
		||||
        static std::int32_t GetPositionY();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        static Tile GetDestination();
 | 
			
		||||
        static std::int32_t GetDestinationX();
 | 
			
		||||
        static std::int32_t GetDestinationY();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@
 | 
			
		|||
#include "../../Core/Classes/DecorativeObject.hpp"
 | 
			
		||||
#include "../../Core/Classes/GroundObject.hpp"
 | 
			
		||||
#include "../../Core/Classes/WallObject.hpp"
 | 
			
		||||
#include "../../Core/Classes/ObjectInfo.hpp"
 | 
			
		||||
#include "../../Core/Types/Tile.hpp"
 | 
			
		||||
#include "../../Core/Types/Convex.hpp"
 | 
			
		||||
#include <functional>
 | 
			
		||||
| 
						 | 
				
			
			@ -51,6 +52,12 @@ class SceneObjects
 | 
			
		|||
        static GroundObject Get(const std::function<bool (GroundObject&)>& Filter);
 | 
			
		||||
        static WallObject Get(const std::function<bool (WallObject&)>& Filter);
 | 
			
		||||
 | 
			
		||||
        static ObjectInfo GetInfoOf(const Object& O);
 | 
			
		||||
        static ObjectInfo GetInfoOf(const GameObject& G);
 | 
			
		||||
        static ObjectInfo GetInfoOf(const DecorativeObject& D);
 | 
			
		||||
        static ObjectInfo GetInfoOf(const GroundObject& G);
 | 
			
		||||
        static ObjectInfo GetInfoOf(const WallObject& W);
 | 
			
		||||
 | 
			
		||||
        static Tile GetTileOf(const GameObject& G);
 | 
			
		||||
        static Tile GetTileOf(const DecorativeObject& D);
 | 
			
		||||
        static Tile GetTileOf(const GroundObject& G);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,7 +19,7 @@ class Widgets
 | 
			
		|||
        *   bool InventoryHidden = Widgets::IsHidden(Inventory);
 | 
			
		||||
        * @endcode
 | 
			
		||||
        */
 | 
			
		||||
        static bool IsHidden(Widget W);
 | 
			
		||||
        static bool IsHidden(const Widget& W);
 | 
			
		||||
        /**
 | 
			
		||||
        * @brief Returns the Box of the passed Widget
 | 
			
		||||
        * @code
 | 
			
		||||
| 
						 | 
				
			
			@ -27,7 +27,7 @@ class Widgets
 | 
			
		|||
        *   Box BankInventoryBox = Widgets::GetBox(BankInventory);
 | 
			
		||||
        * @endcode
 | 
			
		||||
        */
 | 
			
		||||
        static Box GetBox(Widget W);
 | 
			
		||||
        static Box GetBox(const Widget& W);
 | 
			
		||||
        /**
 | 
			
		||||
        * @brief Returns the absolute X of the passed Widget
 | 
			
		||||
        * @code
 | 
			
		||||
| 
						 | 
				
			
			@ -35,7 +35,7 @@ class Widgets
 | 
			
		|||
        *   std::int32_t BankInventoryX = Widgets::GetX(BankInventory);
 | 
			
		||||
        * @endcode
 | 
			
		||||
        */
 | 
			
		||||
        static std::int32_t GetX(Widget W);
 | 
			
		||||
        static std::int32_t GetX(const Widget& W);
 | 
			
		||||
        /**
 | 
			
		||||
        * @brief Returns the absolute Y of the passed Widget
 | 
			
		||||
        * @code
 | 
			
		||||
| 
						 | 
				
			
			@ -43,7 +43,13 @@ class Widgets
 | 
			
		|||
        *   std::int32_t BankInventoryY = Widgets::GetX(BankInventory);
 | 
			
		||||
        * @endcode
 | 
			
		||||
        */
 | 
			
		||||
        static std::int32_t GetY(Widget W);
 | 
			
		||||
        static std::int32_t GetY(const Widget& W);
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
        * @brief (Temp) Returns the ItemIDs of the passed Widget
 | 
			
		||||
        * @note Temporary function, this should be used over Widget.GetItemIDs()
 | 
			
		||||
        */
 | 
			
		||||
        static std::vector<std::int32_t> GetItemIDs(const Widget& W);
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
        * @brief Returns a vector of All Loaded Widgets
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in New Issue