7 #define kentity_pack(type, type_index, reserved_0, reserved_1) (kentity) PACK_U64_U16S(type, type_index, reserved_0, reserved_1)
9 #define kentity_unpack_type(entity) (kentity_type) UNPACK_U64_U16_AT(entity, 0)
10 #define kentity_unpack_type_index(entity) UNPACK_U64_U16_AT(entity, 1)
11 #define kentity_unpack_reserved(entity) UNPACK_U64_U16_AT(entity, 2)
12 #define kentity_unpack_reserved2(entity) UNPACK_U64_U16_AT(entity, 3)
14 #define kentity_unpack(entity, out_type, out_type_index, out_reserved, out_reserved2) UNPACK_U64_U16S(entity, out_type, out_type_index, out_reserved, out_reserved2)
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:209
_Bool b8
8-bit boolean type
Definition: defines.h:60
kshape_type
Definition: world_types.h:8
kentity_type
Definition: world_types.h:48
kscene_volume_type
Definition: world_types.h:13
KAPI kshape_type kshape_type_from_string(const char *str)
KAPI kscene_volume_type scene_volume_type_from_string(const char *str)
KAPI b8 kentity_type_ignores_scale(kentity_type type)
KAPI const char * kentity_type_to_string(kentity_type type)
KAPI const char * scene_volume_type_to_string(kscene_volume_type type)
KAPI kentity_type kentity_type_from_string(const char *str)
KAPI const char * kshape_type_to_string(kshape_type type)