Commit graph

45 commits

Author SHA1 Message Date
Jonathan Gray
b393554c11 use memmove not strcpy when src and test overlap, from ioquake3 2013-04-26 22:27:23 +10:00
Jonathan Gray
59010a333c make inlines static inline 2013-04-26 22:27:22 +10:00
Jonathan Gray
dc634d39db add a cmake file 2013-04-26 22:27:22 +10:00
Jonathan Gray
b1f71d5b81 don't try to compile c files as c++ 2013-04-26 22:27:22 +10:00
Jonathan Gray
ecd674b852 locally define min()/max() so there won't be unresolved symbols 2013-04-26 22:27:22 +10:00
Jonathan Gray
80b273bbaa strupr -> Q_strupr 2013-04-26 22:27:21 +10:00
Jonathan Gray
36099f2c19 allow null_snddma to be used with snd_dma 2013-04-26 22:27:21 +10:00
Jonathan Gray
e454e9ebd7 callMask needs to be externally visible 2013-04-26 22:27:21 +10:00
Jonathan Gray
4d32952cd6 adapt the q3a unix backend to c++ and JA 2013-04-26 22:27:21 +10:00
Jonathan Gray
0bbe192b6f rename some c files that will be compiled as c++ 2013-04-26 22:27:21 +10:00
Jonathan Gray
30190c7cdc provide a gcc style alternative to the inline asm in zlib 2013-04-26 22:27:20 +10:00
Jonathan Gray
b65a1f3bde use QDECL instead of __cdecl 2013-04-26 22:27:20 +10:00
Jonathan Gray
eb0c330619 strcmpi -> Q_strcmpi 2013-04-26 22:27:20 +10:00
Jonathan Gray
5d7ccfdff5 force some inherited template names to be dependent 2013-04-26 22:27:20 +10:00
Jonathan Gray
e058e43fa4 place win32 code under #ifdef _WIN32 not #ifndef __linux__ 2013-04-26 22:27:19 +10:00
Jonathan Gray
d08003294d rename some files to restore the correct case 2013-04-26 22:27:19 +10:00
Jonathan Gray
a064ebf87a change iterator erasing so we don't need to overload the = operator 2013-04-26 22:27:19 +10:00
Jonathan Gray
d7b7f5ac78 match the rest of the code and have OutputDebugString under _DEBUG 2013-04-26 22:27:12 +10:00
Jonathan Gray
d8c10b2711 avoid scoped enums which was until very recently a microsoft extension 2013-04-25 23:51:57 +10:00
Jonathan Gray
e8391f9c09 powf -> Q_powf 2013-04-25 23:51:57 +10:00
Jonathan Gray
f99cdcd1fa leave the masm assembly to msvc 2013-04-25 23:51:56 +10:00
Jonathan Gray
f820286f06 opt out of more masm assembly 2013-04-25 23:51:56 +10:00
Jonathan Gray
5c941d29f1 strnicmp -> Q_strnicmp 2013-04-25 23:51:56 +10:00
Jonathan Gray
901d5acb51 stricmp -> Q_stricmp 2013-04-25 23:51:55 +10:00
Jonathan Gray
e5e1251df8 make the openal code compile without eax and enable it by default 2013-04-25 23:51:55 +10:00
Jonathan Gray
017bd42a1b add a gcc style alignment alternative to msvc code 2013-04-25 23:51:55 +10:00
Jonathan Gray
37d2ad3bf1 put some wgl parts under _WIN32 2013-04-25 23:51:55 +10:00
Jonathan Gray
4d606a650d USHORT -> unsigned short 2013-04-25 23:51:54 +10:00
Jonathan Gray
067e58ea4e provide a gcc style alternative to the inline asm in timing.h 2013-04-25 23:51:54 +10:00
Jonathan Gray
d140164808 __int64 -> int64_t 2013-04-25 23:51:54 +10:00
Jonathan Gray
46c9f91703 strlwr -> Q_strlwr 2013-04-25 23:51:54 +10:00
Jonathan Gray
3b0e200e4f add some casts so gcc can pick an overloaded abs/max/min func 2013-04-25 23:51:53 +10:00
Jonathan Gray
1625e229c9 provide a gcc style alternative to the inline asm in FxPrimitives 2013-04-25 23:51:53 +10:00
Jonathan Gray
ac358477fd rename _X to avoid a collision with ctype.h 2013-04-25 23:51:53 +10:00
Jonathan Gray
2d66eb2b2b fix #includes to compile on non windows without pch 2013-04-25 23:51:46 +10:00
Jonathan Gray
d279049cb8 replace some #elif __linux__ with #else 2013-04-25 12:46:05 +10:00
Jonathan Gray
54e3184cfc add an OpenBSD section to q_shared.h 2013-04-25 12:31:09 +10:00
Jonathan Gray
211687d21f test the non msvc path as __GNUC__ not __linux__ 2013-04-25 12:25:28 +10:00
Jonathan Gray
bd47e42e0e fix slashes in include paths 2013-04-23 15:40:23 +10:00
Jonathan Gray
85e0d466e2 remove the rest of the Visual SourceSafe files 2013-04-23 15:39:07 +10:00
Jonathan Gray
a44720cec8 remove some binary libraries 2013-04-23 15:30:43 +10:00
Jonathan Gray
039ef2cb4a ditch dos style newlines 2013-04-23 15:21:39 +10:00
Josh Vega
107cd7a531 Deleted all the Visual SourceSafe files. 2013-04-06 20:59:34 -04:00
James Monroe
59f7e71450 Jedi Academy Patch 1.01 2013-04-04 18:21:13 -05:00
James Monroe
684d1bcb3b Jedi Academy Release 2013-04-04 17:35:38 -05:00