AlpacaLibary  1.63
A closed source C++ bot for OSRS
Camera.hpp File Reference
#include "../../Core/Types/Tile.hpp"
#include <cstdint>

Go to the source code of this file.

Namespaces

 Camera
 

Typedefs

typedef enum Camera::COMPASS_DIRECTION Camera::COMPASS_DIRECTION
 
typedef enum Camera::CAMERA_PITCH Camera::CAMERA_PITCH
 

Enumerations

enum  Camera::COMPASS_DIRECTION { Camera::NORTH = 0 , Camera::EAST = 90 , Camera::SOUTH = 180 , Camera::WEST = 270 }
 
enum  Camera::CAMERA_PITCH { Camera::LOWEST = 128 , Camera::MIDDLE = 191 , Camera::HIGHEST = 383 }
 

Functions

std::int32_t Camera::GetX ()
 
std::int32_t Camera::GetY ()
 
std::int32_t Camera::GetZ ()
 
std::int32_t Camera::GetYaw ()
 
double Camera::GetAngle ()
 
std::int32_t Camera::GetPitch ()
 
double Camera::GetZoom ()
 
bool Camera::RotateTo (std::int32_t Angle, std::int32_t Tolerance=10)
 Rotates the camera to the passed angle/degree. More...
 
bool Camera::RotateTo (COMPASS_DIRECTION Direction, std::int32_t Tolerance=10)
 Rotates the camera to the passed direction (Camera::NORTH/EAST/SOUTH/WEST) More...
 
bool Camera::RotateTo (const Tile &T, std::int32_t Angle=0, std::int32_t Tolerance=10)
 Rotates the camera to the passed tile, with an optional desired Angle. More...
 
bool Camera::RotateTo (const Tile &T, COMPASS_DIRECTION Direction=NORTH, std::int32_t Tolerance=10)
 Rotates the camera to the passed tile, with an optional desired direction. More...
 
bool Camera::SetPitch (std::int32_t Pitch)
 Sets the pitch of the camera. More...
 
bool Camera::SetPitch (CAMERA_PITCH Pitch)
 Sets the pitch of the camera. More...