debugging improvements. opcodes now sport an optional format specifier for

printing their args (default is "%Ga, %Gb, %gc") and PR_ValueString will
try to print what a pointer points to
This commit is contained in:
Bill Currie 2003-07-30 22:24:16 +00:00
parent ab94498503
commit 0806fc33dd
5 changed files with 890 additions and 234 deletions

View file

@ -196,8 +196,8 @@ void ED_PrintNum (progs_t *pr, int ent);
void ED_Count (progs_t *pr);
void PR_Profile (progs_t *pr);
struct dstring_s *PR_GlobalString (progs_t *pr, int ofs, etype_t type);
struct dstring_s *PR_GlobalStringNoContents (progs_t *pr, int ofs, etype_t type);
const char *PR_GlobalString (progs_t *pr, int ofs, etype_t type);
const char *PR_GlobalStringNoContents (progs_t *pr, int ofs, etype_t type);
pr_type_t *GetEdictFieldValue(progs_t *pr, edict_t *ed, const char *field);