sdl2 support.
hacky rendertarget stuff. not polished. don't use except for testing. feedback desired. switched file system to use a qofs_t type instead. define FS_64BIT to make it 64bit (standard on 64bit cpus). rewrote zip support, ditching unzip.c. this provided zip64 support, and unicode in zips. changed local address enumeration to not be so stupid. updated ode support a little to match some dp features. changed fs_cache scheme, to not rebuild needlessly. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4596 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b9e46e4fa6
commit
1bb752b582
116 changed files with 3885 additions and 5423 deletions
|
@ -3,6 +3,11 @@
|
|||
|
||||
#ifdef FTEPLUGIN
|
||||
#include "quakedef.h"
|
||||
#define QPREFIX
|
||||
#endif
|
||||
|
||||
#if !defined(NOQPREFIX) && !defined(QPREFIX)
|
||||
#define QPREFIX
|
||||
#endif
|
||||
|
||||
#ifdef Q3_VM
|
||||
|
@ -83,7 +88,7 @@ typedef unsigned long quintptr_t;
|
|||
#endif
|
||||
|
||||
|
||||
#ifndef FTEPLUGIN
|
||||
#ifndef QPREFIX
|
||||
#define pPlug_GetEngineFunction Plug_GetEngineFunction
|
||||
#define pCon_Print Con_Print
|
||||
#define pCvar_GetFloat Cvar_GetFloat
|
||||
|
@ -98,7 +103,7 @@ extern "C" {
|
|||
|
||||
//DLLs need a wrapper to add the extra parameter and call a boring function.
|
||||
#define TEST
|
||||
#ifdef FTEPLUGIN
|
||||
#ifdef QPREFIX
|
||||
#define EBUILTIN(t, n, args) extern qintptr_t BUILTIN_##n; t p##n args
|
||||
#define BUILTINR(t, n, args) qintptr_t BUILTIN_##n; t p##n args {qintptr_t res; if (!BUILTINISVALID(n))pSys_Error("Builtin "#n" is not valid\n");res = plugin_syscall(BUILTIN_##n ARGNAMES); return *(t*)&res;}
|
||||
#define BUILTIN(t, n, args) qintptr_t BUILTIN_##n; t p##n args {if (!BUILTINISVALID(n))pSys_Error("Builtin "#n" is not valid\n");plugin_syscall(BUILTIN_##n ARGNAMES);}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue