Commit graph

20 commits

Author SHA1 Message Date
Jonathan Gray
d6bc68d632 workaround glibc ld.so bug #12561
from Jochen Leopold:

Fixed dclose problems (stuck in level 4)
* UNIQUE symbols in jk2gamex86.so don't allow to unload the library on map changes!
** so all global variables are not reseted -> this causes many bugs (stuck on start of level 4 for example)
* removed one "inline" attribute which fixes this bug
** there is just a GLIBCXX unique symbol left: readelf -Ws ./jk2gamex86.so | grep UNIQUE
2013-05-12 12:10:13 +10:00
Jonathan Gray
42dd32771a set some possibly uninitialised vars to zero 2013-05-02 13:47:34 +10:00
Jonathan Gray
e95505989f const fixes 2013-05-02 00:45:16 +10:00
Jonathan Gray
88e6b70d0d remove the use of 'typedef enum' without an indentifier 2013-05-01 23:47:33 +10:00
Jonathan Gray
00934e804e remove surplus tokens after preprocessor directives 2013-05-01 23:47:32 +10:00
Jonathan Gray
5b9dda241c initial round of amd64 fixes 2013-04-24 01:24:17 +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
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
be54255a02 add a simple non asm myftol() alternative 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
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
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