Commit graph

189 commits

Author SHA1 Message Date
Thilo Schulz
fe7b088de2 Get rid of redundancy 2011-06-24 23:25:30 +00:00
Thilo Schulz
b8f81e8065 Fixes for bugs introduced in last several revisions 2011-06-16 22:50:33 +00:00
Thilo Schulz
77d764c457 Patch and description by ensiform (#5043):
This patch moves cg_particles.c out of cg_marks.c to the actual file that was
already there but not used.  By default WOLF_PARTICLES definition is commented
out if someone wants to use the old cg_particles.c changes.  cg_particles.c has
been added to the makefile and msvc projects.
2011-06-16 21:58:46 +00:00
Thilo Schulz
001cdf4497 - mingw64 now links against SDL64.dll to allow for 32 and 64 bit version in the same directory
- Add library files for MinGW64
2011-06-13 15:47:43 +00:00
Thilo Schulz
03201aff22 - Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 mode
- Clean up ftol()/snapvector() mess
- Make use of SSE instructions for ftol()/snapvector() if available
- move ftol/snapvector pure assembler to inline assembler, this will add x86_64 and improve support for different calling conventions
- Set FPU control word at program startup to get consistent behaviour on all platforms
2011-06-13 09:56:39 +00:00
Thilo Schulz
960dca2cd4 Makefile fix for mips architecture (#4995):
Fixes the \n in the $ARCH variable for IRIX/mips

Patch by Patrick Baggett
2011-06-06 15:03:27 +00:00
Thilo Schulz
bd2b704c91 OpenBSD compile fixes, patch provided by Jonathan Gray (#4994) 2011-06-06 14:59:54 +00:00
Thilo Schulz
c174143dc2 - Add x86_64 support to vm_x86.c
- Fix warning on mingw64
2011-06-01 15:17:18 +00:00
Thilo Schulz
2ae1bf3dcd IQM skin support and print limit info, make other limit info consistent, patch by Zack Middleton (#4978) 2011-05-06 11:43:07 +00:00
Thilo Schulz
c5e2654b54 - Add Inter-Quake Model (IQM) Format support, patch by gimhael with minor modifications by myself (#4965)
- Changed model_t::md4 to model_t::modelData
- Fix R_ModelBounds for MD4, MDR and IQM models (#4966)
- Support Model format fallback similar to image formats in tr_image.c, patch by Zack Middleton (#4967)
2011-05-02 15:50:19 +00:00
Thilo Schulz
76bbd95207 Bug 4935 - dedicated server linked against libjpeg if using system libjpeg, patch by Simon McVittie 2011-03-17 12:40:39 +00:00
Thilo Schulz
0c10adaf92 - Migrate to jpeg-8c
- Add possibility to link against system libjpeg
2011-03-12 16:45:15 +00:00
Thilo Schulz
0b8ca2b417 Revert premature change to Makefile for migration to jpeg-8c. *sigh* 2011-03-11 14:40:07 +00:00
Thilo Schulz
641256f7f0 strtod exists in bg_lib.c now so Q_isanumber will work in the VMs, too. 2011-03-11 13:51:36 +00:00
Thilo Schulz
fd4cf3b783 Thank you devhc 2011-02-07 04:34:39 +00:00
Thilo Schulz
54aa7f2583 Allow user to specify different temp dir for building (#4349) 2011-02-07 04:03:19 +00:00
Thilo Schulz
58a8f5ef8b Fix GNU/kFreeBSD patch by Cyril Brulebois. --> ... <-- 2011-02-06 20:10:43 +00:00
Thilo Schulz
cef9b8ce62 Fix compilation on alpha, fix by Steve Langasek (#4703) 2011-02-06 17:19:06 +00:00
Thilo Schulz
d2f8b9f4bb Support GNU/kFreeBSD, patch by Cyril Brulebois. Thanks. 2011-02-04 17:31:12 +00:00
Zachary Slater
80c24e46e8 ffffffffffffffffffffaaaaaaaaaaaaaassssssssst math movement on freebsd to OPTIMIZE 2011-01-27 07:19:25 +00:00
Ludwig Nussel
112287088e rename x86_64 -> x64 for Windows 2010-03-19 08:59:22 +00:00
Ludwig Nussel
05d7ce9c18 don't link librt on FreeBSD (bug 4507) 2010-03-06 11:55:29 +00:00
Ludwig Nussel
760f4a1949 64bit Windows support (patch by Michael Menegakis) 2010-02-28 09:00:02 +00:00
Tim Angus
3ebe048968 * Fix a memory leak in OS X Sys_Dialog
* Fix compilation on Snow Leopard
2010-02-26 16:32:49 +00:00
Tim Angus
ed313e3606 * Oops, missed a bit 2010-02-16 09:43:44 +00:00
Tim Angus
005f870ebe * Sys_Dialog for more user friendly error reporting
* (bug #3932) Recovery from bad video settings
2010-02-15 16:20:33 +00:00
Tim Angus
240b25a41f * (bug #4271) FreeBSD fixes (Dominic Fandrey) 2010-01-07 19:53:52 +00:00
Tim Angus
af4e46bfe2 * (bug #4364) Fix missing -DNDEBUG 2009-12-18 21:52:36 +00:00
Tony J. White =
db1cd85977 * build the dedicated server with voip support (benmachine) 2009-12-08 22:36:48 +00:00
Thilo Schulz
3cb58d7cc5 A few fixes for the new changes 2009-11-08 17:36:05 +00:00
Thilo Schulz
cd38bf6bf5 Rework CFLAGS: separate CFLAGS for client, server, and VMs. (#3533) 2009-11-08 17:04:30 +00:00
Thilo Schulz
c90eae4de5 Make debug cflags configurable like via Makefile.local 2009-11-03 19:23:51 +00:00
Tim Angus
83d0755ad1 * Whitespace 2009-10-28 22:12:56 +00:00
Ludwig Nussel
2fecf6d6bc get rid of gas remains 2009-10-26 21:59:03 +00:00
Ludwig Nussel
2fc4023e0b fix zlib includes 2009-10-24 14:19:39 +00:00
Ludwig Nussel
55943c51f3 -lz must be specified after object files using it
If it's specified first newer gcc resp the --as-needed option
doesn't work.
2009-10-23 12:57:45 +00:00
Thilo Schulz
cc919c05fd Just unix2dos, nothing to see here ... 2009-10-19 14:00:16 +00:00
Tim Angus
5dfed62006 * Reverted fix for #3533 2009-10-17 23:40:10 +00:00
Tim Angus
9e80310d44 * (bug #3533) -ffast-math is apparently problematic on OSX 2009-10-17 23:29:54 +00:00
Tim Angus
ab4bf148a1 * Quieten pkg-config and sdl-config tests down, portably 2009-10-15 13:11:49 +00:00
Tim Angus
1da457889e * Fix cross compilation 2009-10-14 00:16:17 +00:00
Tim Angus
2fd7ffe754 * Unquieten [pkg|sdl]-config for the time being 2009-10-13 16:33:54 +00:00
Thilo Schulz
290f51e353 - Change default openal lib to libopenal.so.1
- USE_OPENAL_DLOPEN=1 now default
2009-10-13 15:39:39 +00:00
Tim Angus
4ad2955cab * Make the MinGW build explicitly use gcc
* Quieten pkg-config and sdl-config tests down
* Improve speed of dependency processing, particularly on MinGW
2009-10-13 15:22:43 +00:00
Thilo Schulz
93aedb5bbf fix comment 2009-10-08 22:29:55 +00:00
Thilo Schulz
40c773d80e Don't set SDL variables if we don't build the client -> removes error messages when building on a server without SDL installed. 2009-10-08 19:21:42 +00:00
Tim Angus
f89092fda6 * Revert r1624 and r1626-r1628 2009-09-15 09:48:11 +00:00
Ryan C. Gordon
ec4ab19090 FreeBSD Makefile updates.
Fixes Bugzilla #4271.
2009-09-15 06:49:18 +00:00
Ryan C. Gordon
f8604a64f4 Added a real GUI message box to Sys_ErrorDialog() on Mac OS X.
Fixes Bugzilla #3654.
2009-09-15 05:38:27 +00:00
Ryan C. Gordon
e2d63b1fea Enable -fvisibility=hidden on Linux.
This will prevent further symbol clashes, and makes the shared libraries
 10 to 20 percent smaller.

We should enable this on other platforms, too, if we can guarantee they'll
 use gcc 4.0 or later and the platform supports it.
2009-09-15 02:48:17 +00:00