Commit Graph

756 Commits

Author SHA1 Message Date
Tim Angus 4eb569b706 * Rename g_logfile back to g_log, but keep the cvar variable as is (see r128) 2007-10-22 19:06:38 +00:00
Tim Angus 2bebaff8b4 * Add required header on *BSD 2007-10-13 13:26:41 +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
Tim Angus aa5e852056 * Unconditionally place a '\' at the start of the command buffer when
autocompleting -- you're still all WRONG :p
* Fix bugette where the completee didn't get its case copied from
  the completed token
* Add functionality to autocomplete key names
* Don't build client command completion on the dedicated server
2007-10-12 22:34:45 +00:00
Ludwig Nussel 66b31c94b9 actually build 64bit binaries on ppc64 2007-10-12 10:25:13 +00:00
Tim Angus e955f142b8 * Grr. Argh. Whitespace. etc. 2007-10-09 20:50:18 +00:00
Tim Angus a9eaefecab * Replace Sys_AnsiColorify with Sys_AnsiColorPrint, a more simple means of
achieving the same feature
* Handle non-numeric color codes in Sys_AnsiColorPrint
2007-10-09 20:49:19 +00:00
Ludwig Nussel 95f67c2c3e fix incorrect use of strncpy
this function should really be removed or rewritten from scratch
2007-10-08 10:26:28 +00:00
Tim Angus da8f451263 * Bug fix to collision optimisation (arQon) 2007-10-06 21:59:17 +00:00
Tim Angus 5692e30fa9 * Fix bug that prevented key up events getting to cgame/ui when not in game
* Use Key_[GS]etCatcher everywhere to set keycatcher
* Clear all key states when the catcher changes
2007-10-02 14:14:45 +00:00
Tim Angus 26641226a4 * Remove some C99isms (f0rqu3)
* Provide Q_snprintf wrapper for snprintf (f0rqu3)
2007-10-01 07:56:32 +00:00
Tim Angus eb217f7364 * Add missing ) 2007-09-24 10:01:10 +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 60260f1c60 * (bug 3318) Restrict color escape characters to alphanumerics 2007-09-21 12:33:50 +00:00
Tim Angus da29118ae0 * Don't apply colour escape chars on input fields 2007-09-21 10:35:24 +00:00
Tim Angus d86f72f75e * Simple MSVC Express project that passes through to the make build system 2007-09-15 15:39:50 +00:00
Tony J. White = e46fe24426 * rewrite of the win32 dedicated console:
1) NET_Sleep() no longer watches for input, Sys_Sleep() added for waiting
     on input.
  2) Added "CtrlHandler" for trapping Ctrl-C and other quit methods not
     handled by signals on windows
  3) Added history support
  4) Added tab completion
  5) Removed automatic cursor/scroll adjustment (too problematic)
  6) Enable mousewheel scrolling
  7) Stop using the InputBuffer for editing

  This seems to work pretty well now, but I jumped the gun on a previous
  commit message by saying you can scroll now without locking up your server.
  That was only true up until the point that a server tried to print to
  the console, at that point it will hang until you release the scroll bar :(
  It may be possible to get around this by using a seperate thread for
  console output, but that's a whole new can of worms.
2007-09-15 02:22:58 +00:00
Tim Angus 2052b94adc * Remove redundant win32 code in LCC which drew -I flags from the "include"
environment variable
2007-09-15 00:02:50 +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 1d54a9ebe5 * Revert 1176 -- MinGW's headers are too old *sigh*
* Revert to using literal function pointers for GL extensions rather than PFN*
  typedefs as some platforms' headers are broken enough that they prevent
  SDL_opengl.h from fixing things up if the PFN* typedefs are missing
2007-09-12 18:02:38 +00:00
Tim Angus 4f4f0c0dab * Remove use of GL_ARB_multitexture since this has been part of the
core API for many years now
2007-09-10 22:28:58 +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 = 687b744166 * win32 dedicated console cleanup: drop silly predifined height and width,
scroll the command buffer to the right when typing long lines, restore
  the original color theme on CON_Shutdown().
2007-09-09 07:20:12 +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 0951b69be5 * Fix for SMP hack on OS X 2007-09-06 02:16:07 +00:00
Tim Angus c903576c59 * I R KNWOING HOW COMPUTARS WURK!!!!!!! lOL 2007-09-05 21:46:15 +00:00
Tim Angus fb76f57887 * Obsolete files 2007-09-05 19:46:23 +00:00
Tim Angus 904cce6311 * Replace the ugliness in qgl.h with SDL_opengl.h 2007-09-05 18:56:39 +00:00
Tim Angus 672cfbf16f * Merge unified-sdl to trunk
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00
Thilo Schulz 39abffeb3b clean up pak file checks + fixing stray error message when an unofficial pak9.pk3 exists 2007-08-30 23:27:16 +00:00
Thilo Schulz 2b33cf1dee fix potential buffer overflow 2007-08-30 23:26:29 +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 034e6e8f20 * Rewrite of R_LoadImage to make it more generic and data driven 2007-08-26 21:27:46 +00:00
Tim Angus 6993861080 * Demote input related console information to developer only so that it doesn't
spam the console every time input settings are changed
2007-08-24 13:54:23 +00:00
Tim Angus 5c66129790 * (bug 3054) sv_killserver not being set with TA UI 2007-08-24 11:10:41 +00:00
Tim Angus 3d107fe624 * ...And the other deliberate mistake 2007-08-24 00:23:37 +00:00
Tim Angus 4997c4764a * (bug 3112) Removal of QVM name obfuscation (TsT <tst2006@gmail.com>)
* Add developer warning when texture loading falls back on jpg from tga
* Remove uppercase extension hack from texture loading since the Q3 pk3
  file system is case insensitive anyway and you would likely want to
  know about the failures when loading images from the native FS
2007-08-24 00:04:08 +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
Tim Angus 8b5a40e2ed * Nuts. 2007-08-23 15:23:43 +00:00
Tim Angus 2ea6b8b512 * (bug 3324) Incorrect use of sizeof (beast <info@dbwatersports.com>)
* (bug 2946) Console scrolling broken (identified by misantropia)
  + Field_VariableSizeDraw contained a hack to ensure the cursor was always
    visible. Unfortunately this interfered with scrolling long lines. Move the
    hack to a different place
  + Removed commented code in the same function
  + Reworked Field_KeyDownEvent to use a switch( ... ) and set edit->scroll in
    every case, thereby avoiding scrolling issues when "Home" or "End" are
    pressed
2007-08-23 15:22:35 +00:00