|
#define | D_FLOAT(d) D_var (float, d) |
|
#define | D_FUNCTION(d) D_var (func, d) |
|
#define | D_GETSTR(d) GETSTR (D_STRING (d)) |
|
#define | D_INT(d) D_var (integer, d) |
|
#define | D_POINTER(t, d) ((t *)((d)->space->data + (d)->offset)) |
|
#define | D_QUAT(d) D_var (quat, d) |
|
#define | D_STRING(d) D_var (string, d) |
|
#define | D_STRUCT(t, d) (*D_POINTER (t, d)) |
|
#define | D_var(t, d) ((d)->space->data[(d)->offset].t##_var) |
|
#define | D_VECTOR(d) D_var (vector, d) |
|
#define | G_POINTER(s, t, o) ((t *)((s)->data + o)) |
|
#define | G_STRUCT(s, t, o) (*G_POINTER (s, t, o)) |
|
#define | GETSTR(s) (pr.strings->strings + (s)) |
|
#define | NORMALIZE(x) x |
|
#define | POINTER_OFS(s, p) ((pr_type_t *) (p) - (s)->data) |
|
#define | RUP(x, a) (((x) + ((a) - 1)) & ~((a) - 1)) |
| Round x up to the next multiple of a. More...
|
|