LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now.

vulkan, wasapi, quake injector features added.
irc, avplug, cef plugins/drivers reworked/updated/added
openal reverb, doppler effects added.
'dir' console command now attempts to view clicked files.
lots of warning fixes, should now only be deprecation warnings for most targets (depending on compiler version anyway...).
SendEntity finally reworked to use flags properly.
effectinfo improved, other smc-targetted fixes.
mapcluster stuff now has support for linux.
.basebone+.baseframe now exist in ssqc.
qcc: -Fqccx supports qccx syntax, including qccx hacks. don't expect these to work in fteqw nor dp though.
qcc: rewrote function call handling to use refs rather than defs. this makes struct passing more efficient and makes the __out keyword usable with fields etc.
qccgui: can cope a little better with non-unicode files. can now represent most quake chars.
qcc: suppressed warnings from *extensions.qc

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5000 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2016-07-12 00:40:13 +00:00
parent 5920bf05fb
commit 27a59a0cbc
271 changed files with 101001 additions and 64352 deletions

View file

@ -49,6 +49,10 @@ BUILTINR(int, Plug_ExportToEngine, (const char *funcname, int expnum));
#define ARGNAMES ,funcname,func
BUILTINR(qboolean, Plug_ExportNative, (const char *funcname, void *func));
#undef ARGNAMES
#define ARGNAMES ,funcname
BUILTINR(void *, Plug_GetNativePointer, (const char *funcname));
#undef ARGNAMES
#endif
#define ARGNAMES ,text
@ -159,6 +163,20 @@ BUILTINR(int, GetLastInputFrame, (int seat, usercmd_t *playercmd));
BUILTINR(float, GetTrackerOwnFrags, (int seat, char *text, size_t textsize));
#undef ARGNAMES
#ifndef Q3_VM
#define ARGNAMES ,vmid
BUILTINR(struct pubprogfuncs_s*, PR_GetVMInstance, (int vmid/*0=ss,1=cs,2=m*/));
#undef ARGNAMES
#ifdef MULTITHREAD
#define ARGNAMES ,threadingsize
BUILTINR(struct threading_s*, Sys_GetThreadingFuncs, (int threadingsize));
#undef ARGNAMES
#endif
#define ARGNAMES ,version
BUILTINR(struct modplugfuncs_s*, Mod_GetPluginModelFuncs, (int version));
#undef ARGNAMES
#endif
#define ARGNAMES ,pos,buffer,bufferlen
BUILTIN(void, GetLocationName, (const float *pos, char *buffer, int bufferlen));
@ -233,7 +251,7 @@ BUILTIN(void, Draw_Colour4f, (float r, float g, float b, float a));
#undef ARGNAMES
#define ARGNAMES ,s
BUILTIN(void, SCR_CenterPrint, (char *s));
BUILTIN(void, SCR_CenterPrint, (const char *s));
#undef ARGNAMES
#define ARGNAMES ,mnum
@ -241,16 +259,19 @@ BUILTIN(void, Menu_Control, (int mnum));
#undef ARGNAMES
#define ARGNAMES ,keyname
BUILTINR(int, Key_GetKeyCode, (char *keyname));
BUILTINR(int, Key_GetKeyCode, (const char *keyname));
#undef ARGNAMES
#if !defined(Q3_VM) && defined(FTEPLUGIN)
#define ARGNAMES ,name,handle,mode
BUILTINR(qboolean, VFS_Open, (char *name, vfsfile_t **handle, char *mode));//opens a direct vfs file. no access checks, and so can be used in threaded plugins
BUILTINR(qboolean, VFS_Open, (const char *name, vfsfile_t **handle, const char *mode));//opens a direct vfs file. no access checks, and so can be used in threaded plugins
#undef ARGNAMES
#define ARGNAMES ,name,relativeto,out,outlen
BUILTINR(qboolean, FS_NativePath, (const char *name, enum fs_relative relativeto, char *out, int outlen));
#undef ARGNAMES
#endif
#define ARGNAMES ,name,handle,mode
BUILTINR(int, FS_Open, (char *name, qhandle_t *handle, int mode));
BUILTINR(int, FS_Open, (const char *name, qhandle_t *handle, int mode));
#undef ARGNAMES
#define ARGNAMES ,handle
BUILTIN(void, FS_Close, (qhandle_t handle));
@ -264,7 +285,9 @@ BUILTINR(int, FS_Read, (qhandle_t handle, void *data, int len));
#define ARGNAMES ,handle,offsetlow,offsethigh
BUILTINR(int, FS_Seek, (qhandle_t handle, unsigned int offsetlow, unsigned int offsethigh));
#undef ARGNAMES
#define ARGNAMES ,handle,sizelow,sizehigh
BUILTINR(qboolean, FS_GetLen, (qhandle_t handle, unsigned int *sizelow, unsigned int *sizehigh));
#undef ARGNAMES
#define ARGNAMES ,ip,port
BUILTINR(qhandle_t, Net_TCPConnect, (char *ip, int port));
@ -284,6 +307,9 @@ BUILTINR(int, Net_Send, (qhandle_t socket, void *buffer, int len));
#define ARGNAMES ,socket
BUILTIN(void, Net_Close, (qhandle_t socket));
#undef ARGNAMES
#define ARGNAMES ,sock,certhostname
BUILTINR(int, Net_SetTLSClient, (qhandle_t sock, const char *certhostname));
#undef ARGNAMES
#define ARGNAMES ,inputbuffer,buffersize
BUILTINR(int, ReadInputBuffer, (void *inputbuffer, int buffersize));
@ -382,6 +408,7 @@ void Plug_InitStandardBuiltins(void)
CHECKBUILTIN(Plug_ExportToEngine);
#ifndef Q3_VM
CHECKBUILTIN(Plug_ExportNative);
CHECKBUILTIN(Plug_GetNativePointer);
#endif
CHECKBUILTIN(Sys_Error);
@ -422,6 +449,8 @@ void Plug_InitStandardBuiltins(void)
CHECKBUILTIN(FS_Read);
CHECKBUILTIN(FS_Write);
CHECKBUILTIN(FS_Close);
CHECKBUILTIN(FS_Seek);
CHECKBUILTIN(FS_GetLen);
//networking
CHECKBUILTIN(Net_TCPConnect);
@ -430,6 +459,7 @@ void Plug_InitStandardBuiltins(void)
CHECKBUILTIN(Net_Recv);
CHECKBUILTIN(Net_Send);
CHECKBUILTIN(Net_Close);
CHECKBUILTIN(Net_SetTLSClient);
//random things
CHECKBUILTIN(CL_GetStats);
@ -450,6 +480,10 @@ void Plug_InitStandardBuiltins(void)
CHECKBUILTIN(GetWeaponStats);
CHECKBUILTIN(GetNetworkInfo);
#ifndef Q3_VM
CHECKBUILTIN(PR_GetVMInstance);
#endif
//drawing routines
CHECKBUILTIN(Draw_LoadImageData);
CHECKBUILTIN(Draw_LoadImageShader);