Commit Graph

406 Commits

Author SHA1 Message Date
Tim Angus fd986dae06 * Fix various warnings with GCC and clang 2011-10-27 21:32:28 +00:00
Tim Angus 675e7a641a * clang support 2011-10-21 22:48:53 +00:00
Thilo Schulz 171f98474f BitBlt Patch #0000 (#5176) 2011-09-29 02:44:08 +00:00
Zack Middleton b3c9d55f50 Include extra dlls in NSIS installer if needed (renderer, curl, speex, zlib, jpeg). 2011-08-29 15:17:47 +00:00
Zack Middleton efd5f47bf6 Fixed copyfiles when USE_RENDERER_DLOPEN is disabled. 2011-08-11 05:51:08 +00:00
Thilo Schulz 08acc75a1a - More MacOSX changes to Makefile
- Ship libSDL-1.2.0.dylib with x86_64 platform support
2011-08-10 21:14:17 +00:00
Thilo Schulz 99e157e066 - Add x86_64 platform for MacOSX
- Fix compilation on MacOSX gcc
2011-08-10 20:48:53 +00:00
Zack Middleton b9a060bfe2 Don't create clientsmp directory (which is no longer used), pointed out by DevHC. 2011-08-05 20:47:02 +00:00
Zack Middleton 702c519057 Moved various per-platform ifs/defines to be only done once for all platforms. 2011-08-02 22:00:57 +00:00
Zack Middleton 1ea0df54f8 Change x86_64 to x64 for mingw. 2011-08-02 21:03:14 +00:00
Thilo Schulz fb24020f89 Fix compilation on MINGW 2011-08-01 13:25:55 +00:00
Thilo Schulz 89b53079cc Add SDL library to renderer lib 2011-08-01 13:15:31 +00:00
Thilo Schulz 83f228a42f Add patch by Zack Middleton to fix building for USE_RENDERER_DLOPEN=0 2011-08-01 13:10:35 +00:00
Thilo Schulz 6713bbbab3 Make client/server cflags configurable 2011-08-01 12:48:31 +00:00
Thilo Schulz b151d91777 Remove unneeded library dependencies with new modular renderer 2011-08-01 11:53:59 +00:00
Thilo Schulz 40dfcee06e Modular rendering system. Patch by use.less01
This might break MSVC builds. I'll take care of it later
2011-08-01 01:19:55 +00:00
Thilo Schulz 9dc32d55e2 Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton 2011-07-18 14:56:57 +00:00
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
Ryan C. Gordon 592062c548 Make TOOLS_CFLAGS more easily customisable in the Makefile.
Fixes Bugzilla #4155.
2009-09-15 01:36:17 +00:00
Ryan C. Gordon 2f0abce691 Makefile: Allow overriding options for different setups, OpenBSD fixes.
Fixes Bugzilla #3955.
2009-09-14 23:49:20 +00:00
Zachary Slater ca91bb1ab5 Patch from kevlarman for fixing external speex compile 2009-08-02 02:21:23 +00:00
Ludwig Nussel 161dc2ddf5 fall back to sdl-config if SDL_CFLAGS are empty
works around buggy Solaris installations where pkg-config is
installed but can't find the SDL config file
2009-05-05 18:19:34 +00:00
Ludwig Nussel b8097554ac set SDL CFLAGS and LIBS at central place 2009-05-03 18:49:48 +00:00
Ludwig Nussel 94bc49653d increase version in trunk 2009-04-13 20:20:05 +00:00
Ludwig Nussel 2864898147 Makefile: Enable new sparc JIT on Linux.
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-02 17:29:46 +00:00
Ludwig Nussel 913e81522c Makefile: Use "-mtune=ultrasparc3 -mv8plus" on Linux/Sparc.
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-02 17:29:26 +00:00
Ludwig Nussel a1f9885664 fix build with newer git installations 2009-01-13 07:57:01 +00:00
Ludwig Nussel 057e7edf18 use -fno-strict-aliasing again. code is just not ready yet. 2008-11-12 13:40:04 +00:00
Ludwig Nussel 1828da63de fix empty loops causing build failures in mingw
Patch by Przemysław Iskra (#3813)
2008-11-10 09:47:02 +00:00
Ludwig Nussel b546e4712d enable new powerpc vm
Patch by Przemysław Iskra (#3796)
2008-11-10 09:46:41 +00:00
Ludwig Nussel c754d6fdfb fix strict aliasing issues
Patch by Przemysław Iskra (#3805)
2008-11-03 17:03:54 +00:00
Ludwig Nussel e1983208f0 libraries do not belong to LDFLAGS.
Patch creates separate *LIBS variables for libraries, leaving LDFLAGS for real
flags, like -shared or --as-needed. Also CFLAGS are used when linking:
-m32/-m64 belongs to CFLAGS, not LDFLAGS; linker additionally optimizes output
file when -O* is in flags.
Patch by Przemysław Iskra (#3813)
2008-11-02 17:32:21 +00:00
Ludwig Nussel c3a8156cb6 x86_64_assembler should use separate object file for dedicated server
patch by  Przemysław Iskra
2008-11-02 17:32:18 +00:00
Tim Angus b555d68b3f * (bug #3729) server dependencies on client.h (Ben Millwood)
* (bug #3731) BUILD_MISSIONPACK flag in Makefile (Gabriel Schnoering
  <gabriel.schnoering@gmail.com>)
* (bug #3756) Q3VM crashes on unaligned block copy with SIGBUS (Patrick Baggett
  <baggett.patrick@figglesoftware.com>) and...
* (bug #3755) IOQuake3 shouldn't use GCC-specific __FUNCTION__
2008-08-22 22:47:26 +00:00
Tim Angus 953200cafc * Update to jpeg-6b (only a decade old) 2008-08-21 23:29:09 +00:00
Tim Angus 9705664d2c * Alpha sort the jpeg file list in the Makefile, just because 2008-08-19 10:03:14 +00:00
Tim Angus 7edcc7d16a * Use IPv6 header qcommon/wspiapi.h if it has been added by the end user
* Update README to explain the Windows XP requirement
2008-08-09 19:12:30 +00:00
Tim Angus 1b87aff448 * Elaborate on the reasons for requiring Windows XP 2008-08-04 11:34:04 +00:00
Ludwig Nussel 2ed334b2be fix build without VOIP (David Severwright, bug#3720) 2008-07-16 07:15:09 +00:00
Ludwig Nussel 5208bf8273 also define proper version when using git-svn 2008-07-16 07:14:55 +00:00
Tim Angus 956ce9bf12 * (bug 3692) Makefile infinitely recurses if no targets are defined 2008-07-05 22:34:23 +00:00
Ludwig Nussel 5513fa3d75 fix the build on openbsd (Ian Lindsay) 2008-06-20 07:08:40 +00:00
Ludwig Nussel 35e2091c90 allow linking against an external speex library 2008-06-05 08:55:08 +00:00
Ryan C. Gordon b9a9727689 Allow USE_LOCAL_HEADERS to work with SDL on Linux builds.
Otherwise, cross-compiling doesn't work.
2008-06-04 05:28:54 +00:00
Ludwig Nussel b8d3888f31 move voip cflags definition to platform independent place 2008-06-02 12:12:00 +00:00
Ryan C. Gordon d43ecc9909 Fixed non-VoIP builds. 2008-06-02 06:46:41 +00:00
Ryan C. Gordon 7b4a796e44 Added libspeex to revision control, and updated Makefile to use it. 2008-06-01 18:53:28 +00:00
Ryan C. Gordon 12326a9eac Initial patch for in-game VoIP support! 2008-06-01 07:51:23 +00:00
Ludwig Nussel 0ee3960225 mumble link support
The coordinate calculation was adopted from Warsow's mumble patch.
2008-05-30 17:19:31 +00:00
Thilo Schulz 81f9b20bfb - Workaround for buggy MacOSX getaddrinfo() implementation that doesn't accept AF_UNSPEC parameter in hints structure. Thanks icculus for reporting.
- Add -faltivec flag for debug builds.
2008-05-17 10:46:41 +00:00
Tim Angus a857487f9b * Fix a bunch of compile warnings
* Only call pkg-config if it exists
* Remove cl_consoleHistory from README
2008-05-10 18:51:02 +00:00
Ludwig Nussel d7bdf4b344 define the product version in the Makefile 2008-05-06 20:24:32 +00:00
Ludwig Nussel 2f71e61b1d mingw32: allow to override cflags and libs for external libraries 2008-04-28 07:10:32 +00:00
Thilo Schulz 425c351d1b - Implement stereo rendering with anaglyph images.
- Add r_greyscale for black&white rendering
2008-04-27 17:32:14 +00:00
Tony J. White = 48d9999698 * enable building of QVM for Mac OS X again 2008-04-23 20:59:12 +00:00
Ludwig Nussel 3327ce1ab3 add nsis installer target for mingw32 2008-04-15 14:19:03 +00:00
Thilo Schulz b3822d03e2 Include #ifdef to make it easier to create a stand-alone binary. 2008-04-09 23:43:30 +00:00
Tim Angus 85bee47f52 * Fix to MinGW build following IPv6 changes 2008-04-05 16:01:58 +00:00
Thilo Schulz b2225a823c http://bugzilla.icculus.org/show_bug.cgi?id=3579
Patch to make Solaris work again by Vincent Cojot.
2008-03-28 16:16:38 +00:00
Tim Angus 6ddf70b0eb * Compile bg_* files separately for each game module, as originally intended 2008-03-17 16:47:40 +00:00
Ludwig Nussel 84f32478b9 remove code duplicated from libjpeg and make internal functions static 2008-02-14 11:13:51 +00:00
Ludwig Nussel 85ba66e7e8 move all image decoders into separate files 2008-02-14 11:13:18 +00:00
Ludwig Nussel 4eec54c338 move png support to separate file 2008-02-12 10:03:21 +00:00
Tony J. White = ff84183fe7 * print LDFLAGS summary in the make output after CFLAGS summary (Hobbes)
* Fix typo in make-macosx-ub.sh (Hobbes)
2008-01-03 19:04:23 +00:00
Tony J. White = cabf9b74f9 * Update the Mac OS X build process (again)
* Allow BUILD_* env vars to be passed to make to build only specific 
  components
2008-01-03 06:19:11 +00:00
Thilo Schulz 45698be226 Fix build process on 10.5 and 10.4 sdks for tjw's modifications 2007-12-31 16:11:29 +00:00
Tony J. White = 2d32d3dbff * Improved Mac OS X build support.
* Dropped support for Mac OS X 10.2 to simplify things.  If anyone still
  needs this version supported let me know.
2007-12-31 03:47:36 +00:00
Thilo Schulz 3648af78dc Fix building on MacOSX. 2007-12-14 16:54:13 +00:00
Tim Angus a31dc5c21d * s/x86/i386 on previous revision 2007-12-07 10:12:55 +00:00
Tim Angus 3cc683e809 * (bug 3460) Revert OS X uname change 2007-12-07 10:11:47 +00:00
Tim Angus 3cde9bf0dc * Add con_log.c to log all console output
* Add con_passive.c to cut down on #ifdef DEDICATED in sys_main.c
* Add Sys_ErrorDialog to report ERR_FATALs to the user
  + On Windows use a MessageBox and offer to copy the console log to the
    clipboard
  + On everything else print to the terminal and save the console log as
    crashlog.txt
2007-11-30 18:32:52 +00:00
Ludwig Nussel ccc66aadff Solaris fixes by Vincent Cojot 2007-11-30 15:08:57 +00:00
Tim Angus eaeed742c5 * Move MINSDL_ values to sys_local.h from Makefile/VC project
* Merge *BSD platform definitions in q_platform.h
* IRIX support (Patrick Baggett <baggett.patrick@figglesoftware.com>)
2007-11-26 20:18:53 +00:00
Tim Angus 6bd4bb16a0 * Move SDL library version check to sys_main.c as it's proving difficult to
make the Makefile check sufficiently portable
* Remove unnecessary GL PFN... casts from SDL_GL_GetProcAddress calls
* Replace OS X uname workaround with Solaris workaround, as I believe OS X
  uname now behaves the same as GNU name
2007-11-25 23:41:01 +00:00
Ludwig Nussel 6f85c247e3 Don't define ELF, use __ELF__ instead 2007-11-06 16:41:57 +00:00
Tim Angus 6d5fc14c66 * Move TOOLS_OPTIMIZE 2007-11-02 23:58:32 +00:00
Tim Angus 31c24bd0d2 * (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)
* (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>)
* (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>)
* For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0
2007-11-02 23:36:23 +00:00
Ludwig Nussel 788a4e1cf8 introduce TOOLS_OPTIMIZE to be able to override compiler flags used for
tools compilation
2007-10-23 13:35:31 +00:00
Tim Angus 6dffd08e74 * Fix to qvm compilation on big endian architectures 2007-10-13 12:03:47 +00:00
Tim Angus 8f43965e13 * OpenBSD support (Toni Spets <toni.spets@gmail.com>) 2007-10-12 23:27:47 +00:00
Ludwig Nussel 66b31c94b9 actually build 64bit binaries on ppc64 2007-10-12 10:25:13 +00:00
Tim Angus 7562caa310 * Move the conditional compilation of bg_lib.c from the Makefile to cpp in
order to force dependency generation on bg_lib.*
* Make testing USE_ defines more consistent
2007-09-22 20:32:11 +00:00
Tim Angus cadaaffcce * Split off DEPEND_CFLAGS so -MMD isn't used when doing library checks 2007-09-14 23:07:28 +00:00
Tim Angus 39ab3294bf * Remove -Werror from TOOLS_CFLAGS 2007-09-13 22:37:33 +00:00
Tim Angus c7c2ee1b84 * Improve Makefile startup time
+ Merge q3asm and q3lcc Makefiles into the core Makefile
  + Don't find .d files, create a list from .o
  + .asm files now depend on q3lcc
  + .qvm files now depend on q3asm
* IMPORTANT NOTE: do a "make distclean" if you have problems
2007-09-12 23:37:33 +00:00
Tim Angus d6f32df425 * Revert to 1172 2007-09-10 20:10:39 +00:00
Coyote 8ca91d6731 Forget about SDL_DIR, remove versioncheck on sunos until I can fix it. 2007-09-10 19:29:41 +00:00
Coyote 2130bce927 Minor changes for SunOS... 2007-09-10 16:41:09 +00:00
Tony J. White = e75c19b45d * Adds preliminary support for win32 dedicated server console.
Functionality is still quite limited (no tab completion, history, etc.),
  but at least with this console you can scroll without locking up
  your server.
2007-09-07 21:27:01 +00:00
Tim Angus 2a02c656e0 * Seems some shells *cough*dash*cough* have a broken built-in "echo" 2007-09-06 22:42:06 +00:00
Tim Angus 54ba74964a * Build dedicated server binary on Windows 2007-09-06 20:31:30 +00:00
Tim Angus e56a151a97 * Compile time and runtime checks for SDL >= 1.2.7
* Modified versioning to play nice with the reverted Makefile change
2007-09-06 18:21:10 +00:00
Ludwig Nussel d5e9f1216e restore previous versioning scheme for svn snapshots. This scheme is
necessary for continuous version numbers of (rpm) packages.
e.g. 1.35_SVNxxxx > 1.35 > 1.34_SVNxxxx > 1.34
2007-09-06 08:26:11 +00:00
Tim Angus 672cfbf16f * Merge unified-sdl to trunk
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00
Tim Angus 0b3a077e15 * Merge win_net.c and unix_net.c
+ Move win32/win_net.c to qcommon/net_ip.c and make it portable
  + Remove unix_net.c, but incorporate its revision history into win_net.c
  + Remove all IPX support -- this remains compatible with existing mods
  + This change also inadvertently gets us SOCKS support on non-Windows
    platforms
2007-08-28 16:42:13 +00:00
Ludwig Nussel a2d413428a make V=1 shows gcc command line 2007-08-27 07:02:54 +00:00
Tim Angus 1144f567e8 * PNG support from Joerg Dietrich <dietrich_joerg@t-online.de>
* Cleanup of tabulation in R_LoadImage
2007-08-23 17:23:15 +00:00
Ludwig Nussel fbe65853e4 new x86_64 vm that doesn't use gas 2007-08-16 11:02:21 +00:00
Tony J. White = e8bbb1f2d1 * (bug 3268) Replace Mac OS X Carbon API calls with native ones (thanks
to i3enedek).
* remove some spammy Mac OS X printf's regarding local network detection
* replaced a #warning for non-OS X PPC systems with a call to
  msync(..., MS_INVALIDATE).  This needs testing.
2007-07-20 14:34:44 +00:00
Coyote 821995dcf1 Add specific CC for SunOS 2007-07-17 08:12:35 +00:00
Tim Angus 3944b02025 * Generate QVM dependicies in a (much) better way 2007-07-16 23:30:53 +00:00
Tim Angus 155802bc0c * Fix parallel build
* Print message indicating CC, CFLAGS and targets before building
* Update .PHONY targets
* Remove build_release and build_debug targets
2007-07-16 21:34:05 +00:00
Tim Angus 2d5495d34b * Make make make less noise 2007-07-15 12:08:11 +00:00
Tim Angus f988185439 * Replace horrendously long list of build rules with set of inference rules
* Remove unused DO_DEBUG_CC and DO_SHLIB_DEBUG_CC commands
* Fix various bits of trailing whitespace
* Remove vm_ppc.c and move vm_ppc_new.c into its place
* Rename winquake.rc to win_resource.rc
2007-07-14 23:57:04 +00:00
Zachary Slater 3d70f2ccff OS X mouse hack, must remove when SDL adds it internally.
Please see bugzilla case:
http://bugzilla.icculus.org/show_bug.cgi?id=3206
and
http://bugzilla.libsdl.org/show_bug.cgi?id=445
2007-07-09 01:06:18 +00:00
Tim Angus 2fe29575c4 * Remove silly MINGW_CFLAGS hack 2007-06-02 19:56:43 +00:00
Tim Angus 1dd785e1d2 * Assumptions are already made that the compiler used is GCC, so it seems silly
to make per-platform exceptions in order to make the IS_GCC test work. Instead
  just rely on $(CC) being set by the system (i.e. make) and it being GCC. If
  this causes problems on any platforms please discuss it on the mailing list
  or IRC
2007-06-02 15:26:30 +00:00
Coyote 869ca5dbb3 Changes for SunOS: grep -q doesn't work on SunOS and GNU make on SunOS defines CC as 'cc' by default (it's not present). 2007-05-30 19:36:40 +00:00
Tim Angus 0f679da4c7 * Fix dependency generation when GCC is invoked using just "cc" 2007-05-29 21:51:37 +00:00
Tim Angus 4a82d86070 * Allow CC to be overridden externally to the Makefile
* Make cross-make-mingw.sh more generic using the above
* Update README to reflect changes
* Fix a couple of warnings in the Windows input layer
2007-05-29 19:22:24 +00:00
Ludwig Nussel 09034c4c64 use ioquake3 instead of quake3 for tar file in dist target 2007-01-23 10:02:32 +00:00
Coyote 17c443a3fd Changes to build defines for Solaris on i86pc. Minor fix to q_platform.h for Solaris. 2006-11-30 08:01:43 +00:00
Tony J. White = 90e611cea3 * Mac OS X ppc version needs to be compiled with an -O flag (-O3 is used)
or the client simply neglects to draw most models.  I didn't believe it 
  myself, but I can reproduce by compiling with both XCode 2.3 on PPC and 
  XCode 2.4 on x86.  Compiler flag voodoo to the extreeeem!
2006-09-24 00:11:08 +00:00
Tony J. White = d45ece8223 * Mac OS X compiler optimization flag -O3 (or any -O flag) generate broken
pk3 handling in the new XCode 2.4
* use more proper SSE compiler optimization flags for Mac OS X on x86
2006-09-23 15:25:34 +00:00
Tony J. White = ea997b340e * (bug 2813) ioquake3 on win32 is no longer linked to SHFolder.dll. instead
it is dynamically loaded at run-time.  this means that win95/win98
  systems can fail the homepath detection gracefully if they don't have the
  dll installed (this dll is only provided by Internet Explorer updates
  on those systems)
2006-09-20 16:13:20 +00:00
Tony J. White = 2af23e813d * add cURL support for HTTP/FTP downloading (bug 2661) 2006-09-11 16:41:55 +00:00
Tony J. White = 8f965b9aad * fixed Mac OS X cross compiling from a ppc host 2006-08-31 14:33:37 +00:00
Tony J. White = 1f8c2c56eb * moved SVN_VERSION #ifdef from client.h to q_shared.h so dedicated server
builds when svn version cannot be detected
2006-08-26 06:12:15 +00:00
Tony J. White = 90b35ec5c8 * Print the SVN version string in Com_Init() 2006-08-25 16:25:51 +00:00
Tony J. White = a4d1556bf7 * Add SVN version string to client console (clean up last commit) 2006-08-22 16:30:04 +00:00
Tony J. White = 0df6305274 * Add SVN version to the version string displayed in the client console
if it can be detected
2006-08-22 16:13:51 +00:00
Tim Angus e41d081710 * qvm files no longer installed by "make copyfiles"
* Loopback clients only get snapshots at the server frame rate now
  (Anonymous <nkylqinhvgcbyl@mailinator.com>)
* JPEG chroma subsampling disabled if the quality value is >= 85
  (Anonymous <nkylqinhvgcbyl@mailinator.com>)
* cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting
  will be ignored if on a LAN. (Anonymous <nkylqinhvgcbyl@mailinator.com>)
2006-08-13 17:09:05 +00:00
Tony J. White = fe35a8eef8 bug 2723
* ARCH should be i386 instead of x86 for Mac OS X too
2006-08-02 05:12:20 +00:00
Tony J. White = 9a6fad9cf1 bug 2723
* adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary
* fixes Mac OS X x86 VM crashes (-mstackrealign)
* adds current working directory to the search path on Mac OS X to make
  working with .app bundles easier
* various tweaks to make ioquake3 build against the 10.2 SDK 
* changed default OpenAL .dylib location to the path of the one included with
  the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN)
* updated to a Universal libSDL-1.2.0.dylib
2006-08-02 04:01:36 +00:00
Tony J. White = 7cb5edc9ed bug 2813
* fixed bug with new win32 home path detection 
* added SHFolder.lib linking to the mingw build for win98/win95 compat
2006-08-01 17:36:47 +00:00
Thilo Schulz d9fe81c08e Add HAVE_VM_COMPILED=true for x86 FreeBSD so vm_x86.c gets built. 2006-06-06 22:49:42 +00:00
Ludwig Nussel eaa8f1c989 refactor platform specific stuff a bit 2006-06-06 18:09:09 +00:00
Ryan C. Gordon 997dffc649 Correction in PowerPC JIT code. Fixes crash in server browser, etc, on Mac OS X
and probably PowerPC Linux, too...fixes Bugzilla #2519.
2006-05-29 03:02:54 +00:00
Zachary Slater af7fa1784d sdl1111111111111111111111111111 2006-05-25 16:22:19 +00:00
Thilo Schulz 75eb99b716 SDL built won't get copied anymore because it gets built by default even if SMP doesn't work. 2006-04-29 19:54:54 +00:00
Thilo Schulz e8a5e4c1ad Applied patch by Ben Noordhuis:
- Fix for "make copyfile" errors when certain parts are not built.
- SMP binary and QVMs now get copied when built
2006-04-29 19:11:37 +00:00
Tim Angus 8aecee5158 * cl_guid for semi-reliable server authentication (from tjw) 2006-04-22 22:21:56 +00:00
Zachary Slater 7aed801011 God damn spaces. 2006-04-19 23:01:48 +00:00
Zachary Slater 2cbd5a1493 Minor makefile change (blame gentoo's vapier if it doesn't work right) 2006-04-19 22:57:04 +00:00
Ludwig Nussel 08f44d8247 solaris tr apparently doesn't work as the GNU one 2006-04-04 14:33:35 +00:00
Ludwig Nussel 150ad09ce1 PLATFORM is lower case 2006-04-04 07:12:24 +00:00
Tim Angus 066f79f744 * web directory no longer present, so don't try to remove it
* Cosmetic patch from zinx
2006-03-24 21:48:44 +00:00
Aaron Gyes e31d46651d webspace is separate now, so generate one splash image. 2006-03-24 07:29:52 +00:00
Tim Angus 8415024a08 * Fix native MinGW QVM compilation 2006-03-21 22:21:05 +00:00
Ludwig Nussel aed3c9c667 package files with owner root 2006-03-05 19:10:49 +00:00
Aaron Gyes 9a996c1338 Makefile 2006-03-01 22:32:02 +00:00
Aaron Gyes 92cac77033 More 2006-03-01 00:42:45 +00:00
Aaron Gyes b777855879 I guess the image is getting converted on the fly for the installer, lets at least add a border so it doesn't clash so bad 2006-02-22 06:13:48 +00:00
Ludwig Nussel f3bcf07ecf use new logo file name 2006-02-21 22:12:55 +00:00
Tim Angus b90f0825bf * Removed some unused dirs from makedirs 2006-01-26 22:32:00 +00:00
Tim Angus 982db8be13 * SDL and OpenAL enabled on FreeBSD (patch from espelho) 2006-01-26 21:20:47 +00:00
Tim Angus 73e4d33d3b * s/i686/i586/ - see bug #2578 2006-01-19 18:16:44 +00:00
Tim Angus e8929d1a61 * <BOLD AND FAT>"make distclean" now does what you'd expect</BOLD AND FAT>
* "make clean toolsclean" now does what "make distclean" did before
2006-01-18 16:51:47 +00:00
Tim Angus 7b845a1741 * Move code/unix/Makefile to ./Makefile 2006-01-15 21:45:57 +00:00
Tim Angus eb40b1a516 [ The revision is intentionally left broken ] 2006-01-15 21:42:52 +00:00
Ludwig Nussel 71d1b70767 convert the logo to xpm during "make dist" 2005-11-30 21:34:52 +00:00
Ludwig Nussel be42cb3201 files to create a loki-setup based installer. run "make installer" 2005-11-27 15:34:16 +00:00
Aaron Gyes 2f33fe1894 * Make copyfiles target work from top-level Makefile 2005-11-03 06:48:44 +00:00
Tim Angus 49b23cd935 * Don't include the website in the dist tarball 2005-11-02 16:08:21 +00:00
Tim Angus 41cbd8c9fd * VM game modules now built from the main Makefile 2005-10-04 23:54:51 +00:00
Zachary Slater 4d2705d6c6 Fixed the version and added a little tiny bit to the readme 2005-08-29 18:58:30 +00:00
Ludwig Nussel 95814311c3 add toplevel Makefile 2005-08-28 10:40:28 +00:00