mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
[gamecode] Rename the old opcodes
To reflect their basis on v6 progs instructions, they sport the v6p tag where the p is for "plus" due to the QuakeForge extensions.
This commit is contained in:
parent
bc0a09f452
commit
0c17c6dc24
7 changed files with 1004 additions and 1003 deletions
|
@ -1482,7 +1482,7 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents)
|
|||
int addr = s - pr->pr_statements;
|
||||
int dump_code = contents & 2;
|
||||
const char *fmt;
|
||||
const opcode_t *op;
|
||||
const v6p_opcode_t *op;
|
||||
dfunction_t *call_func = 0;
|
||||
pr_def_t *parm_def = 0;
|
||||
pr_auxfunction_t *aux_func = 0;
|
||||
|
@ -1508,7 +1508,7 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents)
|
|||
return;
|
||||
}
|
||||
|
||||
op = PR_Opcode (s->op);
|
||||
op = PR_v6p_Opcode (s->op);
|
||||
if (!op) {
|
||||
Sys_Printf ("%sUnknown instruction %d\n", res->line->str, s->op);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue