[gamecode] Switch to using type parameter op macros

I wish I'd done it this way years ago (but maybe gcc 2.95 couldn't hack
the casts, I do know there were aliasing problems in the past). Anyway,
this makes operand access much more consistent for variable sized
operands (eg float vs double vs vec4), and is a big part of the new
instruction set implementation.
This commit is contained in:
Bill Currie 2022-01-02 20:46:32 +09:00
parent 7b0eceda32
commit bc0a09f452
4 changed files with 266 additions and 275 deletions

View file

@ -1536,7 +1536,7 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents)
const char *str;
char mode = fmt[1], opchar = fmt[2];
unsigned parm_ind = 0;
pr_int_t opval;
pr_uint_t opval;
qfot_type_t *optype = &res->void_type;
func_t func;