Jonathan Gray
|
140c054cdb
|
use an int not a long for the version in the roff header
|
2013-04-24 02:14:03 +10:00 |
|
Jonathan Gray
|
53d3dd75e3
|
chids in savegames are 32 bits on disk so don't use long
|
2013-04-24 02:14:02 +10:00 |
|
Jonathan Gray
|
bb7b3911bb
|
allow the horrible hack of writing -1 to a pointer to work on amd64
|
2013-04-24 02:14:02 +10:00 |
|
Jonathan Gray
|
2602d6e48d
|
initial round of amd64 fixes
|
2013-04-24 02:14:02 +10:00 |
|
Jonathan Gray
|
147d694c92
|
fix some return types by matching JA
|
2013-04-24 02:14:01 +10:00 |
|
Jonathan Gray
|
9212aa030f
|
fix the Ghoul2InfoArray destructor, based on code in JA
|
2013-04-24 02:14:01 +10:00 |
|
Jonathan Gray
|
583b8948a8
|
fix some accesses beyond the end of arrays spotted via clang
|
2013-04-24 02:14:01 +10:00 |
|
Jonathan Gray
|
c5fceea9f3
|
fix some uses of delete that should be delete[]
|
2013-04-24 02:14:00 +10:00 |
|
Jonathan Gray
|
1496bedee4
|
avoid overflowing buffer with GL_EXTENSIONS, from ioquake3
|
2013-04-24 02:14:00 +10:00 |
|
Jonathan Gray
|
9e6cb5c645
|
add a cmake file
|
2013-04-24 02:13:49 +10:00 |
|
Jonathan Gray
|
6f81317279
|
use libGL.so.1 on linux
|
2013-04-23 12:10:24 +10:00 |
|
Jonathan Gray
|
925dc824b5
|
remove a wrong and unused prototype
|
2013-04-23 11:37:44 +10:00 |
|
Jonathan Gray
|
fa77ccb704
|
avoid implicit int types
|
2013-04-23 11:37:33 +10:00 |
|
Jonathan Gray
|
b1875def86
|
adjust to different scoping of variables declared in for loops
|
2013-04-23 11:37:19 +10:00 |
|
Jonathan Gray
|
a06907e8f5
|
'or' is a c++ operator so rename variables to avoid it
|
2013-04-23 10:01:12 +10:00 |
|
Jonathan Gray
|
73b8d667f7
|
avoid defining the game import var twice
|
2013-04-23 03:43:41 +10:00 |
|
Jonathan Gray
|
00aa9c17af
|
turn off c++ symbol mangling for GetGameAPI/vmMain/dllEntry
|
2013-04-23 03:43:30 +10:00 |
|
Jonathan Gray
|
07ad60e4f5
|
make the non IMMERSION case compile
|
2013-04-23 03:43:28 +10:00 |
|
Jonathan Gray
|
38cc99e42d
|
adapt the q3a unix backend to c++ and JO
|
2013-04-23 03:43:28 +10:00 |
|
Jonathan Gray
|
2420c9b454
|
remove an unused method that refers to a non existing var
|
2013-04-23 03:43:27 +10:00 |
|
Jonathan Gray
|
d9844941d5
|
change an interator assignment to appease gcc
|
2013-04-23 03:43:26 +10:00 |
|
Jonathan Gray
|
ca5b529ca9
|
opt out of more masm assembly
|
2013-04-23 03:43:25 +10:00 |
|
Jonathan Gray
|
3c1c6ef06d
|
make the openal code compile without eax and enable it by default
|
2013-04-23 03:43:24 +10:00 |
|
Jonathan Gray
|
5f08a518e2
|
add a CPUSTRING for amd64 linux
|
2013-04-23 03:43:23 +10:00 |
|
Jonathan Gray
|
d9628b4015
|
add an OpenBSD section to q_shared.h
|
2013-04-23 03:43:22 +10:00 |
|
Jonathan Gray
|
eabd6e015c
|
rename variables named Status to status to prevent collision with X11
|
2013-04-23 03:43:22 +10:00 |
|
Jonathan Gray
|
d1ba86a638
|
add a gcc style alignment alternative to msvc code
|
2013-04-23 03:43:21 +10:00 |
|
Jonathan Gray
|
e1727dbe76
|
use qWindow instead of Window to avoid a collision with X11 headers
|
2013-04-23 03:43:20 +10:00 |
|
Jonathan Gray
|
78665efc0e
|
leave the masm assembly to msvc
|
2013-04-23 03:43:19 +10:00 |
|
Jonathan Gray
|
c1a22ac848
|
use imported Sys_Milliseconds instead of timeGetTime()
|
2013-04-23 03:43:18 +10:00 |
|
Jonathan Gray
|
9706b37b1e
|
remove a misguided attempt to seed the already seeded RNG
|
2013-04-23 03:43:17 +10:00 |
|
Jonathan Gray
|
6992c93a14
|
replace _isnan with Q_isnan
|
2013-04-23 03:43:16 +10:00 |
|
Jonathan Gray
|
08f837b356
|
remove an unused extern that breaks the build
|
2013-04-23 03:43:15 +10:00 |
|
Jonathan Gray
|
b2c9dfc57e
|
avoid including some bg_lib functions
|
2013-04-23 03:43:14 +10:00 |
|
Jonathan Gray
|
ca90390788
|
use QDECL instead of __cdecl
|
2013-04-23 03:43:13 +10:00 |
|
Jonathan Gray
|
08417d1013
|
rename syscall to qsyscall to avoid conflicting with system headers
|
2013-04-23 03:43:12 +10:00 |
|
Jonathan Gray
|
b315df2c60
|
define a BYTE type in q_shared.h
|
2013-04-23 03:43:11 +10:00 |
|
Jonathan Gray
|
e915f8920d
|
add some casts so gcc can pick an overloaded abs/max/min func
|
2013-04-23 03:43:10 +10:00 |
|
Jonathan Gray
|
f0407a8d59
|
add a simple non asm myftol() alternative
|
2013-04-23 03:43:09 +10:00 |
|
Jonathan Gray
|
8ed74389b2
|
change iterator erasing so we don't need to overload the = operator
|
2013-04-23 03:43:09 +10:00 |
|
Jonathan Gray
|
36efb74c91
|
add wrappers for function pointers with default arguments
|
2013-04-23 03:42:56 +10:00 |
|
Jonathan Gray
|
72b488e1c1
|
hide a OutputDebugString call with _DEBUG, matches the rest of the code
|
2013-04-22 23:58:31 +10:00 |
|
Jonathan Gray
|
8eaf16469b
|
rename _X to avoid a collision with ctype.h
|
2013-04-22 23:58:23 +10:00 |
|
Jonathan Gray
|
c2cd6dc540
|
don't hardcode windows value of RAND_MAX and fix namespace issues
|
2013-04-22 23:40:07 +10:00 |
|
Jonathan Gray
|
6bf4bbd7a3
|
match JA and typedef LPCSTR q_shared.h
|
2013-04-22 23:40:06 +10:00 |
|
Jonathan Gray
|
8360d97343
|
move decl of ICARUS_Malloc/ICARUS_Free for BlockStream.h
|
2013-04-22 23:40:05 +10:00 |
|
Jonathan Gray
|
841850ecec
|
fix #includes to compile on non windows without pch
|
2013-04-22 23:39:54 +10:00 |
|
Jonathan Gray
|
d9bf60856a
|
rename some c files that will be compiled as c++
|
2013-04-22 17:18:55 +10:00 |
|
Jonathan Gray
|
f52c95e762
|
rename some files to restore the correct case
|
2013-04-22 17:16:06 +10:00 |
|
Jonathan Gray
|
5e1b2be859
|
add and use Q_stricmp/Q_strcmpi/Q_strlwr/Q_strupr
|
2013-04-22 16:54:05 +10:00 |
|