Data Structures | |
struct | pr_info_s |
Output generated by prog parsing. More... | |
struct | srcline_s |
Macros | |
#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... | |
Typedefs | |
typedef struct pr_info_s | pr_info_t |
Output generated by prog parsing. More... | |
typedef struct srcline_s | srcline_t |
Functions | |
int | qc_yyparse (void) |
int | qp_yyparse (void) |
const char * | strip_path (const char *filename) |
Variables | |
pr_info_t | pr |
int | qc_yydebug |
FILE * | qc_yyin |
int | qp_yydebug |
FILE * | qp_yyin = (FILE *) 0 |
#define D_FLOAT | ( | d | ) | D_var (float, 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)) |
Round x up to the next multiple of a.
x | The value to be rounded up. |
a | The rounding factor. |
int qc_yyparse | ( | void | ) |
int qp_yyparse | ( | void | ) |
int qc_yydebug |
FILE* qc_yyin |
int qp_yydebug |
FILE * qp_yyin = (FILE *) 0 |