Maybe this will make rjlan happy.

probably not, but it's worth a try.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1710 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-12-15 18:52:03 +00:00
parent 2ba9c0e2e8
commit 55fe54ae60
5 changed files with 16 additions and 7 deletions

View file

@ -64,7 +64,7 @@ BUILTINR(unsigned int, Sys_Milliseconds, (void)); //get the time the engine has
#undef ARGNAMES
#define ARGNAMES ,buffer
BUILTIN(void, Cmd_AddCommand, (char *buffer)); //register a command.
BUILTINR(int, Cmd_AddCommand, (char *buffer)); //register a command.
#undef ARGNAMES
#define ARGNAMES ,buffer,bufsize
BUILTIN(void, Cmd_Args, (char *buffer, int bufsize)); //retrieve some arguments.
@ -110,6 +110,10 @@ BUILTIN(void, CL_GetStats, (int pnum, unsigned int *stats, int maxstats));
BUILTIN(void, LocalSound, (char *soundname));
#undef ARGNAMES
#define ARGNAMES ,plugnum, buffer, bufsize
BUILTIN(void, GetPluginName, (int plugnum, char *buffer, int bufsize));
#undef ARGNAMES
#define ARGNAMES ,name,iswadimage
BUILTINR(qhandle_t, Draw_LoadImage, (char *name, qboolean iswadimage)); //wad image is ONLY for loading out of q1 gfx.wad
#undef ARGNAMES
@ -308,6 +312,8 @@ void Plug_InitStandardBuiltins(void)
CHECKBUILTIN(Media_ShowFrameRGBA_32);
CHECKBUILTIN(GetPluginName);
//sub consoles (optional)
CHECKBUILTIN(Con_SubPrint);
CHECKBUILTIN(Con_RenameSub);