Commit graph

168 commits

Author SHA1 Message Date
Zachary J. Slater
e1ff5e35b1 Merge pull request #5 from jonathangray/amd64_fix
amd64 fix for CBlockStream/icarus
2013-04-27 12:01:35 -07:00
Jonathan Gray
b1bf1b1379 update readme for icarus fix 2013-04-27 21:39:12 +10:00
Jonathan Gray
721432a911 fix CBlockStream/icarus on amd64 2013-04-27 21:39:06 +10:00
Alexandre Blin
77295da1d9 Fixed error in .menu file parsing on Unix 2013-04-27 02:27:50 +10:00
Jonathan Gray
2ee20c7123 update the readme for multiplayer 2013-04-26 22:27:25 +10:00
Jonathan Gray
14b5c93ba1 avoid overflowing buffer with GL_EXTENSIONS, from ioquake3 2013-04-26 22:27:25 +10:00
Jonathan Gray
defd14bd3c shuffle some prototypes around to appease gcc 2013-04-26 22:27:24 +10:00
Jonathan Gray
15cc54b440 adjust to different scoping of variables declared in for loops 2013-04-26 22:27:24 +10:00
Jonathan Gray
a765a9a98e avoid extra qualification of function members 2013-04-26 22:27:24 +10:00
Jonathan Gray
ce76dab7de directly use time_t in botlib 2013-04-26 22:27:24 +10:00
Jonathan Gray
1660a3ca25 fix some accesses beyond the end of arrays spotted via clang 2013-04-26 22:27:24 +10:00
Jonathan Gray
0ad40e0b6d make some ifdefs more specific to let this compile on more platforms 2013-04-26 22:27:23 +10:00
Jonathan Gray
fb2f55824f avoid redefining typedefs which is allowed in c++ but not c99 2013-04-26 22:27:23 +10:00
Jonathan Gray
09ee3c1696 use libGL.so.1 on linux 2013-04-26 22:27:23 +10:00
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