Recast Navigation
Navigation-mesh Toolset for Games
DetourStatus.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int dtStatus
 

Functions

bool dtStatusSucceed (dtStatus status)
 
bool dtStatusFailed (dtStatus status)
 
bool dtStatusInProgress (dtStatus status)
 
bool dtStatusDetail (dtStatus status, unsigned int detail)
 

Variables

static const unsigned int DT_FAILURE = 1u << 31
 
static const unsigned int DT_SUCCESS = 1u << 30
 
static const unsigned int DT_IN_PROGRESS = 1u << 29
 
static const unsigned int DT_STATUS_DETAIL_MASK = 0x0ffffff
 
static const unsigned int DT_WRONG_MAGIC = 1 << 0
 
static const unsigned int DT_WRONG_VERSION = 1 << 1
 
static const unsigned int DT_OUT_OF_MEMORY = 1 << 2
 
static const unsigned int DT_INVALID_PARAM = 1 << 3
 
static const unsigned int DT_BUFFER_TOO_SMALL = 1 << 4
 
static const unsigned int DT_OUT_OF_NODES = 1 << 5
 
static const unsigned int DT_PARTIAL_RESULT = 1 << 6
 
static const unsigned int DT_ALREADY_OCCUPIED = 1 << 7
 

Typedef Documentation

◆ dtStatus

typedef unsigned int dtStatus

Function Documentation

◆ dtStatusDetail()

bool dtStatusDetail ( dtStatus  status,
unsigned int  detail 
)
inline

◆ dtStatusFailed()

bool dtStatusFailed ( dtStatus  status)
inline

◆ dtStatusInProgress()

bool dtStatusInProgress ( dtStatus  status)
inline

◆ dtStatusSucceed()

bool dtStatusSucceed ( dtStatus  status)
inline

Variable Documentation

◆ DT_ALREADY_OCCUPIED

const unsigned int DT_ALREADY_OCCUPIED = 1 << 7
static

◆ DT_BUFFER_TOO_SMALL

const unsigned int DT_BUFFER_TOO_SMALL = 1 << 4
static

◆ DT_FAILURE

const unsigned int DT_FAILURE = 1u << 31
static

◆ DT_IN_PROGRESS

const unsigned int DT_IN_PROGRESS = 1u << 29
static

◆ DT_INVALID_PARAM

const unsigned int DT_INVALID_PARAM = 1 << 3
static

◆ DT_OUT_OF_MEMORY

const unsigned int DT_OUT_OF_MEMORY = 1 << 2
static

◆ DT_OUT_OF_NODES

const unsigned int DT_OUT_OF_NODES = 1 << 5
static

◆ DT_PARTIAL_RESULT

const unsigned int DT_PARTIAL_RESULT = 1 << 6
static

◆ DT_STATUS_DETAIL_MASK

const unsigned int DT_STATUS_DETAIL_MASK = 0x0ffffff
static

◆ DT_SUCCESS

const unsigned int DT_SUCCESS = 1u << 30
static

◆ DT_WRONG_MAGIC

const unsigned int DT_WRONG_MAGIC = 1 << 0
static

◆ DT_WRONG_VERSION

const unsigned int DT_WRONG_VERSION = 1 << 1
static