Commit graph

79 commits

Author SHA1 Message Date
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
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