|
enum | { FIELD_MODEL
, FIELD_COLLMODEL
} |
|
enum | : uint32_t { FLAG_LOCKED = 1
} |
|
enum | { FIELD_FLAGS
, FIELD_MODEL
, FIELD_ANIMATION
} |
|
enum | { FIELD_COLOR
, FIELD_DISTANCE
, FIELD_DIRECTION
, FIELD_EXPONENT
} |
|
enum | { SOUND_LOOPING = 1
, SOUND_START_ON_LOAD = 2
} |
|
enum | { FIELD_FLAGS
, FIELD_SOUND
, FIELD_VOLUME
} |
|
enum | { FIELD_MODEL
, FIELD_LIGHTMAP
} |
|
enum | : uint32_t { TRIGGER_DISABLED = 1
} |
|
enum | { FIELD_FLAGS
, FIELD_COLLISION_MASK
, FIELD_MODEL
} |
|
enum | FileAccessMode : uint32_t { MODE_READ = 1
, MODE_WRITE = 2
, MODE_PAUSE_LINE = 4
} |
|
enum | Severity {
SEVERITY_INFO
, SEVERITY_WARNING
, SEVERITY_ERROR
, SEVERITY_CRITICAL_ERROR
,
SEVERITY_DEFAULT
} |
|
enum | PathType {
PATH_STRAIGHT
, PATH_LEFT
, PATH_RIGHT
, PATH_LINEAR
,
PATH_CURVE
} |
|
enum | Query : query_t {
QUERY_PICKUPABLE
, QUERY_LOOK_DIRECTION
, QUERY_BOUNDING_BOX_MIN
, QUERY_BOUNDING_BOX_MAX
,
LAST_QUERY
} |
|
enum | Type : uint32_t {
TYPE_UNDEFINED
, TYPE_BOOL
, TYPE_INT
, TYPE_UINT
,
TYPE_FLOAT
, TYPE_NAME
, TYPE_STRING
, TYPE_INT8
,
TYPE_INT16
, TYPE_INT32
, TYPE_INT64
, TYPE_UINT8
,
TYPE_UINT16
, TYPE_UINT32
, TYPE_UINT64
, TYPE_FLOAT32
,
TYPE_FLOAT64
, TYPE_VEC2
, TYPE_VEC3
, TYPE_VEC4
,
TYPE_QUAT
} |
| Type enumeration for serialization, etc. More...
|
|
enum | FileSource { SOURCE_ANY
, SOURCE_DISK
} |
|
enum | PlatformType { PLATFORM_WINDOWS
, PLATFORM_LINUX
, PLATFORM_WEB
} |
|
|
id_t | GenerateID () |
| Generates a unique ID number. More...
|
|
uint32_t | GetTick () |
| Returns the current tick. More...
|
|
double | GetTickTime () |
| Returns the time at the start of the current tick. More...
|
|
float | GetDeltaTime () |
|
const char * | GetVersion () |
|
template<typename T > |
auto | read_text_from_chars (const char *&cursor, const char *cursor_end) |
|
int32_t | read_text_int32 (const char *&cursor, const char *cursor_end) |
|
int64_t | read_text_int64 (const char *&cursor, const char *cursor_end) |
|
float | read_text_float32 (const char *&cursor, const char *cursor_end) |
|
double | read_text_float64 (const char *&cursor, const char *cursor_end) |
|
UID | read_text_name (const char *&cursor, const char *cursor_end) |
|
std::string_view | read_text_line (const char *&cursor, const char *cursor_end) |
|
template<typename T > |
void | write_text_to_chars (T value, char *&cursor, char *cursor_end) |
|
void | SetSystemLoggingSeverity (System::system_t system, Severity min_severity) |
|
void | SetLogCallback (void(*callback)(int, const char *)) |
|
void | SetLogCallback (void(int, const char *)) |
|
template<typename... Args> |
void | Log (int severity, int system, const std::string_view &format, Args &&... args) |
|
template<typename... Args> |
void | Log (int system, const std::string_view &format, Args &&... args) |
|
template<typename... Args> |
void | Log (const std::string_view &format, Args &&... args) |
|
template<typename... Args> |
void | DisplayLog (int time, const std::string_view &format, Args &&... args) |
|
void | QuatLookAt (quat &quaternion, const vec3 &from, const vec3 &to) |
|
void | ProjectLine (vec3 &point, const vec3 &from, const vec3 &to) |
|
vec3 | RayTriangleIntersection (vec3 ray_pos, vec3 ray_dir, vec3 point1, vec3 point2, vec3 point3) |
|
vec3 | MergeAABBMin (vec3 a, vec3 b) |
|
vec3 | MergeAABBMax (vec3 a, vec3 b) |
|
void | RotateAABB (vec3 &min, vec3 &max, quat rotation) |
|
mat4 | PositionRotationToMatrix (const vec3 &position, const quat &rotation) |
|
mat4 | PositionRotationScaleToMatrix (const vec3 &position, const quat &rotation, const vec3 &scale) |
|
const vec3 | DIRECTION_FORWARD (0.0f, 0.0f, -1.0f) |
|
const vec3 | DIRECTION_SIDE (1.0f, 0.0f, 0.0f) |
|
const vec3 | DIRECTION_UP (0.0f, 1.0f, 0.0f) |
|
const vec3 | IDENTITY_POSITION (0.0f, 0.0f, 0.0f) |
|
const quat | IDENTITY_ROTATION (1.0f, 0.0f, 0.0f, 0.0f) |
|
const vec3 | IDENTITY_SCALE (1.0f, 1.0f, 1.0f) |
|
double | GetTime () |
| Retrieves the current time. More...
|
|