Commit graph

3256 commits

Author SHA1 Message Date
Tim Angus
f7c82c1adc * Fixed some annoying code duplication 2005-10-13 23:08:45 +00:00
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
b1cef6352e * lcc and q3asm now build with MinGW 2005-10-04 01:49:02 +00:00
Tim Angus
c07dc8dbee * Dewarninged the lcc and q3asm source
* Removed traditional target platforms from the lcc build. This might break
  building lcc on Windows using nmake. Submit patches or be quiet :p
* Default target for lcc is now bytecode, so -Wf-target=bytecode is no longer
  needed on the lcc command line
2005-10-04 01:21:34 +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
37e948211b Updated for stuff.
=================================================
This message brought to you by TimeDoctor Dot Org
Where do you want to Laugh Today?
=================================================
2005-09-29 05:44:19 +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
Tim Angus
317d40b046 * Removed q3map and associated common and libs directories 2005-09-28 18:55:31 +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