Tim Angus
35cb35ff61
* (Non-trivial) fix to the "opStack corrupted in compiled code" bug
2005-10-13 14:47:00 +00:00
Tim Angus
8295a83897
* Removed Q3ASM_TURBO defines from q3asm
...
* Removed q3asm qfiles.h and redirected it to qcommon qfiles.h
2005-10-13 01:55:31 +00:00
Six
ecd73786d5
Fix build problems under OS X
2005-10-11 01:52:29 +00:00
Tim Angus
3857ce21c4
* Replaced drawSurfs qsort algorithm with a radix sort
...
+ Performance is comparable, although generally slightly
worse, but...
+ Radix is a stable sort algorithm, so overlapping
coplanar drawSurfs (i.e. with the same sort key) no
longer flicker indeterminately
+ Also removes the dubious comment: "FIXME: this was
lifted and modified from the microsoft lib source..."
2005-10-10 00:37:54 +00:00
Ludwig Nussel
b1ea2ed136
- get rid of vm_none
...
- if VM_PPC is set compiled vm support is enabled on ppc (default off atm)
2005-10-09 13:07:54 +00:00
Ludwig Nussel
44f5273e02
ugly: undefine memmove to avoid build failure with gcc fortify
...
extensions enabled
2005-10-09 13:06:33 +00:00
Ludwig Nussel
f62601ac53
don't call VM_Compile if it's not supported so the VM_Compile symbol
...
isn't needed
2005-10-09 13:05:44 +00:00
Tim Angus
f6cb6eee96
* q3lcc is no longer the default target in the Makefile
...
* Changed readme to suggest using the root Makefile instead of the one in
code/unix
2005-10-08 14:36:15 +00:00
Six
8866ce3f8b
Mac OS X needs Com_Memcpy and Com_Memset to be set to memcpy and memset.
2005-10-08 06:30:38 +00:00
Tim Angus
29db2dbbfd
* Patch from Andreas Kohn to fix q3asm build on FreeBSD
...
* Removal of SYSTEM variable from the lcc makefile due to problems with FreeBSD
2005-10-07 01:03:49 +00:00
Tim Angus
3271b52bf5
* ATI skybox bug fix
2005-10-06 15:33:54 +00:00
Tim Angus
0b6beec202
* Usage of find on FreeBSD fix from Andreas Kohn
2005-10-06 15:16:12 +00:00
Tim Angus
707ee2fdbb
* Append LCC directory to the PATH variable on all platforms
2005-10-05 21:46:03 +00:00
Tim Angus
151c9461c5
* Fixed a foul-up with the lcc Makefile
2005-10-05 21:07:47 +00:00
Tim Angus
260ca8d730
* A couple of small Makefile fixes
2005-10-05 18:13:34 +00:00
Tim Angus
490c84d907
* Applied q3asm-turbo patches from http://www.icculus.org/~phaethon/q3/q3asm-turbo/q3asm-turbo.html
...
* Added -m option to q3asm to write a map file (which is now disabled by default)
* q3asm now returns an error code on failure
2005-10-05 17:59:10 +00:00
Tim Angus
9d41e17e1f
* Fixed some vm build warnings
2005-10-05 14:50:45 +00:00
Tim Angus
79ba2d974d
* Fixes to the MinGW vm compiler
...
* General MinGW tweaks
2005-10-05 03:13:20 +00:00
Tim Angus
41cbd8c9fd
* VM game modules now built from the main Makefile
2005-10-04 23:54:51 +00:00
Tim Angus
12b5f3bded
* MinGW fixes to the tools Makefiles
2005-10-04 19:15:34 +00:00
Tim Angus
e414f46c4d
* Added install/uninstall rules to the lcc and q3asm Makefiles
...
* Moved the q3asm dir to asm so that is doesn't clash with the binary when
installed
2005-10-04 18:34:21 +00:00
Tim Angus
c3f30ff9a8
* Homogenised the game module build rules
2005-10-04 17:45:22 +00:00
Tim Angus
ad118b9baf
* Moved lcc and q3asm into code/tools
2005-10-04 15:18:22 +00:00
Tim Angus
6797dcc705
* Made the default SDL dma buffer larger
2005-09-30 22:30:22 +00:00
Tim Angus
52dcaa45fd
* A better fix to the "doppler" bug
2005-09-29 22:53:31 +00:00
Tim Angus
24d3c6b2a2
* Fixed the bug where the "doppler" effect code could cause a temporary client lock up
2005-09-29 22:35:05 +00:00
Tim Angus
de1840a23a
* Most obscure bug EVAR. Seems a library that SDL depends on (specifically libgthread-2.0) defines a symbol g_log. qagamei386.so also defines such a symbol, but since it is dynamically loaded at runtime, no collision check is performed. When the code is relocated therefore, all instances of g_log in qagamei386.so end up refering to the g_log in the library... and bad things happen. s/g_log/g_logfile/g.
2005-09-29 14:00:03 +00:00
Zachary Slater
9e70b3e418
Spell checking, thanks to Han in irc.
...
Also, stop reading these logs and visit timedoctor.org!
2005-09-29 05:25:26 +00:00
Tim Angus
a8e642fe63
* Added a - to the dependancies include line
2005-09-28 23:26:13 +00:00
Tim Angus
82f7989714
* Some game bug fixes from http://www.quake3world.com/ubb/Forum4/HTML/006208.html
2005-09-28 23:18:34 +00:00
Ludwig Nussel
cc1fb807c2
fix (likely bogus) warning about uninitialized variables
2005-09-28 12:27:02 +00:00
Tim Angus
4f1b8a2dc8
* Assorted Makefile cleanups/cruft removal
2005-09-27 17:45:16 +00:00
Tim Angus
32a5a76d07
* The Makefile now sources Makefile.local, so you shouldn't need to change the Makefile itself any more
...
* The Makefile now inherits CFLAGS from the shell environment
* The Makefile now generates dependancies by default, it can be disabled by setting GENERATE_DEPENDANCIES=0 in Makefile.local
* Removed -Werror from the linux build since it's not GCC 4 clean yet. Again, it can be added back via Makefile.local
2005-09-27 16:35:25 +00:00
Tim Angus
d0204def78
* Removed nonsensical "smells like demo data, continueing[sic] anyways" message
2005-09-26 22:26:13 +00:00
Ludwig Nussel
d5fbff3f44
revert int->long change as it breaks on 64bit. Actually only
...
VM_CallInterpreted hurts as VM_CallCompiled is only used on 32bit. Use
same arg types for consistency nevertheless.
2005-09-26 22:23:46 +00:00
Tim Angus
534da92fc0
* Fix to MinGW build
2005-09-26 20:39:57 +00:00
Tim Angus
d12b4d4d09
* Potential fix to ppc vm
2005-09-26 20:37:30 +00:00
Tim Angus
03a284b67e
* Non SDL warning fix
2005-09-26 20:33:49 +00:00
Tim Angus
47d4c2bfe5
* 64 bit fix
2005-09-26 20:09:52 +00:00
Tim Angus
909e96e41b
* Some FreeBSD cleanups
...
* Removed the remainder of the RPM stuff from the Makefile
2005-09-26 20:09:18 +00:00
Tim Angus
cde9e9e93c
* Fixed some long/int warnings, hopefully this doesn't disrupt the MSVC and/or 64bit builds
2005-09-26 16:13:14 +00:00
Tim Angus
429e59a53c
* Reintroduced the copyfiles rule
2005-09-26 16:08:38 +00:00
Tim Angus
1ad7f9cff1
* Fix to broken win32 fix patch
2005-09-26 13:47:59 +00:00
Zachary Slater
aff4d7d858
Hopefully this will fix win32 msvc.netsuperduper++220000 extra entropy edition
...
compilation, and I updated the readme a little apparently.
2005-09-26 02:36:52 +00:00
Tim Angus
ae9fbe3288
* Don't link against X directly when building the SDL backend
2005-09-25 22:27:26 +00:00
Tim Angus
4bc5c29115
* FreeBSD fixes/updates from Andreas Kohn
2005-09-25 22:04:51 +00:00
Tim Angus
6ceb4a64e4
* Removed stray cons script
2005-09-25 21:46:55 +00:00
Tim Angus
198cb121d7
* Removed Makefile which spawned cons
2005-09-25 21:46:00 +00:00
Tim Angus
e66a28dfeb
* Removed cons based build system
...
* Removed some id specific shell/perl scripts
* Removed some unused asm files
* Removed prehistoric RPM build rules
2005-09-25 21:43:48 +00:00
Tim Angus
2897abe618
* Mostly selfish patch to work around what I believe is probably an nvidia and/or agpgart bug
2005-09-25 19:54:31 +00:00
Tim Angus
f0bd20e00a
* Removed the redundant "sound system is muted" message
...
* Moved printing of desired audiospec to before SDL_OpenAudio
* When the computed value for samples is not a power of 2, now pick the smallest power of 2 greater rather than the largest power of 2 smaller
2005-09-24 01:26:51 +00:00
Tim Angus
fe14a45ad1
* Applied ajax's cleanup patch
2005-09-23 17:39:14 +00:00
Tim Angus
4c6f59c541
* Applied Thilo Schulz's MDR patch
2005-09-23 17:08:25 +00:00
Tim Angus
2b8395a4d0
* Replaced lots of __linux__ || __FreeBSD__ with __GNUC__
...
* MinGW port now uses asm versions of SnapVector and ftol
* Improved the handling of mangled symbols in vm_x86.c
2005-09-23 02:59:15 +00:00
Tim Angus
fa9b864abe
* Tidied up the makefile, mostly for whitespace
...
* Removed the q3static target
* Ported the nasm asm to gas asm, thus removing the nasm dependancy
2005-09-23 01:59:42 +00:00
Tim Angus
fcaf343d7f
* Port to MinGW
2005-09-22 03:21:33 +00:00
Tim Angus
50eb77ed1a
* Removed the dependancy on perl for deriving the version number
...
* Moved `sdl-config --libs` from LDFLAGS to GLLDFLAGS to prevent needlessly linking against SDL when building the dedicated server
* Moved assignment of DEBUG_CFLAGS until after BASE_CFLAGS has been constructed
2005-09-19 20:43:35 +00:00
Tim Angus
33a48a0336
* Fix to multiple buffer overflow bugs in CL_Rcon_f
...
* Fix to COM_ParseExt 1 byte overwrite bug
* Fixed some missing calls to trap_FS_FCloseFile
* Fixed q3msgboom and q3infoboom bugs
* Fixed some qboolean type confusion
* Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374
2005-09-19 17:45:29 +00:00
Ludwig Nussel
b185817285
more integer checks
2005-09-17 16:21:39 +00:00
Ludwig Nussel
aa942839ce
apply altivec fixes from Emanuel Steen ( #2383 )
2005-09-17 14:59:28 +00:00
Ludwig Nussel
18fc0fb5f5
fix crash when starting a TA CTF game with shared libs ( #2367 )
2005-09-17 14:20:22 +00:00
Zachary Slater
4bee7b4134
Patch from Tim Angus, to fix a longstanding bug
...
in the server, wherein running the server for
more than 24 hours would cause the game to
exhibit weirdness as described here:
http://forums.wireheadstudios.org/index.php?act=ST&f=11&t=2749
That page would also indicate that more work
needs to be done if the map isn't going to change
for more than 24 hours.
2005-09-17 01:36:38 +00:00
Ludwig Nussel
40592957b4
fix some integer overflows
2005-09-12 15:41:05 +00:00
Ludwig Nussel
4caa237d5f
use r_ignorehwgamma cvar to allow user to disable gamma correction
2005-09-08 08:34:32 +00:00
Zachary Slater
cda15d093a
8 bit jpeg support from Thilo Schulz
...
https://bugzilla.icculus.org/show_bug.cgi?id=2373
2005-09-07 20:42:43 +00:00
Ryan C. Gordon
62678a0215
Fixed buffer overflow in JPG decoder (thanks, Thilo Schulz!)
2005-09-07 18:29:03 +00:00
Ludwig Nussel
cb753845ae
fix parallel build - gnu make specific syntax?
2005-09-07 11:44:13 +00:00
Ryan C. Gordon
7b6c3a3f7c
Possible fix for 16-bit displays (untested)...reset the gl red/green/blue
...
size to 4 bits unless we have a 24-bit framebuffer.
2005-09-07 06:03:42 +00:00
Ryan C. Gordon
752d393daa
Tweak audio to reduce latency and allow user to override with cvars.
2005-09-04 19:36:36 +00:00
Ryan C. Gordon
9266fccf79
Fixed all lowercase input (Bugzilla #2364 ).
2005-09-04 16:40:55 +00:00
Ryan C. Gordon
0cf1494497
Removed some tab chars.
2005-09-04 15:30:26 +00:00
Six
54351a83c4
.
2005-09-04 05:45:05 +00:00
Six
38e3825516
Changed inline to __inline.
...
Visual C does not accept the inline keyword, only __inline.
Visual C does not recognize the #warning compiler directive
2005-09-04 05:19:58 +00:00
Zachary Slater
0a8f2fe25b
More fixens.
2005-09-03 23:03:41 +00:00
Zachary Slater
fe4add9920
Updates and fixens
2005-09-03 22:45:50 +00:00
Zachary Slater
fe3c3f69ec
https://bugzilla.icculus.org/show_bug.cgi?id=2362
2005-09-03 19:16:14 +00:00
Zachary Slater
a4a6168e95
https://bugzilla.icculus.org/show_bug.cgi?id=2361
2005-09-03 18:30:59 +00:00
Ludwig Nussel
2e6d24d973
remove useless setuid code
2005-09-03 12:02:28 +00:00
Ludwig Nussel
4a5f66fbe3
don't make unaligned used of OP_BLOCK_COPY an error. The bytecode
...
compiler doesn't care either.
2005-09-03 12:01:51 +00:00
Zachary Slater
840ecd6483
More from pomac
2005-09-03 04:10:22 +00:00
Zachary Slater
1697a709a1
Reverting pomac's change here, hopefully that fixes this.
2005-09-02 21:52:28 +00:00
Zachary Slater
e09e027914
Another patch from gladiac, cleans up the makefile a little.
2005-09-02 21:11:46 +00:00
Zachary Slater
f327407bb8
Cleanups from pomac!
2005-09-02 20:13:47 +00:00
Ludwig Nussel
b0fc4a7b6e
remove =? assignments. use "make CC=foo" instead of "CC=foo make"
2005-09-02 12:28:54 +00:00
Ludwig Nussel
92216f0f07
assume a default if sndspeed==0 to stay compatible with the original
...
code
2005-09-01 17:52:57 +00:00
Ryan C. Gordon
c7392f2c3f
Screw with (de)initialization code.
...
This fixes:
- Mouse grab being lost after alt-enter goes windowed in the SDL driver.
- Joystick ceasing to function on vid_restart in the SDL driver.
- Audio failing to work after after snd_restart in the SDL driver.
- Probably other things.
2005-09-01 05:09:21 +00:00
Ryan C. Gordon
136557954c
Make a shot at total client shutdown on crash.
2005-09-01 05:07:15 +00:00
Ryan C. Gordon
8cb9ba5bda
Added console output so I know what's going on...
2005-09-01 05:06:34 +00:00
Ryan C. Gordon
128154e9a8
backed out broken patch.
2005-09-01 03:30:28 +00:00
Zachary Slater
01da6d757b
https://bugzilla.icculus.org/show_bug.cgi?id=2356
...
Remotely exploitable Infostring Crash
2005-09-01 02:13:47 +00:00
Ryan C. Gordon
b0b8e0114b
Removed some FIXMEs
2005-09-01 00:33:48 +00:00
Ryan C. Gordon
7aea0f7141
Renamed the SDL stuff to not be Linux specific.
2005-09-01 00:33:08 +00:00
Zachary Slater
6a84a13acf
From Cameron Eure:
...
Fixes a problem in code/unix/linux_glimp_sdl.c where attributes are called
before there's a working visual, resulting in a crash.
2005-09-01 00:24:56 +00:00
Zachary Slater
ae7066fa3f
Uh, yeah. glub glub. mo blon.
2005-08-31 22:05:21 +00:00
Ryan C. Gordon
db2b964527
Added SDL joystick support.
2005-08-31 21:13:02 +00:00
Ludwig Nussel
5af249432d
try to fix keyboard handling. Works with German keyboard now AFAICT
2005-08-31 19:54:08 +00:00
Ryan C. Gordon
2282c30923
SDL-based audio.
2005-08-31 19:42:55 +00:00
Zachary Slater
06c73f5e59
First diff from Andreas Schneider:
...
here are gcc4 signedness fixes for latest svn :)
2005-08-31 18:00:00 +00:00
Ryan C. Gordon
23d08fae65
Show the system cursor when ungrabbing the mouse, so you know it's
...
been ungrabbed.
2005-08-31 17:57:44 +00:00
Ryan C. Gordon
a65432119b
Shutdown game if user clicks the 'X' on his window.
2005-08-31 17:54:07 +00:00
Zachary Slater
dee436c126
First patch from vapier for easier packaging:
...
it'd make it easier on people packaging up quake3 if we could set system paths
for the baseq3 dir and if the makefile would respect things like CC/CXX from the
build env
2005-08-31 17:43:56 +00:00
Ryan C. Gordon
5bc2c49293
More SDL fixes:
...
- Console key works as it should, at least on QWERTY keyboards. Someone
will have to check AZERTY keyboards for me.
- Backspace key now works in text entry.
- Mouse input is scaled 2x, like the X11 driver does.
- Some basic logging so I know I'm using the SDL code and not the X11 code.
2005-08-31 16:38:05 +00:00
Ryan C. Gordon
3ca916aacc
Removed included SDL headers (ludwig pointed the makefile to system-installed
...
headers instead).
2005-08-31 16:36:15 +00:00
Ludwig Nussel
a724f6b04f
add s390, s390x and ia64. It builds, don't know if it runs tough.
2005-08-31 09:03:28 +00:00
Ludwig Nussel
77eb7e4147
fix cdpath, deuglify dlopen code, load dll also from cdpath
2005-08-31 08:49:02 +00:00
Ludwig Nussel
8200e26360
use system SDL lib
2005-08-31 08:42:58 +00:00
Zachary Slater
67da8fbc6f
First update of the changelog, more to come as time goes by.
2005-08-31 03:25:10 +00:00
Zachary Slater
8baf50cf1f
glub glub mo blon
2005-08-31 00:07:49 +00:00
Zachary Slater
1221bd8996
oops!
2005-08-30 23:59:12 +00:00
Zachary Slater
272e3ca69f
First version of Ryan Gorodon's SDL work:
...
16:24 < icculus> check that in, someone will fix it. :)
2005-08-30 23:25:02 +00:00
Ludwig Nussel
1b62818a09
- add note about 64bit mods and the demo
...
- fix mod functions for 64bit
2005-08-30 22:38:59 +00:00
Ludwig Nussel
54d65a0ead
- load qvm file by default again to avoid 'unpure' error
...
- fix loading qvms in 64bit q3
2005-08-30 21:25:54 +00:00
Ludwig Nussel
770c6808d0
fix warning
2005-08-30 21:25:08 +00:00
Ludwig Nussel
88171d6bb7
support for 64bit native mods
2005-08-30 20:30:17 +00:00
Ludwig Nussel
334fa9c48c
fix ppc64 string
2005-08-30 15:38:44 +00:00
Ludwig Nussel
2078cfa9a0
always try native dll first
2005-08-30 15:38:05 +00:00
Ludwig Nussel
4fb1caf6bd
make FloatSwap less ugly
2005-08-30 15:36:17 +00:00
Ludwig Nussel
3973f4aaa2
fix build against system libfreetype
2005-08-30 15:35:24 +00:00
Ludwig Nussel
fc29447726
really don't add restrictions on demo data
2005-08-30 15:30:07 +00:00
Ludwig Nussel
9a455ba5ec
disable demo restrictions
2005-08-30 11:37:53 +00:00
Ludwig Nussel
109da009d2
fix build on ppc. no guarantee it runs though
2005-08-30 11:37:41 +00:00
Zachary Slater
ed2ad48122
https://bugzilla.icculus.org/show_bug.cgi?id=2348
2005-08-28 18:12:43 +00:00
Ludwig Nussel
5ae70d54b0
remove svn:executable property
2005-08-28 17:54:51 +00:00
Ludwig Nussel
eccd796b50
prepare for ppc support
2005-08-28 17:24:58 +00:00
Ludwig Nussel
a8bff00f78
-fno-strict-aliasing got lost..
2005-08-28 17:24:25 +00:00
Ludwig Nussel
b603a047f5
cleanup
2005-08-28 17:21:46 +00:00
Ludwig Nussel
c366bdea07
try to fix build using cons
2005-08-28 13:07:33 +00:00
Ludwig Nussel
07af20b73b
add parenthesis to avoid warning
2005-08-28 13:02:57 +00:00
Ludwig Nussel
4a1e2f8124
fix lcc and q3asm linux build
2005-08-28 12:35:05 +00:00
Ludwig Nussel
fd4bbf42d6
remove 64bit warning. For QVM it's ok and native .so is broken anyways
2005-08-28 12:34:17 +00:00
Ludwig Nussel
a2249d087e
add checks for LAN IPs to prevent q3ded from trying to authenticate
...
private IPs
2005-08-28 12:33:24 +00:00
Ludwig Nussel
4a955b42e2
-mtune isn't supported by gcc3, change to -march=i686. Who run q3 on a
...
P1 anyways?
2005-08-28 10:41:26 +00:00
Zachary Slater
8b1d93b397
Patching from floam with some edits by myself:
...
I was working on a patch earlier to fix some more things up to be more
modern, and I added a couple lines from that cleanup patch I showed you
on irc. Some commented code was removed, some stuff was made to not be
broke (old head usage), the makefile should install things better, and a
a few GCC warnings were gagged. I also attempted to version it but
you'll probably want to change that to whatever versioning rules you
decide on using.
2005-08-28 03:46:44 +00:00
Zachary Slater
d54f831dd7
From ludwig: This one fixes a rendering error
2005-08-27 18:11:08 +00:00
Zachary Slater
916cb54d72
From ludwig: Unsigned overflows don't work in 64bit address space ...
2005-08-27 18:10:36 +00:00
Zachary Slater
a138149de2
from floam: quake3_dont_build_debug_by_default_and_dericeify.patch:
...
Doesn't build debug builds by default anymore. The debug builds were
slower, made huge binaries, and never grabbed the mouse. I also
s/-O6/-O3/'d it, which has no functional difference, but is less
1999-gcc-2-ey and much much less 2005-gentoo-ey.
2005-08-27 05:11:08 +00:00
Zachary Slater
7c8e2766c6
from floam: Finishes Ludwig's patch by adding vm_none stub.
2005-08-27 05:06:47 +00:00
Zachary Slater
f46ede91fb
Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.
2005-08-27 02:24:00 +00:00
Zachary Slater
59cce31e75
newlines fixed
2005-08-26 17:39:27 +00:00
Zachary Slater
5b755058f5
Itsa me, quake3io!
2005-08-26 04:48:05 +00:00
Travis Bradshaw
dbe4ddb103
The Quake III Arena sources as originally released under the GPL license on August 20, 2005.
2012-01-31 13:41:34 -06:00