UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ufotypes.h File Reference

Cross-platform type definitions. More...

#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  vec2_struct_s
 
struct  vec3_struct_s
 
struct  vec4_struct_s
 
struct  vec5_struct_s
 
struct  pos3_struct_s
 
struct  pos4_struct_s
 
struct  ipos3_struct_s
 

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 struct vec2_struct_s vec2_struct_t
 
typedef struct vec3_struct_s vec3_struct_t
 
typedef struct vec4_struct_s vec4_struct_t
 
typedef struct vec5_struct_s vec5_struct_t
 
typedef byte pos_t
 
typedef pos_t pos3_t [3]
 
typedef pos_t pos4_t [4]
 
typedef struct pos3_struct_s pos3_struct_t
 
typedef struct pos4_struct_s pos4_struct_t
 
typedef int ipos_t
 
typedef ipos_t ipos3_t [3]
 
typedef struct ipos3_struct_s ipos3_struct_t
 
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

Typedef Documentation

typedef int32_t actorSizeEnum_t

Definition at line 77 of file ufotypes.h.

typedef uint8_t byte

Definition at line 34 of file ufotypes.h.

typedef ipos_t ipos3_t[3]

Definition at line 70 of file ufotypes.h.

typedef int ipos_t

Definition at line 69 of file ufotypes.h.

typedef struct pos3_struct_s pos3_struct_t
typedef pos_t pos3_t[3]

Definition at line 58 of file ufotypes.h.

typedef struct pos4_struct_s pos4_struct_t
typedef pos_t pos4_t[4]

Definition at line 59 of file ufotypes.h.

typedef byte pos_t

Definition at line 57 of file ufotypes.h.

typedef struct vec2_struct_s vec2_struct_t
typedef vec_t vec2_t[2]

Definition at line 38 of file ufotypes.h.

typedef struct vec3_struct_s vec3_struct_t
typedef vec_t vec3_t[3]

Definition at line 39 of file ufotypes.h.

typedef struct vec4_struct_s vec4_struct_t
typedef vec_t vec4_t[4]

Definition at line 40 of file ufotypes.h.

typedef struct vec5_struct_s vec5_struct_t
typedef vec_t vec5_t[5]

Definition at line 41 of file ufotypes.h.

typedef float vec_t

Definition at line 37 of file ufotypes.h.