Tim Angus
56972c5c69
* Update IN_IsConsoleKey so that specifying ascii values/characters for the
...
console key always results in the character being used as opposed to the key
2008-08-30 19:29:34 +00:00
Tim Angus
19eb906706
* Better condition to test whether to use the character or the key
2008-08-28 23:08:54 +00:00
Tim Angus
c0328ab4f6
* Revert 'Handle dead keys more gracefully by taking a "best guess" rather than
...
ignoring completely' from r1459; it can't ever work acceptably, especially on
azerty/qwertz layouts
* Make the ordering of the output from in_keyboardDebug more sensible
* Add cl_consoleKeys cvar, a space delimited list of key names or characters
that toggle the console
2008-08-28 22:05:34 +00:00
Tim Angus
f1faa1d12a
* Collapse common command completion code into one function and fix the
...
incorrect buffer size parameter to strncpy (from the
how-the-fuck-did-this-ever-work dept.)
2008-08-27 20:00:34 +00:00
Tim Angus
36a43f2aa1
* Handle dead keys more gracefully by taking a "best guess" rather than ignoring
...
completely
* When activating or deactivating the mouse flush any pending motion events;
this should stop the view moving unpredictably in these circumstances
* Add keyname completion to "unbind"
2008-08-25 21:15:25 +00:00
Tim Angus
a6382d2d9b
* Fix unused variable warning
...
* Add USE_LOCAL_HEADERS guards to sys_loadlib.h
2008-08-23 22:45:30 +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
acbf982689
* Don't set SE_KEY event to ctrl-h; I don't think this makes sense
...
* Don't warp the mouse on deactivation unless the cursor is in the window
already; this fixes in_nograb
* Stop grabbing the mouse in windowed mode when there is no sense in
doing so
* Make sure that IN_Restart is only called on r_fullscreen modification
if a mode change actually takes place
2008-08-22 22:16:37 +00:00
Tim Angus
e4e0568641
* Really fix backspace on OS X (I hope)
2008-08-22 11:41:54 +00:00
Tim Angus
c1befbda75
* Prevent ~ from generating a character
...
* Fix backspace on OS X (I hope)
2008-08-22 11:16:35 +00:00
Tim Angus
953200cafc
* Update to jpeg-6b (only a decade old)
2008-08-21 23:29:09 +00:00
Tim Angus
5b4dc4c743
* Tidy up the keyboard code a bit, add in_keyboardDebug
2008-08-19 21:32:23 +00:00
Tim Angus
1af6eb9592
* More robust x86 vm entrypoint/callback assembly (Tron)
2008-08-17 23:22:06 +00:00
Tim Angus
d781a25157
* Fix misplaced #endif
2008-08-14 07:59:34 +00:00
Tim Angus
49fa0edd61
* Pass the "best" SDL_PixelFormat (as returned by the initial call to
...
SDL_GetVideoInfo) to SDL_ListModes; this fixes said function returning an
empty list when using the "windib" driver
2008-08-13 19:39:38 +00:00
Tim Angus
f2baf359ae
* s/GL_CLAMP/GL_CLAMP_TO_EDGE/g (If this change appears to cause you problems
...
and you're using an nVidia graphics card, make sure your 'conformant texture
clamp' setting is set to on for ioq3)
2008-08-12 19:34:43 +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
c29417b42a
* Always show the mouse cursor when the mouse is disabled
...
* Rename IN_StartupJoystick to IN_InitJoystick, add IN_ShutdownJoystick
* Add IN_Restart, which avoids calling IN_DeactivateMouse at the wrong time
* Call IN_Restart when changing r_fullscreen
* Add CVAR_ROM r_sdlDriver for easy checking of the SDL driver in use
* Random README tweaks
2008-08-09 13:20:00 +00:00
Tim Angus
d4d5527a89
* Add Sys_GLimpInit for platform specific GLimp initialisation
...
* Move Unix specific signal handlers to Sys_PlatformInit
* (Windows only) Don't set the SDL video driver if SDL_VIDEODRIVER is already
set externally
* (Windows only) Use the "windib" SDL video driver if in_mouse is set to -1
2008-08-08 21:35:33 +00:00
Tim Angus
2cf5052786
* (bug 3674) Change default for s_alGain from 0.4 to 1.0
2008-08-08 18:27:06 +00:00
Tim Angus
9a5d971705
* Fix memory leak in win32 VM code (arQon/dmitry)
2008-08-06 16:09:29 +00:00
Tim Angus
a87661a1be
* Whitespace...
2008-08-03 21:38:54 +00:00
Tim Angus
d56c53abb4
* Report SDL driver used on GLimp initialisation
2008-08-03 21:37:51 +00:00
Tim Angus
00e790ce00
* Change win32 client Sys_Sleep so it ONLY sleeps since before it was waking on
...
more or less any input event; fine for the server, not so much use for the
client
* In the main loop, don't bother sleeping if it's going to be less than 10ms as
the methods we're using to sleep at the moment aren't very precise
* Add Sys_PlatformInit for platform specific initialisation
* In win32 Sys_PlatformInit force selection of the DirectX SDL backend in order
to get better fullscreen mouse input (in conjunction with a patched SDL DLL
http://bugzilla.libsdl.org/show_bug.cgi?id=265 )
2008-08-03 19:42:53 +00:00
Tim Angus
d13269c5bb
* Restrict OpenAL capture support test hack to OS X, where it is required; this
...
fixes a crash on exit with Windows when using OpenAL
2008-08-03 19:31:42 +00:00
Tim Angus
71f8a85e42
* Sign check com_maxfps* variables
2008-07-21 22:16:57 +00:00
Tim Angus
0124371c01
* Use Sys_Sleep to limit FPS, which will save CPU
...
* Add com_maxfpsUnfocused and com_maxfpsMinimized; self explanatory
* Fix reopening of bug 3703, I hope
2008-07-21 22:02:54 +00:00
Tim Angus
3855f65d17
* Fix confusion of cgame and renderer entity array bounds (Tr3B)
2008-07-16 18:07:36 +00:00
Tim Angus
42e444ea0b
* Revert r1341 as there doesn't seem to be a lot of point to the change and it
...
potentially will cause input events to be queued in a different order to that
in which they were received
2008-07-16 17:45:10 +00:00
Ludwig Nussel
2ed334b2be
fix build without VOIP (David Severwright, bug#3720)
2008-07-16 07:15:09 +00:00
Tim Angus
d84d418086
* Remove cl_platformSensitivity as it predates the move to SDL everywhere
2008-07-12 13:31:31 +00:00
Tim Angus
3c9dc98d04
* (bug 3712) MSVC build fix s/strtof/strtod/ (Pat Raynor <raynorpat@gmail.com>)
2008-07-09 21:22:29 +00:00
Tim Angus
de8131938c
* Fix server info string voip setting
2008-07-08 16:23:06 +00:00
Tim Angus
8ea86a4670
* Allow floating point values for r_znear
2008-07-08 09:15:48 +00:00
Tim Angus
37d664d4b2
* Rename voip cvar to cl_voip
...
* s/#if USE_VOIP/#ifdef USE_VOIP/
* Add generalised runtime cvar range checking, currently on [sv|cl]_voip,
dedicated and a bunch of r_ variables
2008-07-07 22:31:39 +00:00
Ryan C. Gordon
809c361744
Reverted svn revision #1410 to sv_init.c
...
sv_voip is a protocol version number, not a boolean, so this check is
reasonable and correct.
2008-07-06 20:07:43 +00:00
Ryan C. Gordon
71b196c0dc
Fixed compiler warning on Mac OS X.
2008-07-06 18:32:41 +00:00
Zachary Slater
89e0e9d892
Reverting.
2008-07-06 17:16:14 +00:00
Tim Angus
391bb74c44
* Don't start UI when starting client binary with +set dedicated 1
2008-07-06 15:47:15 +00:00
Tim Angus
9d469692f3
* Fix killserver command for client binary based dedicated server
2008-07-06 10:55:19 +00:00
Zachary Slater
963aa3e40f
Theoretical higher chance of working.
2008-07-06 04:23:13 +00:00
Zachary Slater
3c13c61fa4
It's either the Wu-Tang Symbol or the tango quake3 logo, someone please
...
test this on Linux.
2008-07-06 03:04:55 +00:00
Tim Angus
6b572920a9
* Remove silly range check on sv_voip during initialisation
...
* Changed dedicated binary dedicated cvar to CVAR_INIT and remove runtime check
2008-07-06 01:35:01 +00:00
Tim Angus
b601941240
* Fixed client binary dedicated server
...
* Revert 1286 as the checks are no longer redundant following above fix
2008-07-06 01:30:42 +00:00
Tim Angus
7fe9a02d91
* In the dedicated binary, prevent setting dedicated cvar to 0
2008-07-06 01:00:00 +00:00
Tim Angus
49413057ee
* Change dedicated cvar to CVAR_LATCH on the dedicated server
2008-07-06 00:31:52 +00:00
Tim Angus
c7225dc0ae
* Fix to speex compile warning
2008-07-06 00:28:42 +00:00
Tim Angus
2c0861c1ce
* (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend
...
<TylerSchwend@gmail.com>)
* (bug 3623) COMMAND is mapped to the ALT key (Matthias <Kapffer@macbay.de>)
* (bug 3665) Typo error in FS_FOpenFileByMode function (TsT <tst2006@gmail.com>)
* (bug 3669) Some files left out of Solaris Packages (Vincent Cojot
<vincent@cojot.name>)
* (bug 3680) server quit messages (Ben Millwood)
* (bug 3682) Maps with >1024 models cause a segfault (misantropia
<bnoordhuis@gmail.com>)
* (bug 3683) R_FindShader(): negative lightmap indexes cause stray pointers
(misantropia <bnoordhuis@gmail.com>)
* (bug 3688) q3asm potential segfault fix and other changes (TsT
<tst2006@gmail.com>)
* (bug 3695) Not allowing to write file with lib extention (.dll/.so/...) (TsT
<tst2006@gmail.com>)
* (bug 3696) make-macosx-ub.sh outdated by revision 1340; test for Tiger not
working (Matthias <Kapffer@macbay.de>)
* (bug 3698) #error reported as warning in q3cpp (and no #warning support)
(Ben Millwood)
* (bug 3703) restoring the valued pre-SDL window behaviour (/dev/humancontroller
<devhc97@gmail.com>)
2008-07-05 23:50:38 +00:00
Ryan C. Gordon
1e21a3e258
VOIP: Added cvar cl_voipCaptureMult to boost gain on recorded bits.
2008-07-05 04:38:16 +00:00
Ryan C. Gordon
fc0ba1a53f
Whitespace cleanup.
2008-06-29 04:05:28 +00:00
Ryan C. Gordon
21d1cd380b
Don't show VoIP meter in all the common scenarios.
2008-06-29 04:04:33 +00:00
Zachary Slater
3856dea112
minor spelling fix.
2008-06-25 06:20:23 +00:00
Ryan C. Gordon
ee54985383
VoIP: allow targetting last attacker, or the one in your crosshairs.
2008-06-25 05:51:05 +00:00
Ryan C. Gordon
f8d6828f15
VoIP: Added cheapie VoIP meter.
2008-06-25 05:50:44 +00:00
Ryan C. Gordon
3958f1099e
Added ioq3-specific credits screen.
2008-06-25 05:50:15 +00:00
Ludwig Nussel
21a208cb82
pass the correct size to Q_vsnprintf (Ian Lindsay)
2008-06-20 07:08:42 +00:00
Zachary Slater
4713fa4f79
Thanks to Lakitu7 for pointing this out.
2008-06-17 04:44:36 +00:00
Ryan C. Gordon
c923872ca2
Added GL_EXT_texture_compression_s3tc support.
...
GL_S3_s3tc, which Quake 3 previously supported, is legacy. This new codepath
is the common, vendor-neutral extension to get the same results.
2008-06-13 02:28:51 +00:00
Ludwig Nussel
a98fed9ee2
bind ipv6 sockets first
...
by binding the ipv6 sockets first it's possible to bind 0.0.0.0 and
:: to the same port.
2008-06-12 18:32:33 +00:00
Ludwig Nussel
b060eae562
show numeric address the server binds to
2008-06-12 18:32:29 +00:00
Ryan C. Gordon
3ad65755f3
Whoops, maybe this is the right header location...
2008-06-09 00:07:14 +00:00
Ryan C. Gordon
a665d822d8
Added #include to fix compiler warning on Mac OS X.
2008-06-09 00:04:45 +00:00
Ryan C. Gordon
a7b854d65f
VoIP: Save own voice when recording a demo.
...
We fake a server packet and write it directly to the demo file at the point
where we'd transmit to the server. This is a little nasty, but it seems to
be the most reasonable solution.
2008-06-08 08:25:25 +00:00
Ryan C. Gordon
28c48a8cf9
VoIP: Don't lose gain for good if using VAD on disconnect.
...
This temporarily disables VAD so the system can clean up recording state.
2008-06-08 08:24:38 +00:00
Ryan C. Gordon
c45fe80ea6
Removed an obsolete FIXME.
2008-06-08 08:23:55 +00:00
Ryan C. Gordon
be9ae48039
VoIP: tweaked VAD code.
...
Also added cl_voipVADThreshold cvar...if the power of a set of Speex frames
doesn't exceed this value, it isn't transmitted.
2008-06-08 07:29:25 +00:00
Ryan C. Gordon
fd239c58a8
VoIP: Enable Automatic Gain Control.
2008-06-08 07:09:45 +00:00
Ryan C. Gordon
d4ee08b985
VoIP: attempt at changing voipPower calc and using it for VAD.
...
The Speex VAD sort of sucks, honestly, or I'm not using it right. Now
trying this algorithm, after denoising:
http://lists.xiph.org/pipermail/speex-dev/2006-March/004269.html
And I'll play around to find the threshold for considering a set of frames
to be "voice" from there.
Also worth noting: we consider the power of the set of frames as a whole, so
you need to sustain power for 0.25 seconds at a time, or it's not "voice."
2008-06-08 07:09:10 +00:00
Ryan C. Gordon
fdfaff64f8
VoIP: changed debug output filenames.
2008-06-07 14:41:21 +00:00
Ryan C. Gordon
fec2cc2f05
VoIP: initial shot at voice activation.
2008-06-07 14:40:59 +00:00
Ryan C. Gordon
8028fc042c
VoIP: Only update from cl_voipSendTarget if sending data.
2008-06-07 14:40:30 +00:00
Ryan C. Gordon
c50799fcf7
VoIP: Initial work on adding Speex preprocessor.
2008-06-07 14:39:49 +00:00
Ryan C. Gordon
26c706df15
VoIP: Don't hardcode Speex sample rate.
2008-06-07 14:38:46 +00:00
Ryan C. Gordon
bab9a00838
VoIP: Fixed per-user gain output.
2008-06-05 15:14:07 +00:00
Julian Priestley
f65a956c81
Add PRODUCT_VERSION back into q_shared.h for MSVC builds.
2008-06-04 23:29:37 +00:00
Ryan C. Gordon
020704d2ff
VoIP: functionality to adjust incoming audio gain, per-user.
2008-06-04 21:50:00 +00:00
Ryan C. Gordon
cc18323a99
VoIP: client can now specify targets for voice transmission.
2008-06-04 21:49:15 +00:00
Ryan C. Gordon
45c18e29b8
VoIP: voip cvar should be 1 by default.
2008-06-03 06:06:17 +00:00
Ryan C. Gordon
32d7799c7c
Patched to compile on non Mac platforms.
2008-06-03 04:40:40 +00:00
Ryan C. Gordon
8ab3f7af8d
Changed the protocol for VoIP packets to support legacy clients.
...
Previously, a legacy client wouldn't get a VoIP packet, but if they did,
they'd panic and disconnect. Now they ignore them and continue on. This also
gives us the framework to add other features legacy clients can ignore.
Oh, this also has the benefit of allowing us to store incoming VoIP for
playback in recorded demos. They'll play the chatter on VoIP clients, and
be ignored on legacy ones. Huge win.
2008-06-03 02:32:52 +00:00
Ryan C. Gordon
e0ebde0b27
Don't allow client to capture audio if playing back a demo.
2008-06-03 02:28:03 +00:00
Ryan C. Gordon
0403ca2260
More VoIP work: treat voip/sv_voip cvars as protocol version numbers.
2008-06-02 19:52:13 +00:00
Ryan C. Gordon
1e4fa5a54c
Treat sv_voip cvar as a version number (0 == off, 1 == version 1 protocol).
...
Don't publish it to server's info string if set to zero.
2008-06-02 19:41:09 +00:00
Ryan C. Gordon
953e9ec287
sv_voip cvar should be latched.
2008-06-02 19:37:05 +00:00
Ludwig Nussel
5bdce1d547
fix openal dlopen
2008-06-02 15:54:36 +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
b5eaa94d03
Changed a few VoIP cvars to be latched.
...
It either doesn't make sense to change these mid-game, or doing so won't work.
2008-06-01 18:10:33 +00:00
Ryan C. Gordon
9b1984647a
Forbid setting voip cvar if network data rate is too low.
...
This prevents "Connection Interrupted" packets as VoIP data is incoming.
2008-06-01 18:08:03 +00:00
Ryan C. Gordon
a948f7cf69
Client shouldn't try to capture audio data if voip cvar is disabled.
2008-06-01 17:43:58 +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
Ludwig Nussel
a15002ad0d
reorder includes to fix build on OpenBSD ( #3663 , patch by Jonathan Gray)
2008-05-25 10:00:15 +00:00
Thilo Schulz
843994c074
whoops.
2008-05-17 10:50:08 +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
b2207b250f
* (bug 3641) Server is left running following a local disconnect
2008-05-12 10:49:02 +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
c45d5403a5
combine all mouse events received in one frame
2008-05-06 20:24:34 +00:00
Ludwig Nussel
d7bdf4b344
define the product version in the Makefile
2008-05-06 20:24:32 +00:00
Thilo Schulz
3f56dffaa7
Show true framerate with stereo separation enabled
2008-05-03 12:58:14 +00:00
Thilo Schulz
fa0ff6aaac
shut up warning
2008-05-01 16:10:01 +00:00
Thilo Schulz
10ed996784
- replace a few constant values with GL macros in tr_cmds.c
...
- tidy up top of tr_types.h a bit, change flags to hex representation
- make ROM cvar enforcing really work
- remove cg_stereoSeparation from cgame as it is obsolete.
- Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled
2008-05-01 14:56:57 +00:00
Thilo Schulz
65938da5ae
- variables with CVAR_ROM set get now overwritten by Cvar_Get() if the cvar exists already but was created by the user.
...
- Fix null pointer crash in Cvar_Print_f(), thanks to humancontroller for reporting.
2008-05-01 11:29:49 +00:00
Thilo Schulz
82e32bdf41
Make forced unloading work in more cases than just server disconnects
2008-04-29 22:49:37 +00:00
Thilo Schulz
1156a63d52
- change default value for stereo seperation
...
- make clearing buffer use black for clearing when changing anaglyphmode
- Make sure that dlights are greyscale, too.
2008-04-27 21:09:03 +00:00
Thilo Schulz
ae08d1a6d8
This may enable stereo rendering for other devices like shutter glasses, but I don't know whether this works yet.
2008-04-27 19:07:57 +00:00
Thilo Schulz
782b890caa
Another two minor clean-ups to last commit.
2008-04-27 17:43:35 +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 =
f222785168
* (bug 3611) prevent global symbol conflict on some systems (Mac OS X) for
...
lcc's getopt (Ben Millwood)
2008-04-23 17:39:39 +00:00
Thilo Schulz
1306d9760d
Fix crash bug for interfaces without assigned address, thanks to PhoinixGR for reporting.
2008-04-21 13:34:44 +00:00
Thilo Schulz
d77d3e0658
fix obvious bug, thanks mattn2
2008-04-16 20:57:08 +00:00
Ludwig Nussel
7a8c1ddaa6
Fix build on IRIX (Patrick Baggett)
2008-04-16 06:42:29 +00:00
Ludwig Nussel
53fc214d00
better handling of illegal mode values
2008-04-13 08:30:51 +00:00
Ludwig Nussel
89a5a6429e
sort video modes only if there are modes to sort
2008-04-13 08:30:48 +00:00
Thilo Schulz
cebdb640f3
remove commented code
2008-04-12 20:05:33 +00:00
Thilo Schulz
c281b6aca0
Another change to server parsing as a server reporting in from 69.79.84.0/24 with the master server could screw up the server list in ioquake3 clients.
2008-04-12 19:53:16 +00:00
Tim Angus
845de6a960
* Fix some recently introduced warnings
...
* Fix referenced pk3 list including excessive number of spaces
2008-04-12 18:58:06 +00:00
Thilo Schulz
563eb9443b
One minor comment fix
2008-04-12 17:14:53 +00:00
Thilo Schulz
eb74549dde
Only don't send packet on disabled multicast if it actually is a multicast packet
2008-04-12 17:03:18 +00:00
Thilo Schulz
f8d8a1c2f7
- fix a potential file descriptor leak in server side of pak downloading
...
- add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods.
2008-04-12 17:00:18 +00:00
Thilo Schulz
9a8cc99a93
- Revamp in-game server browser: you can now scan for games on multiple master servers, while retaining compatibility with old QVMs.
...
- Make Master server reporting/server queries ipv6 capable.
2008-04-11 18:39:03 +00:00
Thilo Schulz
78a82bcba2
Add com_standalone cvar for at-runtime handling of mods that do not require the original quake3 game data.
2008-04-10 15:37:25 +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
Thilo Schulz
ca5fabe8c6
Fix uninitialized usage warnings on MacOSX.
2008-04-09 22:20:04 +00:00
Thilo Schulz
eb3b59308b
Add Multicast capabilities for LAN server scanning.
2008-04-09 14:37:42 +00:00
Thilo Schulz
32bd0ab5bd
Add length checking to prevent malicious mdr files to overflow buffers.
2008-04-08 18:56:03 +00:00
Thilo Schulz
cafbb38d85
Handle detail textures correctly when r_detailedTextures is set to 0.
2008-04-06 16:29:22 +00:00
Ludwig Nussel
43ac1eca6a
set flag to allow forced unload of a running VM
...
required to prevent a client from exiting if the server disconnects (bug 3585)
2008-04-06 12:59:35 +00:00
Ludwig Nussel
8bcb33892e
debug output for EXEC_NOW
2008-04-06 12:59:30 +00:00
Ludwig Nussel
8d1a5f8b32
catch EXEC_NOW on quit to prevent deleting a running vm
2008-04-06 12:59:26 +00:00
Thilo Schulz
0811b1c99c
Actually take into account how SkipBracedSection works. It requires a section to start with a single separate '{'. So we need to require this here, too.
2008-04-06 02:24:07 +00:00
Thilo Schulz
f5b3a13313
revert changes to that one as this is not necessary.
2008-04-06 02:19:00 +00:00
Thilo Schulz
5c1167557a
Make sure that one broken shader file cannot crash the game / make the other shaders unusable.
2008-04-06 02:13:43 +00:00
Tim Angus
85bee47f52
* Fix to MinGW build following IPv6 changes
2008-04-05 16:01:58 +00:00
Thilo Schulz
fcbf0bdd84
I hope this makes the code work on solaris, too and fix the EINVAL on sendto()
2008-04-05 15:10:50 +00:00
Thilo Schulz
70cd2ccfab
- include Winsock2.h for windows
...
- add a __BSD__ define for all bsd platforms if it doesn't exist.
2008-04-05 14:28:57 +00:00
Thilo Schulz
7b80773212
Fix compilation on Solaris and possibly other platforms that have no getifaddrs()
2008-04-05 13:18:09 +00:00
Thilo Schulz
5d63a38ad9
Basic IPv6 support. Some inspiration from the patches by Lubos Dolezel and JF Tremblay at https://bugzilla.icculus.org/show_bug.cgi?id=2355 .
2008-04-04 23:22:22 +00:00
Tony J. White =
f82ea67c67
* remove COM_Compress() call on script buffer loaded into memory. I assume
...
this was added in order to save cycles if a script is loaded and then
parsed multiple times, but it caused line numbers to be reported
incorrectly for parse errors. If a script is loaded into memory and
parsed multiple times then the script itself should be optimized instead
of doing it at runtime. Also, there was a possibility of segfault
due to where this was called.
2008-03-28 03:26:59 +00:00
Thilo Schulz
1d072dfdb5
These checks are now redundant.
2008-03-27 03:21:32 +00:00
Thilo Schulz
fe1e02e457
A more clean solution to this bug. Stop the renderer when the UI VM is not running, as no commands get issued in that case anyways.
2008-03-27 03:18:32 +00:00
Thilo Schulz
d79a5487bc
Fix flashing connect screen, see https://bugzilla.icculus.org/show_bug.cgi?id=3425 .
2008-03-27 03:00:49 +00:00
Thilo Schulz
ccffb85185
This hack probably is not needed anymore.
2008-03-27 02:42:17 +00:00
Thilo Schulz
9412316883
Make sure fullscreen does not work for in_nograb when manually Alt-Entering, too.
2008-03-26 16:20:21 +00:00
Thilo Schulz
401f7521ff
Make cast-workaround to unsigned int use sizeof operator.
2008-03-26 03:13:30 +00:00
Thilo Schulz
0ea4387270
strcpy -> memmove as string does overlap which should be avoided according to the manpage. Thanks to Jacques Boscq.
2008-03-25 22:06:08 +00:00
Thilo Schulz
11d9608fca
Remove obsolete code for obfuscation.
2008-03-25 21:59:31 +00:00
Thilo Schulz
99fe055931
Commit patch from Jacques Boscq, which will prohibit the calling of memcpy with src=dest
2008-03-25 21:45:20 +00:00
Thilo Schulz
bb47026b5f
- Replace vsprintf function in bg_lib.c with vsnprintf implementation started by Patrick Powell.
...
- Remove all calls to vsprintf in the engine and gamecode and replace them with calls to vsnprintf.
2008-03-25 21:36:09 +00:00
Thilo Schulz
5728fc2ec8
vsnprintf -> Q_vsnprintf
2008-03-25 16:44:01 +00:00
Thilo Schulz
302b1b49ff
Applied patch to clean up code for reading cvars and add new command "print" for printing the content of cvars, by Ben Millwood.
...
See also https://bugzilla.icculus.org/show_bug.cgi?id=3546
2008-03-25 16:20:03 +00:00