Added prototypes for the GetLocationName builtin I just added to the engine.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2708 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2007-10-05 10:50:13 +00:00
parent bdebba9bfa
commit 0e0869e1c6
2 changed files with 6 additions and 0 deletions

View File

@ -129,6 +129,10 @@ BUILTIN(void, GetServerInfo, (char *info, int infolen));
BUILTIN(void, SetUserInfo, (char *key, char *value));
#undef ARGNAMES
#define ARGNAMES ,pos,buffer,bufferlen
BUILTIN(void, GetLocationName, (float *pos, char *buffer, int bufferlen))
#undef ARGNAMES
#define ARGNAMES ,soundname
BUILTIN(void, LocalSound, (char *soundname));
#undef ARGNAMES
@ -325,6 +329,7 @@ void Plug_InitStandardBuiltins(void)
CHECKBUILTIN(LocalSound);
CHECKBUILTIN(Menu_Control);
CHECKBUILTIN(Key_GetKeyCode);
CHECKBUILTIN(GetLocationName);
//drawing routines
CHECKBUILTIN(Draw_LoadImage);

View File

@ -136,6 +136,7 @@ EBUILTIN(int, GetPlayerInfo, (int pnum, plugclientinfo_t *info));
EBUILTIN(int, LocalPlayerNumber, (void));
EBUILTIN(void, GetServerInfo, (char *info, int infolen));
EBUILTIN(void, SetUserInfo, (char *key, char *value));
EBUILTIN(void, GetLocationName, ((float *pos, char *buffer, int bufferlen));
EBUILTIN(void, Menu_Control, (int mnum));
#define MENU_CLEAR 0