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
|
@ -17,8 +17,12 @@
|
|||
#if defined(_WIN64)
|
||||
#define qintptr_t __int64
|
||||
#define FTE_WORDSIZE 64
|
||||
#define quintptr_t unsigned qintptr_t
|
||||
#elif defined(_WIN32)
|
||||
#define qintptr_t __int32
|
||||
typedef __int32 qintptr_t; //add __w64 if you need msvc to shut up about unsafe type conversions
|
||||
typedef unsigned __int32 quintptr_t;
|
||||
// #define qintptr_t __int32
|
||||
// #define quintptr_t unsigned qintptr_t
|
||||
#define FTE_WORDSIZE 32
|
||||
#else
|
||||
#if __WORDSIZE == 64
|
||||
|
@ -28,8 +32,8 @@
|
|||
#define qintptr_t long
|
||||
#define FTE_WORDSIZE 32
|
||||
#endif
|
||||
#define quintptr_t unsigned qintptr_t
|
||||
#endif
|
||||
#define quintptr_t unsigned qintptr_t
|
||||
#endif
|
||||
|
||||
#ifndef FTE_WORDSIZE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue