UFO: Alien Invasion
Loading...
Searching...
No Matches
ufotypes.h File Reference

Cross-platform type definitions. More...

#include <stddef.h>
#include <stdint.h>
Include dependency graph for ufotypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vec2_struct_t
struct  vec3_struct_t
struct  vec4_struct_t
struct  vec5_struct_t
struct  pos3_struct_t
struct  pos4_struct_t
struct  ipos3_struct_t

Macros

#define UFO_SIZE_T   "%zu"

Typedefs

typedef uint8_t byte
typedef float vec_t
typedef vec_t vec2_t[2]
typedef vec_t vec3_t[3]
typedef vec_t vec4_t[4]
typedef vec_t vec5_t[5]
typedef byte pos_t
typedef pos_t pos3_t[3]
typedef pos_t pos4_t[4]
typedef int ipos_t
typedef ipos_t ipos3_t[3]
typedef int32_t actorSizeEnum_t

Detailed Description

Cross-platform type definitions.

For compilers that provide it, includes C99 inttypes.h for defining integer types. For those that do not (e.g. MS Visual C), defines integer types with equivalent syntax.

Definition in file ufotypes.h.

Macro Definition Documentation

◆ UFO_SIZE_T

Typedef Documentation

◆ actorSizeEnum_t

typedef int32_t actorSizeEnum_t

Definition at line 77 of file ufotypes.h.

◆ byte

typedef uint8_t byte

Definition at line 34 of file ufotypes.h.

◆ ipos3_t

typedef ipos_t ipos3_t[3]

Definition at line 70 of file ufotypes.h.

◆ ipos_t

typedef int ipos_t

Definition at line 69 of file ufotypes.h.

◆ pos3_t

typedef pos_t pos3_t[3]

Definition at line 58 of file ufotypes.h.

◆ pos4_t

typedef pos_t pos4_t[4]

Definition at line 59 of file ufotypes.h.

◆ pos_t

typedef byte pos_t

Definition at line 57 of file ufotypes.h.

◆ vec2_t

typedef vec_t vec2_t[2]

Definition at line 38 of file ufotypes.h.

◆ vec3_t

typedef vec_t vec3_t[3]

Definition at line 39 of file ufotypes.h.

◆ vec4_t

typedef vec_t vec4_t[4]

Definition at line 40 of file ufotypes.h.

◆ vec5_t

typedef vec_t vec5_t[5]

Definition at line 41 of file ufotypes.h.

◆ vec_t

typedef float vec_t

Definition at line 37 of file ufotypes.h.