Release 0.93

master
Kasi 2018-09-08 11:41:46 +01:00
parent 5a26983246
commit 4881f4510a
6 changed files with 9 additions and 10 deletions

View File

@ -21,7 +21,6 @@ class Wireframe
Convex GetConvex() const; Convex GetConvex() const;
bool Contains(const Point& P) const; bool Contains(const Point& P) const;
operator bool() const; operator bool() const;
private:
std::vector<Point> Points; std::vector<Point> Points;
std::vector<Triangle> Triangles; std::vector<Triangle> Triangles;
Convex C; Convex C;

View File

@ -10,7 +10,7 @@ class Magic
{ {
public: public:
typedef enum SPELLS typedef enum SPELL
{ {
NORMAL_LUMBRIDGE_HOME_TELEPORT, NORMAL_LUMBRIDGE_HOME_TELEPORT,
NORMAL_WIND_STRIKE, NORMAL_WIND_STRIKE,
@ -151,20 +151,21 @@ class Magic
ANCIENT_GHORROCK_TELEPORT, ANCIENT_GHORROCK_TELEPORT,
ANCIENT_TELEPORT_TO_BOUNTY_TARGET, ANCIENT_TELEPORT_TO_BOUNTY_TARGET,
ANCIENT_EDGEVILLE_HOME_TELEPORT ANCIENT_EDGEVILLE_HOME_TELEPORT
} SPELLS; } SPELL;
static bool IsOpen(); static bool IsOpen();
static bool Open(); static bool Open();
static bool HasLevel(SPELLS Spell); static bool HasLevel(const SPELL& Spell);
static bool IsSpellSelected(); static bool IsSpellSelected();
static bool IsSpellSelected(SPELLS Spell); static bool IsSpellSelected(const SPELL& Spell);
static bool IsSpellSelected(const std::string& Name); static bool IsSpellSelected(const std::string& Name);
static std::string GetSelectedSpellName(); static std::string GetSelectedSpellName();
static bool SelectSpell(SPELLS Spell); static bool CastSpell(const SPELL& Spell);
static bool SelectSpell(const SPELL& Spell);
}; };
/** @} */ /** @} */

View File

@ -23,12 +23,11 @@ class Login
AUTHENTICATOR, // 4 AUTHENTICATOR, // 4
FORGOTTEN_PASSWORD, // 5 FORGOTTEN_PASSWORD, // 5
RUNESCAPE_UPDATED, RUNESCAPE_UPDATED,
TEMP_BANNED,
ACCOUNT_LOCKED, ACCOUNT_LOCKED,
MEMBERS_AREA, MEMBERS_AREA,
MEMBERS_REQUIRED, MEMBERS_REQUIRED,
WORLD_SELECT, WORLD_SELECT,
PERM_BANNED, ACCOUNT_DISABLED,
CONNECTING, CONNECTING,
LOADING, LOADING,
LOBBY_SCREEN, LOBBY_SCREEN,
@ -37,7 +36,7 @@ class Login
static LOGIN_SCREEN_STATE GetLoginScreenState(); static LOGIN_SCREEN_STATE GetLoginScreenState();
static bool LoginPlayer(); static bool LoginPlayer(bool SwitchWorlds = true);
static bool EnterCredentials(); static bool EnterCredentials();
static bool IsWorldSelectOpen(); static bool IsWorldSelectOpen();

View File

@ -33,7 +33,6 @@ class Mainscreen
static Mainscreen::CROSSHAIR_STATE GetCrosshairState(); static Mainscreen::CROSSHAIR_STATE GetCrosshairState();
static bool IsLoggedIn(); static bool IsLoggedIn();
static bool IsPlaying();
static std::string GetUpText(); static std::string GetUpText();
static bool UpTextContains(const std::string& UpText); static bool UpTextContains(const std::string& UpText);

View File

@ -16,6 +16,7 @@ class Profile
static std::string GetPassword(); static std::string GetPassword();
static std::string GetBankPin(); static std::string GetBankPin();
static std::int32_t GetWorld(); static std::int32_t GetWorld();
static void SetWorld(std::int32_t World);
static bool GetIsMember(); static bool GetIsMember();
static bool GetHasPin(); static bool GetHasPin();

Binary file not shown.