add PF_checkextension for later use. The pr_checkextension cvar will come

when I've had some sleep.
This commit is contained in:
Bill Currie 2001-03-07 10:22:51 +00:00
parent e370eb3ce6
commit 53c9732303
2 changed files with 53 additions and 3 deletions

View file

@ -1895,6 +1895,12 @@ PF_Fixme (progs_t * pr)
}
void
PF_checkextension (progs_t *pr)
{
G_FLOAT(pr, OFS_RETURN) = 0; //FIXME make this function actually useful :P
}
builtin_t pr_builtin[] = {
PF_Fixme,
@ -2034,7 +2040,29 @@ builtin_t pr_builtin[] = {
// for qcc
PF_precache_file,
PF_setspawnparms
PF_setspawnparms,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_checkextension,
};
builtin_t *pr_builtins = pr_builtin;

View file

@ -1637,7 +1637,11 @@ PF_Fixme (progs_t *pr)
PR_RunError (pr, "unimplemented bulitin");
}
void
PF_Checkextension (progs_t *pr)
{
G_FLOAT(pr, OFS_RETURN) = 0; //FIXME make this function actually useful :P
}
builtin_t pr_builtin[] = {
PF_Fixme,
@ -1763,7 +1767,25 @@ builtin_t pr_builtin[] = {
PF_infokey,
PF_stof,
PF_multicast
PF_multicast,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Fixme,
PF_Checkextension,
};
builtin_t *pr_builtins = pr_builtin;