Commit graph

147 commits

Author SHA1 Message Date
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
Zachary J. Slater
f50e96fe20 Merge pull request #3 from jonathangray/readme
add an initial readme
2013-04-24 11:07:36 -07:00
Jonathan Gray
6886cdcb07 add an initial readme 2013-04-24 16:27:46 +10:00
Zachary J. Slater
018d1fe5d4 Merge pull request #2 from jonathangray/initial_port
Initial port of Jedi Academy back to gcc/unix
2013-04-23 11:29:07 -07:00
Jonathan Gray
ac9a3c7748 use an int not a long for the version in the roff header 2013-04-24 01:24:31 +10:00
Jonathan Gray
76fb0c6d6f chids in savegames are 32 bits on disk so don't use long 2013-04-24 01:24:31 +10:00
Jonathan Gray
5b9dda241c initial round of amd64 fixes 2013-04-24 01:24:17 +10:00
Jonathan Gray
21a15843f6 fix some accesses beyond the end of arrays spotted via clang 2013-04-24 00:57:09 +10:00
Jonathan Gray
5ed4e4ca50 avoid overflowing buffer with GL_EXTENSIONS, from ioquake3 2013-04-24 00:54:54 +10:00
Jonathan Gray
d83a25cc1e fix a return type 2013-04-24 00:42:00 +10:00
Jonathan Gray
ce9aaa8951 add a cmake file 2013-04-24 00:39:20 +10:00
Jonathan Gray
eba23de0e9 modify #elif statements so they will build if a symbol isn't defined 2013-04-24 00:36:59 +10:00
Jonathan Gray
8cbc7dc223 use libGL.so.1 on linux 2013-04-24 00:17:55 +10:00
Jonathan Gray
40a2f534d0 remove a wrong and unused prototype 2013-04-24 00:16:12 +10:00
Jonathan Gray
7fa9827a94 avoid implicit int types 2013-04-24 00:15:48 +10:00
Jonathan Gray
666685fba6 adjust to different scoping of variables declared in for loops 2013-04-24 00:13:50 +10:00
Jonathan Gray
ea4f7f0599 turn off c++ symbol mangling for GetGameAPI/vmMain/dllEntry 2013-04-24 00:11:01 +10:00
Jonathan Gray
c0f29e95a2 make the non IMMERSION case compile 2013-04-24 00:07:52 +10:00
Jonathan Gray
4e402640e7 adapt the q3a unix backend to c++ and JA 2013-04-24 00:07:39 +10:00
Jonathan Gray
0e3191e122 provide a gcc style alternative to the inline asm in zlib 2013-04-23 23:39:05 +10:00