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
Tony J. White =
16a200d262
* (bug 3077) allow cURL to follow HTTP redirects (up to 5)
2007-05-22 02:24:10 +00:00
Thilo Schulz
1a381e7022
Adding a bit of commentary to the code.
2007-05-17 19:40:01 +00:00
Thilo Schulz
9597d684f9
Fix a potential crash bug on 64 bit systems in the botlib library. sizeof(bot_consolemessage_t) is different on 64 bit and 32 bit systems.
2007-05-17 19:30:02 +00:00
Tony J. White =
7d13d6cd3b
* (bug 3066) rcon rate-limiting was not compatible with the eventual
...
integer overflow in Com_Milliseconds() (R1CH)
2007-05-10 01:39:58 +00:00
Tony J. White =
b5bf1280c1
* (bug 3018) Should not reset CVAR_CHEAT cvars when loading cgame/ui if they
...
are being loaded to play a demo. This restores the normal
"timedemo" cvar behaviour.
* (bug 3054) The "demo" command works properly now when connected to
the local server
2007-04-05 15:26:15 +00:00
Tim Angus
de364863be
* Silly tab filter breaking things
2007-04-01 13:42:03 +00:00
Tim Angus
fb58d8f123
* Move storage of console history from a cvar to a file in order to alleviate
...
security concerns
2007-04-01 13:38:17 +00:00
Tony J. White =
f9bb47d9af
* (bug 2741) replace K_LAST_KEY with MAX_KEYS. K_LAST_KEY is now defined
...
at 256 for mod compatability reasons. ioq3-only mods may
chose to use MAX_KEYS for checking binds in order to get full
key support, but at the cost of breaking compatability with
older clients.
* (bug 2741) remove some lingering 256-key hardcoding
* properly check bounds of keynum in Key_IsDown(), Key_SetBinding(),
and Key_GetBinding()
2007-03-22 22:03:00 +00:00
Tony J. White =
dce62fbcb4
* (bug 3065) fixed non-SDL X11 client crash on certain keys (e.g. XK_egrave )
2007-03-19 21:50:42 +00:00
Thilo Schulz
1de9a065bf
Remove cvar s_alMaxSpeakerDistance for the same task can better be achieved with s_alMaxDistance.
2007-03-17 15:54:37 +00:00
Tony J. White =
2218a4ea67
* (bug 3018) need to call Cvar_SetCheatState() after CG_INIT and UI_INIT to
...
override user-defined cvar values for CVAR_CHEAT cvars that
could be registered in cgame and ui.
2007-03-02 17:32:22 +00:00
Tony J. White =
ddc848dced
* use the Win2k gamma clamp thing on Vista too (raynorpat)
2007-03-01 22:02:25 +00:00
Tony J. White =
c6249fcc25
* (bug 3019) use the operating system's random number generator if possible
...
when generating the qkey file
2007-02-16 23:50:37 +00:00
Tony J. White =
8801b06a1e
* fix q3lcc warning message due to an extra ; that slipped in at rev 1023
2007-02-15 15:50:14 +00:00
Tony J. White =
d580c54e2d
* (bug 2741) Adds support in the SDL client for many keys that were not
...
recognized. For example, F13, F14, F15, WINDOWS, SCROLLLOCK, CAPSLOCK,
WORLD_0 - WORLD_95, etc. (Christophe Cavalaria)
* (bug 2741) Adds the hard-coded toggleConsole bind Shift-Escape
* (bug 2741) Adds detailed explaination of SDL keyboard handling differences
in the README file.
2007-02-14 23:29:19 +00:00
Tony J. White =
da75e9fda8
* (bug 3027) don't trust the "ip" value in the userinfo string since a client
...
could set this. disconnect (or disallow connection for) a client that
has a userinfo string that's too full for "ip" to be added properly.
(Richard Stanway)
2007-02-14 23:14:25 +00:00
Tony J. White =
2cddf1208d
* (bug 3019) adds the cvar cl_guidServerUniq (defaults to 1). When set to
...
non-zero, cl_guid will be unique for each server that the client
connects to
2007-02-12 18:52:15 +00:00
Tony J. White =
046e86a925
* (bug 3014) my revision 935 broke the sending of the kick/clientkick message
...
since SV_DropClient() tried to set the client's state to CS_ZOMBIE prior
to sending the message.
2007-02-01 22:24:45 +00:00
Thilo Schulz
5dc3b35b49
- Fix loads of format string bugs
...
- Fix locally looping sounds, thanks to Timbo
2007-01-24 21:23:21 +00:00
Ludwig Nussel
4b9df8d9e9
fix wrong use of strncat
2007-01-23 10:39:49 +00:00
Tony J. White =
cf2875e771
* (bug 2977) use MSVC compatiable pre-processors and also include <io.h> for
...
int types
2007-01-19 19:31:19 +00:00
Zachary Slater
c586def044
One more icculus.org/quake3 purge, should be the last...
...
Also one minor change to the website's get it page.
2007-01-14 18:33:03 +00:00
Zachary Slater
40655712ce
Updated urls.
2007-01-14 18:12:09 +00:00
Zachary Slater
37bda478f9
Fix window titles and crap, thanks woekele for pointing this out.
2007-01-14 18:05:15 +00:00
Thilo Schulz
c1875302c2
- Fix two non-C-standard variable declarations.
...
- Fix function name of vsnprintf for windows systems.
2007-01-07 16:03:19 +00:00
Ludwig Nussel
8ca8d84591
fix buffer overflow and format string bug in auth server response
...
processing
2006-12-31 15:36:42 +00:00
Ludwig Nussel
f6e0c6fd19
- also check for point release pak files
...
- make missing pak0 non fatal if fs_game != baseq3. This way total
conversions like westernq3 work without Q3 data.
2006-12-30 16:16:25 +00:00
Ludwig Nussel
8e82c3d605
- tag more functions with gnu format attribute
...
- fix format string bugs. still some left
2006-12-30 12:32:54 +00:00
Ludwig Nussel
c3a713832c
don't use intermediate array for sorting pakfiles. avoids the
...
MAX_PAKFILES limitation
2006-12-30 12:19:53 +00:00
Ludwig Nussel
1bc190caf1
include offending string in error message for varables that contain
...
blacklisted characters
2006-12-30 12:13:25 +00:00
Ludwig Nussel
91e54c01ed
using the function pointer time() doesn't make any sense. Passing down
...
the variable instead looks like the obvious fix.
2006-12-30 11:17:17 +00:00
Ludwig Nussel
739409973a
kick bots by client number instead of name to avoid problems with
...
weird names (reported by 'DD')
2006-12-29 11:41:35 +00:00
Ludwig Nussel
a9db8cc1f8
fix team orders menu
2006-12-28 17:46:10 +00:00
Tony J. White =
bb3b3be38a
* replaced SPI_SCREENSAVERRUNNING with the newer SPI_SETSCREENSAVERRUNNING
...
since newer mingw dropped the older define. Both are defined to 97
2006-12-27 23:20:33 +00:00
Thilo Schulz
15fe54a6e7
Fix annoying bug where transparent surfaces wouldn't draw over skyboxes. Thanks to Stefan Langer a.k.a. #@ for providing the fix.
2006-12-15 13:46:13 +00:00
Tony J. White =
f03d8857e8
* (bug 2863) allow DEL key to be binded again. I broke it for bug 2650
...
thanks to Ben Noordhuis for the fix.
2006-12-07 23:55:01 +00:00
Tim Angus
bd9e7c4b8f
* Add r_customPixelAspect to support displays with non 1:1 pixel aspects (do
...
such things exist?)
* Remove r_customaspect as its value is implied through the other three
r_custom cvars
2006-12-04 13:37:50 +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
Ryan C. Gordon
879d07b461
Bugfix by committee. :/
2006-11-29 06:52:18 +00:00
Ryan C. Gordon
5af41ec3eb
Fixed debug error message on loki_setup's stdout.
2006-11-29 06:44:58 +00:00
Tim Angus
6872486e1b
* Change trunk installer release name to 'svn'
...
* Fix tabulation in README
2006-11-28 16:20:23 +00:00
Tim Angus
4abd270a67
* Merge 954:955 from 1.34 branch
2006-11-28 14:03:27 +00:00
Thilo Schulz
4502f863d4
There's still a little bug in my recent change...
2006-11-26 11:12:35 +00:00
Thilo Schulz
26cf8f2987
- Add input sanitising to various sound playing functions called from MODs.
...
This fixes https://bugzilla.icculus.org/show_bug.cgi?id=2836
- Make searching through the knownSfx array a bit more efficient.
2006-11-25 13:35:23 +00:00
Thilo Schulz
3b046464e3
Remove unnecessary hack. Thanks to ensiform.
2006-11-25 11:03:30 +00:00
Thilo Schulz
5a195bdd7b
Fix vsprintf bug, thanks to ensiform.
2006-11-25 10:54:41 +00:00
Thilo Schulz
d23e7a1521
Fix bug in parameter checking. Thanks to Neil Toronto for reporting.
2006-11-23 11:10:30 +00:00
Coyote
9563aec49b
Changes to the Solaris build scripts..
2006-11-22 13:55:22 +00:00
Coyote
1cd69be223
Minor changes to Solaris build scripts
2006-11-21 13:09:25 +00:00
Thilo Schulz
aea7262d86
Only stop demo on map change if it was started by autorecord.
2006-11-03 08:42:21 +00:00
Thilo Schulz
b57a970034
- Explicitly set distance attenuation model.
...
- Mute sounds that exceed a certain distance from the listener.
2006-11-03 08:22:38 +00:00
Thilo Schulz
90208be35a
- Remove "server crashed" message on server shutdown caused by local client disconnect.
...
- Stop demo recording on a new gamestate packet so the demo won't end with a new level load.
2006-10-27 12:49:55 +00:00
Thilo Schulz
78e6b4a904
Fix weight interpolation thanks to cyrri
2006-10-25 21:20:55 +00:00
Tony J. White =
8b1b3464d7
* (bug 2758) Toggling the console while holding keys can put the cgame/ui
...
keycatchers in a bad place since they see a key press for a key that is
already in a down state. Simply clearing the down state of all keys as
the console is toggled seems like a simple fix.
2006-10-23 15:18:05 +00:00
Ludwig Nussel
fe3e8ba879
fix readlink() for /bin/sh != bash
2006-10-18 19:11:19 +00:00
Tony J. White =
189e8b33f3
* (bug 2784) help to prevent reliable command overflow in cases when a slow
...
client is loading the map on a busy server. Specifically, hold back all
configstring update commands while the client is CS_PRIMED. Once the
client goes from CS_PRIMED to CS_ACTIVE, send the cleint commands for
updating each of the configstring indexes which were updated while the
client was CS_PRIMED.
2006-10-13 19:44:52 +00:00
Tony J. White =
41add6c01f
* (bug 2893) OpenAL was not tracking one-shot sound effects to the entity's
...
position
2006-10-13 18:58:57 +00:00
Thilo Schulz
a88611d34e
Revert partially incorrect fix and add a few more float casts.
2006-10-12 13:13:08 +00:00