30static const unsigned int DT_FAILURE = 1u << 31;
31static const unsigned int DT_SUCCESS = 1u << 30;
32static const unsigned int DT_IN_PROGRESS = 1u << 29;
35static const unsigned int DT_STATUS_DETAIL_MASK = 0x0ffffff;
37static const unsigned int DT_WRONG_VERSION = 1 << 1;
38static const unsigned int DT_OUT_OF_MEMORY = 1 << 2;
39static const unsigned int DT_INVALID_PARAM = 1 << 3;
40static const unsigned int DT_BUFFER_TOO_SMALL = 1 << 4;
41static const unsigned int DT_OUT_OF_NODES = 1 << 5;
42static const unsigned int DT_PARTIAL_RESULT = 1 << 6;
43static const unsigned int DT_INVALID_CYCLE_PATH = 1 << 7;
49 return (status & DT_SUCCESS) != 0;
55 return (status & DT_FAILURE) != 0;
61 return (status & DT_IN_PROGRESS) != 0;
67 return (status & detail) != 0;
bool dtStatusDetail(dtStatus status, unsigned int detail)
Definition DetourStatus.h:65
unsigned int dtStatus
Definition DetourStatus.h:27
bool dtStatusInProgress(dtStatus status)
Definition DetourStatus.h:59
bool dtStatusSucceed(dtStatus status)
Definition DetourStatus.h:47
bool dtStatusFailed(dtStatus status)
Definition DetourStatus.h:53
unsigned int dtStatus
Definition RecastGraphAStar.h:29