Commit graph

56 commits

Author SHA1 Message Date
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
Jonathan Gray
dca7904229 only declare the WGL pointers on windows 2013-04-23 23:27:00 +10:00
Jonathan Gray
f2f8459cb8 make the openal code compile without eax and enable it by default 2013-04-23 23:27:00 +10:00
Jonathan Gray
0833f632ad add a CPUSTRING for amd64 linux 2013-04-23 23:27:00 +10:00
Jonathan Gray
eaad5df3d1 add an OpenBSD section to q_shared.h 2013-04-23 23:26:59 +10:00
Jonathan Gray
362f8c8612 rename variables named Status to status to prevent collision with X11 2013-04-23 23:26:59 +10:00
Jonathan Gray
e9536dccbd use qWindow instead of Window to avoid a collision with X11 headers 2013-04-23 23:26:59 +10:00
Jonathan Gray
acc51ddf20 'or' is a c++ operator so rename variables to avoid it 2013-04-23 23:26:59 +10:00
Jonathan Gray
1cfc2bde7b add a gcc style alignment alternative to msvc code 2013-04-23 23:26:58 +10:00
Jonathan Gray
6fc2559179 opt out of more masm assembly 2013-04-23 23:26:58 +10:00
Jonathan Gray
3aaacddbb2 USHORT -> unsigned short 2013-04-23 23:26:58 +10:00
Jonathan Gray
9e50610608 add static so multiple files can each have their own Pool() 2013-04-23 23:26:58 +10:00
Jonathan Gray
d13e72ab9d avoid defining the game import var twice 2013-04-23 23:26:57 +10:00
Jonathan Gray
5335a8f693 remove an invalid and uneeded assignment 2013-04-23 23:26:57 +10:00
Jonathan Gray
e1fa7930f5 change iterator erasing so we don't need to overload the = operator 2013-04-23 23:26:57 +10:00
Jonathan Gray
df9e8b2224 leave the masm assembly to msvc 2013-04-23 23:26:57 +10:00
Jonathan Gray
bf669a384c add a missing comma in a Ragl header 2013-04-23 23:26:57 +10:00
Jonathan Gray
e141c98002 add the typename keyword as needed to Ragl 2013-04-23 23:26:56 +10:00
Jonathan Gray
ef2d578693 avoid scoped enums which was until very recently a microsoft extension 2013-04-23 23:26:56 +10:00
Jonathan Gray
8096cb839d _snprintf -> snprintf 2013-04-23 23:26:56 +10:00
Jonathan Gray
a72f2af77e replace _isnan with Q_isnan 2013-04-23 23:26:56 +10:00
Jonathan Gray
3dff5cdf52 avoid including some bg_lib functions 2013-04-23 23:26:55 +10:00
Jonathan Gray
0c24fcdbfb use QDECL instead of __cdecl 2013-04-23 23:26:49 +10:00
Jonathan Gray
118f3df648 rename syscall to qsyscall to avoid conflicting with system headers 2013-04-23 23:26:49 +10:00
Jonathan Gray
9231cb9283 add some casts so gcc can pick an overloaded abs/max/min func 2013-04-23 23:26:41 +10:00
Jonathan Gray
e18c1d17b7 add wrappers for function pointers with default arguments 2013-04-23 21:59:38 +10:00
Jonathan Gray
be54255a02 add a simple non asm myftol() alternative 2013-04-23 21:59:37 +10:00
Jonathan Gray
d9ccfeec4e force some inherited template names to be dependent 2013-04-23 21:59:37 +10:00
Jonathan Gray
648cfe3711 rename _X to avoid a collision with ctype.h 2013-04-23 21:59:37 +10:00
Jonathan Gray
2c2667afcc don't hardcode windows value of RAND_MAX and fix namespace issues 2013-04-23 21:59:37 +10:00
Jonathan Gray
0c448c94df fix #includes to compile on non windows without pch 2013-04-23 21:59:26 +10:00
Jonathan Gray
53d289ddc2 rename some c files that will be compiled as c++ 2013-04-23 17:10:44 +10:00
Jonathan Gray
1e1cd24f79 rename some files to restore the correct case 2013-04-23 17:05:12 +10:00
Jonathan Gray
dbf733b95c add and use Q_stricmp/Q_strcmpi/Q_strlwr/Q_strupr 2013-04-23 16:54:20 +10:00
Jonathan Gray
bd47e42e0e fix slashes in include paths 2013-04-23 15:40:23 +10:00