Commit graph

616 commits

Author SHA1 Message Date
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
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
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
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
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
Tim Angus
5e35d88b9b * (bug 3076) Map cycle breaks on empty or bot only servers (misanthropia)
* (bug 3303) Removal of never compiled code from cgame drawing functions (beast 
  <info@dbwatersports.com>)
* (bug 3297) Add missing limit to Q3 UI server info (beast
  <info@dbwatersports.com>)
* (bug 3029) Fix to shader hash table being overpopulated (identified by
  Stefan "#@" Langer <raute_at@gmx.de>)
2007-08-23 00:22:20 +00:00
Ludwig Nussel
557bb5a1ce fix null termination out of array bounds 2007-08-19 12:11:39 +00:00
Ludwig Nussel
3992f1a59c fix gcc 4.2 warnings about cast from pointer to integer (#3317) 2007-08-19 12:05:17 +00:00
Ludwig Nussel
686d365397 print the shader loading message if the cvar "developer" is set 2007-08-16 15:16:32 +00:00
Ludwig Nussel
9016006312 don't spam console with "loading..." messages when loading shaders 2007-08-16 14:52:29 +00:00
Ludwig Nussel
fbe65853e4 new x86_64 vm that doesn't use gas 2007-08-16 11:02:21 +00:00
Tim Angus
64239037e0 * Early out AABB collision optimisation from Robert Beckebans (Xreal) 2007-07-27 21:52:31 +00:00
Tim Angus
0c99c0c1d2 * Fix a few -pedantic warnings 2007-07-25 21:28:15 +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
Ludwig Nussel
f3e1a64c04 the address of 'headModelName' will always evaluate as 'true' 2007-07-19 08:10:32 +00:00
Ludwig Nussel
a0316f9397 the address of 'classname' will always evaluate as 'true' 2007-07-19 08:05:50 +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
Tim Angus
c9171f9b63 * Fix compiler warning due to missing guard 2007-07-14 22:31:18 +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
Ludwig Nussel
20e71c7dff - fix OP_MODU and OP_MODI
- fix minor typos
2007-07-03 13:01:36 +00:00
Ludwig Nussel
8cb20658aa another attempt to fix the alignment, this time hopfully for real 2007-07-03 12:53:00 +00:00
Ludwig Nussel
beaf352463 fix stack alignment 2007-07-03 08:16:21 +00:00
Ludwig Nussel
1b1e30edd9 fix bg_lib.h compilation with lcc 2007-06-27 10:06:15 +00:00
Ludwig Nussel
da2f4341c2 use native stack for vm stack as well, frees one register 2007-06-25 10:01:40 +00:00
Ludwig Nussel
6a5908d444 check program counter on OP_CALL and OP_LEAVE 2007-06-25 09:45:18 +00:00
Zachary Slater
ecbb43c9b0 gcc 4.2 patch from nyhm of gentoo (thanks!) 2007-06-13 20:41:06 +00:00
Tony J. White =
5c4f7033ae (bug 3072) updated Mac OS X SDL .dylib file. still 1.2.11, but with a small
fix backported from SDL 1.3 related to fullscreen mode and minimize 
           buttons disapearing on existing windows on Mac OS X.
2007-06-07 03:10:29 +00:00
Tim Angus
2fe29575c4 * Remove silly MINGW_CFLAGS hack 2007-06-02 19:56:43 +00:00
Tim Angus
9030f1bdb1 * Whitespace :( 2007-05-29 19:24:11 +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
Tony J. White =
5aac275de2 * updated the included libSDL header files and Mac OS X lib to SDL 1.2.11 2007-05-22 03:46:11 +00:00
Tony J. White =
c1ed094e53 * (bug 2972) add r_swapInterval support to SDL client (if libSDL >= 1.2.10) 2007-05-22 03:42:32 +00:00