Release 1.32

master
Kasi 2019-07-18 18:54:18 +01:00
parent fe5f661279
commit 7405b3ec2f
7 changed files with 43 additions and 5 deletions

View File

@ -3,8 +3,8 @@
#include "../JavaClass/Object.hpp" #include "../JavaClass/Object.hpp"
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include "HashTable.hpp" #include "IterableHashTable.hpp"
#include "Queue.hpp" #include "IterableQueue.hpp"
namespace Internal namespace Internal
{ {
@ -21,8 +21,8 @@ namespace Internal
static Class GetClass(); static Class GetClass();
HashTable GetHashTable() const; IterableHashTable GetIterableHashTable() const;
Queue GetQueue() const; IterableQueue GetIterableQueue() const;
}; };
} }

View File

@ -3,6 +3,7 @@
#include "Renderable.hpp" #include "Renderable.hpp"
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include "Animation.hpp"
#include <cstdint> #include <cstdint>
namespace Internal namespace Internal
@ -20,9 +21,15 @@ namespace Internal
static Class GetClass(); static Class GetClass();
Animation GetAnimation() const;
std::int32_t GetAnimationFrame() const;
std::int32_t GetID() const; std::int32_t GetID() const;
std::int32_t GetOrientation() const; std::int32_t GetOrientation() const;
std::int32_t GetPlane() const;
std::int32_t GetType() const; std::int32_t GetType() const;
std::int32_t GetX() const;
std::int32_t GetY() const;
}; };
} }

View File

@ -0,0 +1,28 @@
#ifndef ITERABLEQUEUE_HPP_INCLUDED
#define ITERABLEQUEUE_HPP_INCLUDED
#include "../JavaClass/Object.hpp"
#include "../JavaClass/Class.hpp"
#include "CacheableNode.hpp"
namespace Internal
{
class IterableQueue : public Object
{
public:
IterableQueue(const void* Obj);
IterableQueue() = default;
IterableQueue(IterableQueue&& Obj) = default;
IterableQueue(const IterableQueue& Obj) = default;
IterableQueue& operator=(IterableQueue&& Obj) = default;
IterableQueue& operator=(const IterableQueue& Obj) = default;
static Class GetClass();
CacheableNode GetHead() const;
};
}
#endif // ITERABLEQUEUE_HPP_INCLUDED

View File

@ -140,6 +140,7 @@ namespace Globals
const WidgetDef MINIMAP_CURE = { 160, 4 }; const WidgetDef MINIMAP_CURE = { 160, 4 };
const WidgetDef MINIMAP_QUICK_PRAYER = { 160, 14 }; const WidgetDef MINIMAP_QUICK_PRAYER = { 160, 14 };
const WidgetDef MINIMAP_TOGGLE_RUN = { 160, 22 }; const WidgetDef MINIMAP_TOGGLE_RUN = { 160, 22 };
const WidgetDef MINIMAP_SPECIAL_ATTACK = { 160, 28 };
//************ Trade.cpp ************// //************ Trade.cpp ************//
const WidgetDef TRADE_SCREEN = { 335, 3 }; const WidgetDef TRADE_SCREEN = { 335, 3 };

View File

@ -73,6 +73,7 @@
#include "Classes/ItemContainer.hpp" #include "Classes/ItemContainer.hpp"
#include "Classes/ItemInfo.hpp" #include "Classes/ItemInfo.hpp"
#include "Classes/IterableHashTable.hpp" #include "Classes/IterableHashTable.hpp"
#include "Classes/IterableQueue.hpp"
#include "Classes/LinkedList.hpp" #include "Classes/LinkedList.hpp"
#include "Classes/MessageNode.hpp" #include "Classes/MessageNode.hpp"
#include "Classes/Model.hpp" #include "Classes/Model.hpp"
@ -260,7 +261,6 @@ namespace Internal
Model GetItemModel(std::int32_t ID, std::int32_t Amount); Model GetItemModel(std::int32_t ID, std::int32_t Amount);
SpotAnimation GetSpotAnimation(std::int32_t ID); SpotAnimation GetSpotAnimation(std::int32_t ID);
Model GetSpotAnimationModel(std::int32_t ID); Model GetSpotAnimationModel(std::int32_t ID);
Model GetGameObjectModel(const GameObject& O);
Model GetWallObjectModel(const WallObject& O); Model GetWallObjectModel(const WallObject& O);
Model GetDecorativeObjectModel(const DecorativeObject& O); Model GetDecorativeObjectModel(const DecorativeObject& O);
Model GetGroundObjectModel(const GroundObject& O); Model GetGroundObjectModel(const GroundObject& O);
@ -270,6 +270,7 @@ namespace Internal
Deque GetGroundItems(std::int32_t X, std::int32_t Y, std::int32_t Plane); Deque GetGroundItems(std::int32_t X, std::int32_t Y, std::int32_t Plane);
std::vector<Point> GetPlayerModel(const Player& P); std::vector<Point> GetPlayerModel(const Player& P);
std::vector<Point> GetNPCModel(const NPC& N); std::vector<Point> GetNPCModel(const NPC& N);
std::vector<Point> GetGameObjectModel(const GameObject& O);
std::vector<Point> GetGraphicsObjectModel(const GraphicsObject& O); std::vector<Point> GetGraphicsObjectModel(const GraphicsObject& O);
std::vector<Point> GetProjectileModel(const Internal::Projectile& P); std::vector<Point> GetProjectileModel(const Internal::Projectile& P);
SceneTile GetSceneTile(std::int32_t X, std::int32_t Y, std::int32_t Plane); SceneTile GetSceneTile(std::int32_t X, std::int32_t Y, std::int32_t Plane);

View File

@ -77,6 +77,7 @@ namespace Minimap
* @return true if the function succesfully clicked the orb * @return true if the function succesfully clicked the orb
*/ */
bool ClickToggleRun(); bool ClickToggleRun();
bool ClickSpecial();
bool ClickTile(const Tile& T, std::int32_t Random = 5); bool ClickTile(const Tile& T, std::int32_t Random = 5);

Binary file not shown.