Commit graph

88 commits

Author SHA1 Message Date
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