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
Ludwig Nussel
7a5243a3b2
use vm->callLevel to count recursive calls to VM_Call
...
Throw an error if vm->callLevel is set and VM_Free is called.
2008-03-24 21:20:55 +00:00
Ludwig Nussel
6c5211c0d3
catch Cbuf_ExecuteText(EXEC_NOW,...) from the ui as that would crash the vm
2008-03-24 21:20:49 +00:00
Tim Angus
6a213889dc
* (bug 3567) Fix to error handling in Ogg decoder (Joerg Dietrich)
2008-03-11 21:43:25 +00:00
Tim Angus
b5a220359b
* Ogg codec fix regarding ogg files in pk3s (Tr3b)
2008-03-02 15:28:39 +00:00
Tim Angus
e31156e586
* Write q3config_server.cfg for the server, to avoid reseting client variables
...
after running a dedicated server
2008-02-28 21:39:54 +00:00
Tim Angus
fd69a32508
* (bug 3427) Single Player causes SIGBUS on SGI IRIX (Patrick Baggett)
2008-02-20 19:41:52 +00:00
Thilo Schulz
dc3d2457e0
Angst and zinx cajoled me into removing trying to load libcurl.so again.
2008-02-17 13:46:34 +00:00
Thilo Schulz
a99634c2d3
Fall back to libcurl.so.4 or libcurl.so.4 if the default symlink does not exist.
2008-02-16 22:57:45 +00:00
Thilo Schulz
1f86aba342
Remove .3 part in default curl library. With it www download is broken on most recent distributions, as there is no libcurl.so.3
2008-02-16 22:23:47 +00:00
Ludwig Nussel
c0f7c8d9cd
png fixes by Joerg Dietrich
2008-02-15 08:37:44 +00:00
Ludwig Nussel
d91c5c9282
make the pcx decode actually work
2008-02-14 13:30:32 +00:00
Tim Angus
a5b51a95d7
* Consolidate tr_image_*.h headers into tr_local.h to more closely follow the
...
Q3 coding style
* Prefix image loaders with R_ now they're non-static
2008-02-14 13:16:13 +00:00
Ludwig Nussel
84f32478b9
remove code duplicated from libjpeg and make internal functions static
2008-02-14 11:13:51 +00:00
Ludwig Nussel
7132b492dd
don't read more memory than available in jpg decode
2008-02-14 11:13:42 +00:00
Ludwig Nussel
c77f537ae3
make pcx decoder more robust against corrupt files
2008-02-14 11:13:30 +00:00
Ludwig Nussel
85ba66e7e8
move all image decoders into separate files
2008-02-14 11:13:18 +00:00
Ludwig Nussel
a3d62033d8
make tga decoder more robust against corrupt files
2008-02-14 11:12:59 +00:00
Ludwig Nussel
02d842532e
make bmp decoder more robust against corrupt files
2008-02-14 11:12:42 +00:00
Ludwig Nussel
f65dbd4351
integer overflow safeguards
2008-02-12 10:03:43 +00:00
Ludwig Nussel
4eec54c338
move png support to separate file
2008-02-12 10:03:21 +00:00
Tim Angus
cb06e3e93a
* Fixes to some muppetry in snd_dma.c (arQon)
2008-02-10 21:01:06 +00:00
Tim Angus
50783f1dbb
* Disabling r_allowSoftwareGL as per bug 3526
2008-01-31 17:44:33 +00:00
Tim Angus
59c231c6c6
* (bug 3412) %s expansion security patch (DevHC)
2008-01-22 23:44:10 +00:00
Tim Angus
9cc4e0c976
* Fix to bug in S_FileExtension (Tr3B)
2008-01-19 19:06:25 +00:00
Tony J. White =
4c3b7def84
* send along the reason for disconnection when sending the disconnect
...
cmd to all clients in SV_FinalMessage()
* on Com_Error(), set the cvar "com_errorCode" with the errorParm_t integer
value for the error. This can be used by a mod's ui to an draw error
dialog specific for the error (e.g. Reconnect button on ERR_SERVERDISCONNECT)
2007-12-31 22:35:22 +00:00
Thilo Schulz
08ee31604a
Remove small redundancy
2007-12-27 11:45:20 +00:00
Thilo Schulz
87fa68fd41
Add gamedirectory in .app to searchpath on MacOSX
2007-12-14 21:53:57 +00:00
Thilo Schulz
3648af78dc
Fix building on MacOSX.
2007-12-14 16:54:13 +00:00
Thilo Schulz
662b67c733
Replace obsolete macro with some other macro. I hope this does not break too much.
2007-12-14 16:25:33 +00:00
Thilo Schulz
99c8676383
Revert changes in ioquake3 AL code, fix OpenAL headers.
2007-12-13 23:27:41 +00:00
Thilo Schulz
a9a8022d53
Modification to stop crash on Linux for dlopened() OpenAL, will break MacOSX build again.
2007-12-13 13:46:30 +00:00
Thilo Schulz
d075f172df
Fix multiple symbol errors for compilation on MacOSX. Remove unnecessary definitions.
2007-12-13 10:58:43 +00:00
Tim Angus
b906e94a6d
* (bug 3470) Correct type for function pointer
...
(baggett.patrick@figglesoftware.com )
2007-12-11 21:11:01 +00:00
Tim Angus
b9ab949ec7
* Replace "powered by ioq3" text with ui_ioq3 CVAR_ROM
...
* Guess display aspect based on the desktop resolution
* Sort detected resolutions by...
+ closeness to display aspect
+ ascending width
+ ascending height
* Apply Q3 coding style to resolution detection code
2007-12-11 00:19:23 +00:00
Ludwig Nussel
6b5fbd189d
detect available resolutions and offer them in the menu
...
Store the resolutions detected by SDL in a cvar. The mod code can
then optionally use the cvar to offer a better choice in the menu.
Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
2007-12-08 10:08:05 +00:00
Ludwig Nussel
f2cbb819fc
print "powered by the ioquake3 engine" in the main menu
2007-12-08 10:08:02 +00:00
Tim Angus
6113cf7a68
* (bug 3454) Fix crash in autocompletion due to incorrect strncpy buffer size
2007-12-03 00:07:56 +00:00
Tim Angus
dfc97a1dfa
* Make some botlib memory allocations /potentially/ safer
2007-12-02 13:30:12 +00:00
Julian Priestley
4f0565a4a7
* Add con_log.c and con_passive.c from r1222 to quake3.vcproj.
...
* Rename 'write' and 'read' variables in con_log.c, as these are already
defined in io.h in the MSVC environment.
2007-12-02 00:48:59 +00:00
Tim Angus
5bd3ef4190
* Fix poppy captured audio when recording videos
2007-12-01 19:39:03 +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
Tim Angus
b61ccb0b9b
* Initialise botlib libvarlist to NULL as having it uninitialised may
...
potentially cause problems
2007-11-26 21:11:02 +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
Tim Angus
3f3e1a51a1
* (bug 3420) Don't respect sv_killserver unless a server is actually running
...
* (bug 3431) USERINFO cvars created in cg_main not getting sent (arQon)
2007-11-23 00:33:13 +00:00
Tim Angus
f2f8e73d58
* s/O_NDELAY/O_NONBLOCK/
2007-11-19 19:59:37 +00:00
Tim Angus
b62950ca6e
* Fix bug where an extraneous render command can cause a crash when
...
recording video
* Make S_CodecUtilClose NULL the snd_stream_t pointer
* Fix indentation in runtime SDL check code
2007-11-18 01:06:46 +00:00
Tim Angus
3f3c827bcd
* Remove all the crappy old bat/sh QVM building scripts
2007-11-16 22:41:01 +00:00
Ludwig Nussel
f0215128af
make master server used by client configurable (cl_master)
...
patch by Erik Kloppenburg
2007-11-14 19:04:12 +00:00
Tim Angus
25ac1317b1
* Remove work around for a 2 year old OpenAL bug that now actually causes a
...
crash on snd_restart
2007-11-11 22:15:25 +00:00
Tim Angus
e8d3c48535
* Whitespace consistency in tr_init.c
2007-11-07 20:16:37 +00:00
Ludwig Nussel
6f85c247e3
Don't define ELF, use __ELF__ instead
2007-11-06 16:41:57 +00:00
Tim Angus
527a5ddb1d
* Fix to win_resource.rc for MSVC build
2007-11-03 21:53:50 +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
Tim Angus
881988636a
* Don't truncate the cvar value when the user specifically asks for it
2007-11-01 16:07:13 +00:00
Ludwig Nussel
fe349e80ba
include endian.h ( #3399 )
2007-10-26 15:01:52 +00:00
Tim Angus
b5074539ae
* Sigh
2007-10-22 19:08:33 +00:00
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
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
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
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
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
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
Thilo Schulz
2977d001e4
Fix weight calculation in botlib, found by Andi Christ. ( #2889 )
2006-10-12 12:51:24 +00:00
Tony J. White =
338ca1689e
* make-macosx-ub.sh script now creates an .app bundle
2006-09-26 03:12:54 +00:00
Tony J. White =
fbf09d64c5
* Increased the number of registers used for the opStack in the PPC vm from
...
12 to 16. This is cannot be increased any further without major changes
(there only 32 General Purporse Registers). Anyway, his change allows the
cgame.qvm from the excessiveplus mod to work with ioquake3 on a PPC.
2006-09-24 02:33:08 +00:00
Thilo Schulz
5568c9fcad
Fix endian issue in MDR loading.
2006-09-22 12:53:03 +00:00
Thilo Schulz
6c95eb7991
Update the installer specific files for PPC and fix a few minor bugs.
2006-09-21 12:04:21 +00:00
Thilo Schulz
a2dffecfbe
Remove shfolder.lib dependeny as since rev 909 it's not necessary anymore.
2006-09-21 12:03:35 +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 =
ea0f646068
Bug 2813
...
* reverted my recent win95, win98, winme homepath change. it turns out these
systems can be configured to have multiple user directories afterall
2006-09-13 23:52:54 +00:00
Tony J. White =
307a4c037a
Bug 2813
...
* Do not detect a seperate homepath on win95, win98, or winme since it's not
truly a user-specific dir and therefore provides no advantage
* Use CSIDL_APPDATA instead of CSIDL_LOCAL_APPDATA. This means that
user-specific game data is now allowed to be part of a user's Roaming Profile
2006-09-13 22:55:53 +00:00
Tony J. White =
2af23e813d
* add cURL support for HTTP/FTP downloading (bug 2661)
2006-09-11 16:41:55 +00:00
Thilo Schulz
fa904ff235
Fix bug that wouldn't show 32 bit binaries on x86 arch .. d'oh!
2006-09-07 14:14:30 +00:00
Thilo Schulz
5d118e434f
Fix a few text related bugs in the installer.
2006-09-05 14:29:07 +00:00
Thilo Schulz
4a084a46a8
- add TA patch pk3s to installation
...
- some cleanups in the installer UI
- reduce verbosiveness of preuninstall script
2006-09-05 14:21:06 +00:00
Thilo Schulz
4d062b1b84
- Remove arch name in resulting file as the file should contain all arches.
...
- Make sure to delete all files that don't get uninstalled automatically before uninstall process begins.
2006-09-05 13:24:34 +00:00
Thilo Schulz
c34c94294d
Extend the installer to offer more options
2006-09-05 12:54:25 +00:00
Ludwig Nussel
cec7660885
looks like ALCchar is not available on older openal versions
2006-09-05 07:05:04 +00:00
Ludwig Nussel
b5ab8384ac
icculus.org/quake3 -> ioquake3
2006-09-05 07:02:23 +00:00
Thilo Schulz
6e45169ddd
Update splash image for unix installer.
2006-09-05 00:58:50 +00:00
Tony J. White =
bc4591b03e
* renamed static function GetClipboardData to CL_GetClipboardData since it was causing compile errors in newer mingw
2006-08-30 15:16:36 +00:00
Tim Angus
9f42be5d6c
* Disable video command when not playing back a demo
2006-08-29 19:30:33 +00:00
Thilo Schulz
01d057967f
Go back to rev. 874. ATM, there is no good way to make FS_Restart() behave as it was originally described.
2006-08-28 01:48:38 +00:00
Thilo Schulz
39d050b748
More fixes for the FS_Shutdown change. Declare qconsole.log as closed before FS_Shutdown
...
closes all files.
2006-08-28 01:10:46 +00:00
Thilo Schulz
fbfc886b22
Fix crash when recording to files and the map changes. Was caused by new, correct, behaviour of
...
FS_Restart() which would close the files before they'd be closed by the client.
2006-08-28 00:44:59 +00:00
Thilo Schulz
591e11e740
There are actually files that can have a length of 0 so this in-use-check was just wrong.
2006-08-27 15:34:44 +00:00
Thilo Schulz
57dbc7a79f
- Fixed filehandle / filedescriptor leak in S_AL_StartBackgroundTrack introduced in rev. 832
...
- intro now plays correctly before looping sound.
2006-08-27 15:31:03 +00:00
Thilo Schulz
bea6fcff13
Correctly handle 0 timescale
2006-08-26 12:43:38 +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
Thilo Schulz
5ee7b5ed59
A few more timescale influences added
2006-08-26 02:45:59 +00:00
Thilo Schulz
fb18a4b2e4
- compensate sv_fps for timescale value.
...
- Add a non-dirty-hack fix for client hanging when unpausing a game.
2006-08-26 01:45:27 +00:00
Tony J. White =
90b35ec5c8
* Print the SVN version string in Com_Init()
2006-08-25 16:25:51 +00:00
Tim Angus
ba36526a5e
* Revert version to 1.33 again
2006-08-22 18:47:59 +00:00
Tony J. White =
0df6305274
* Add SVN version to the version string displayed in the client console
...
if it can be detected
2006-08-22 16:13:51 +00:00
Thilo Schulz
467917233a
- Change available device list to be displayed on sound initialization and
...
use line feeds as separators.
2006-08-19 22:17:04 +00:00
Tim Angus
4c8c2e5597
* Compiler warning fix
2006-08-19 14:40:24 +00:00
Thilo Schulz
b2b17e334e
- tweak enumeration support, remove win32 dependency
...
- fix two typos in status message in snd_main.c
2006-08-19 13:44:10 +00:00
Thilo Schulz
87a3858f9a
- Add device enumeration support on windows and make "Generic Software" new default device as that one seems to work more reliably on many platforms.
...
- Add shfolder.lib library to dependencies in MSVC project files
- update documentation for OpenAL changes.
2006-08-19 11:02:20 +00:00
Thilo Schulz
4450057eb7
The server should still process network packages for keeping the package queue empty.
2006-08-18 09:21:01 +00:00
Thilo Schulz
ee12260b59
Tweak the select() stuff a bit still.
2006-08-18 02:10:02 +00:00
Thilo Schulz
5e88acf217
Fix 100% CPU usage on idle dedicated servers.
2006-08-18 01:50:51 +00:00
Tony J. White =
55bddd58fd
Added code/unix/MacSupport/ which currently includes a script and resource file
...
that can add id's EULA to a .dmg file
2006-08-16 07:03:20 +00:00
Tony J. White =
77de9e65a8
bug 2723
...
* replaced my cheap hack to search current working dir on OS X with a more
complex hack that detects the .app bundle directory structure. This is so
the game data dirs do not need to be inside of the .app bundle btw.
2006-08-16 05:22:09 +00:00
Tim Angus
e41d081710
* qvm files no longer installed by "make copyfiles"
...
* Loopback clients only get snapshots at the server frame rate now
(Anonymous <nkylqinhvgcbyl@mailinator.com>)
* JPEG chroma subsampling disabled if the quality value is >= 85
(Anonymous <nkylqinhvgcbyl@mailinator.com>)
* cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting
will be ignored if on a LAN. (Anonymous <nkylqinhvgcbyl@mailinator.com>)
2006-08-13 17:09:05 +00:00
Tony J. White =
0bffb8a8cd
bug 2747
...
* it turns out Apple's OpenAL only allows for 64 alSource's by default
http://opensource.creative.com/pipermail/openal/2005-October/008893.html
This was the main cause of the Mac OS X OpenAL probem since we were using
128 as MAX_SRC
2006-08-03 03:15:24 +00:00
Tony J. White =
0141a4b4b0
bug 2747
...
* open music stream in S_AL_StartBackgroundTrack() instead of relying
on S_AL_MusicProcess() to open it. This allows S_AL_MusicProcess() to
return early when called whenever there is no open music stream to prevent
a segfault.
2006-08-03 02:29:47 +00:00
Tony J. White =
9a6fad9cf1
bug 2723
...
* adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary
* fixes Mac OS X x86 VM crashes (-mstackrealign)
* adds current working directory to the search path on Mac OS X to make
working with .app bundles easier
* various tweaks to make ioquake3 build against the 10.2 SDK
* changed default OpenAL .dylib location to the path of the one included with
the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN)
* updated to a Universal libSDL-1.2.0.dylib
2006-08-02 04:01:36 +00:00
Tony J. White =
7cb5edc9ed
bug 2813
...
* fixed bug with new win32 home path detection
* added SHFolder.lib linking to the mingw build for win98/win95 compat
2006-08-01 17:36:47 +00:00
Tony J. White =
583745769d
bug 2810 once a latched cvar was changed it could not be reset to its original value
2006-08-01 16:51:13 +00:00
Tim Angus
635e8bc326
* Windows home directory support (tjw)
2006-08-01 11:41:49 +00:00
Tim Angus
13b119a40c
* Fix to Windows renderer deadlock (bug #2767 , Daniel Deptford)
2006-07-31 19:05:14 +00:00
Thilo Schulz
5efd7c8c36
Another patch to make uncompressed AVI write in RGB24 format by anonymous virtualdub sympathiser.
2006-07-31 15:32:59 +00:00
Thilo Schulz
3a1c4aa457
Fix from the VirtualDub people which should make avi files created with the video command playable with numerous windows players.
2006-07-31 13:05:15 +00:00
Thilo Schulz
3afbcc9854
Changed the demofile slot finder to use FS_FileExists instead of FS_ReadFile to find a free filename.
2006-07-30 14:42:15 +00:00
Thilo Schulz
9fd1a47819
Fix wrong demo filename when all 9999 demo*.dm_64 file slots have been written.
2006-07-30 14:11:51 +00:00
Thilo Schulz
c6bf30ea7f
Fixed shit commited by myself.
2006-07-30 11:09:45 +00:00
Thilo Schulz
2c14f02ee5
Revert "fix" because it was based on wrong assumptions and actually doesn't fix anything at all.
2006-07-17 19:15:36 +00:00
Thilo Schulz
57a5f2571a
Fix wrong means of death message in server log.
2006-07-09 16:36:33 +00:00
Ludwig Nussel
6327f1ce47
looks like the interpreter was broken all the time. Didn't anyone
...
notice?
2006-07-06 09:25:17 +00:00
Thilo Schulz
fc244c97ef
Fix critical buffer overflow in cgame, see exploit at http://www.milw0rm.com/exploits/1977
2006-07-06 00:37:56 +00:00
Ludwig Nussel
a24ffc0dd5
- print warning if server tries to set cvars it shouldn't set
...
- make warnings yellow
2006-07-05 20:30:53 +00:00
Thilo Schulz
7d51d75b05
- Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htm
...
- Add myself to maintainer list :)
2006-07-03 21:37:50 +00:00
Tim Angus
d42b87ae87
* OpenAL bug fix (from Josh Weisskopf)
2006-06-17 21:01:57 +00:00
Tim Angus
ce0100138c
* Better SDL joystick support (from Erik Auerswald)
2006-06-17 20:30:38 +00:00
Tim Angus
7d657ba62f
* sv_minRate (from R1CH)
...
* [cl|sv]_packetdelay (from tjw)
2006-06-17 19:19:34 +00:00
Thilo Schulz
394c09fa26
Remove chars with ascii value > 127 in MSG_ReadBigString too to make it correspond to the behaviour of WriteBigString.
2006-06-16 21:44:44 +00:00
Thilo Schulz
e02617ee89
Little fix for the sanity check fix from previous rev...
2006-06-16 20:47:29 +00:00
Thilo Schulz
813a6ecdc3
- Fix bug that allows a malicious server to write and overwrite any files in the quake3 directory.
...
Reported by Luigi Auriemma.
- Moved directory traversal check to a more proper location.
- Added a few sanity checks for checksum/pakname storage to fix a crash that can occur under certain circumstances.
2006-06-16 20:38:08 +00:00
Thilo Schulz
c9c15562ea
Fix client "freezes" if a user with ASCII characters > 127 enters a server. Reported by tjw
2006-06-11 14:56:58 +00:00
Thilo Schulz
99abd01c2f
Fix remotely exploitable parse download overflow reported by Luigi Auriemma.
...
See http://lists.grok.org.uk/pipermail/full-disclosure/2006-June/046578.html
for the advisory.
2006-06-04 13:45:53 +00:00
Thilo Schulz
84296bfc2c
Fixed a crash in md4 routines when using them on files with zero length, reported by Lukasz Saduniowski.
2006-06-01 00:58:19 +00:00
Thilo Schulz
9af85d9378
Forgot to check for windows-style path seperator in precaution against directory traversal abuse.
2006-06-01 00:23:46 +00:00
Thilo Schulz
503c0a22c6
Partially applied patch from Joerg Dietrich. Fixes:
...
- incorrect handling of file names when opening sound files by name without extension
- byte endian issues in ogg decoder.
2006-06-01 00:14:56 +00:00
Ryan C. Gordon
997dffc649
Correction in PowerPC JIT code. Fixes crash in server browser, etc, on Mac OS X
...
and probably PowerPC Linux, too...fixes Bugzilla #2519 .
2006-05-29 03:02:54 +00:00
Thilo Schulz
856a397e8c
Prevent servers from making clients download files that are written to non-quake3 directories.
2006-05-28 14:36:37 +00:00
Thilo Schulz
d2b5dd1e8a
Applied parts of Josh Weisskopf's patch to make naming of executables consistent with Linux.
2006-05-16 07:11:39 +00:00
Thilo Schulz
e5c0581d52
Added two missing source files to the MSVC project files
2006-05-16 07:03:36 +00:00
Thilo Schulz
6fe78df757
Fixed missing initialization of idPack and missionPack variables which may result in failure to autodownload files from the server even if legitimate.
2006-05-15 19:50:44 +00:00
Thilo Schulz
a08a539c10
Fix JIT compiler code execution on NX-protected win32 OS
2006-05-15 15:57:02 +00:00
Thilo Schulz
27df5fca31
Corrected #include directives of openal headers for MSVC.
2006-05-13 12:18:43 +00:00
Thilo Schulz
60293f49ee
Fix bug that permits download of arbitrary files from a download enabled server by checking requested file name against the list of loaded pk3 files. See CVE-2006-2082
2006-05-08 19:53:41 +00:00
Tim Angus
fda7db7619
* Fix the MinGW build. Ugh.
2006-05-06 16:01:41 +00:00
Thilo Schulz
e1c5be3ab0
Added return; statement so it doesn't complain when it receives a remapShader command.
2006-05-06 12:11:24 +00:00
Thilo Schulz
5ebb75e651
Fix remapShader command in cgame and tweak it in ui.
2006-05-06 10:54:55 +00:00
Ludwig Nussel
63d2010914
add update_url. Maybe we need it in the future
2006-05-06 08:46:21 +00:00
Thilo Schulz
d21411452e
Add string length checking to function COM_StripExtension. This fixes the R_RemapShader buffer overflow exploit that can be found here:
...
http://milw0rm.com/exploits/1750
2006-05-06 01:56:24 +00:00
Thilo Schulz
2675960c2c
removed a space too much after "say_team: " chat prompt.
2006-05-04 15:37:08 +00:00
Thilo Schulz
1847c321f0
- Added SV_Shutdown to Linux signal handler to ensure that clients don't hang when server gets killed, as suggested by Tony J. White
...
- Added newline to final message sent to clients.
- Added check for whether client is running at all before CL_Shutdown runs through.
2006-05-04 13:59:58 +00:00
Thilo Schulz
2583351211
- Replaced SV_GetPlayerByName with SV_GetPlayerByHandle that supports lookup of client_t structures by playernum, too.
...
That means the ban and kick commands will now accept the playernum - as seen in the status command - as argument.
2006-05-02 21:20:07 +00:00
Thilo Schulz
7b6fe90aad
Fix "Net_CompareAdr: Bad address type" error message when starting a new map with bots.
2006-05-02 17:53:26 +00:00
Ludwig Nussel
8895df0925
- remove leftover anistropic filtering variables from glconfig_t
...
- check size of glconfig_t to prevent accidential ABI breakage in the future
2006-04-30 15:00:39 +00:00
Thilo Schulz
12a2b7694a
- Fixed incompatibility to original VMs introduced by anisotropic filtering patch.
...
- Removed dependency of flares from tr.identityLight because they are barely visible with r_overbrightbits set to 1
2006-04-30 14:32:56 +00:00
Thilo Schulz
82c4c70535
- Fix r_overBrightBits variable getting ignored on Linux
...
- Replaced SDL_SetGamma by SDL_SetGammaRamp with gamma behaviour now matching win_gamma.c
2006-04-30 13:50:13 +00:00
Tim Angus
d475dfef97
* Yet another tweak to the long server uptime bug fix
2006-04-28 17:31:02 +00:00
Thilo Schulz
55453fd919
Fix for skybox blacklines bug on non-SDL compilations.
2006-04-27 14:48:35 +00:00
Thilo Schulz
235e2c215f
- Introduced various new typedefs for windows platform (int32_t, int64_t, etc...)
...
- Applied md5 64-bit safety patch by Tony White.
2006-04-27 13:39:41 +00:00
Thilo Schulz
c116695ea7
- "baseq3" literal replacement patch (by Erik Auerswald) applied
...
- Commented setting of the cl_guid cvar because md5.c is not 64-bit safe.
2006-04-26 13:36:58 +00:00
Thilo Schulz
dbdc92d4be
strupr'ing demo filenames breaks demo selection on case sensitive file systems.
2006-04-26 11:31:18 +00:00
Thilo Schulz
70fca10af2
Replaced various "baseq3" strings with the centrally defined BASEGAME macro.
2006-04-26 11:27:12 +00:00
Ludwig Nussel
88b2b82b00
SunOS -> sunos (patch by Vincent Cojot)
2006-04-23 20:59:06 +00:00
Thilo Schulz
31fdab187c
Fix didn't work yet because it didn't use the buffer where the filename extension chop-off is done. D'oh!
2006-04-23 20:04:42 +00:00
Tim Angus
56294e2da8
* Oops
2006-04-23 18:04:51 +00:00
Tim Angus
8aecee5158
* cl_guid for semi-reliable server authentication (from tjw)
2006-04-22 22:21:56 +00:00
Tim Angus
68b9eb3fba
* Anisotropic texture filtering (from Echon)
2006-04-22 22:14:15 +00:00
Thilo Schulz
40d5eee8ef
Fix prohibits illegal downloading of id PK3 files from servers. That bug is hit by *every* official server release from ID.
2006-04-22 18:24:50 +00:00
Tim Angus
ef51968654
* Fix to a bug introduced by the fix to the long server uptime bug
2006-04-22 15:57:43 +00:00
Thilo Schulz
e7daf33d8e
- botlib logfile now gets stored in the fs_game directory in fs_homepath. (patch from Erik Auerswald)
...
- Added proper error handling when fopening qconsole.log
- Fixed bug where r_chat.c gets loaded in botlib even when bot_nochat is 1.
2006-04-21 17:04:21 +00:00
Thilo Schulz
57cc0f901e
Still some little improvements to flares.
2006-04-20 16:52:39 +00:00
Thilo Schulz
d18f7bb738
Removed redundant assignment.
2006-04-20 11:26:27 +00:00
Thilo Schulz
c552a46e5f
Fix for flares. Can be enabled by setting r_flares 1
2006-04-20 04:43:43 +00:00
Zachary Slater
9ee853343e
Was that intentional? (version change)
2006-04-19 22:51:20 +00:00
Tim Angus
0018df2cfc
* Output botlib.log in a sensible place (from Erik Auerswald)
2006-04-14 20:35:47 +00:00
Tim Angus
131fb9933f
* Fix to bug involving the port value of master server heartbeats (from Thilo
...
Schulz)
2006-04-14 20:28:28 +00:00
Tim Angus
21e0bdd993
* Fix to (static!) buffer overflow in renderer (from Thilo Schulz)
2006-04-14 20:15:58 +00:00
Tim Angus
a235245e35
* Fixes to MDR implementation from Thilo Schulz
2006-04-14 20:13:49 +00:00
Tim Angus
2b75754cdb
* Removed strange MacOS X #ifdeffery from cl_cin.c (from tjw)
2006-04-14 20:11:42 +00:00
Tim Angus
47b03b0cc5
* Fix network init crashes on OS X 10.4 (from tjw)
2006-04-14 20:08:36 +00:00
Tim Angus
b191cc056c
* Fix backspace on MacOS X (from tjw)
2006-04-14 20:02:11 +00:00
Tim Angus
a596185844
* Fixed radix sort on big endian platforms (from tjw, blame Timbo for the bug)
2006-04-14 19:54:56 +00:00
Aaron Gyes
f6203a1e13
Logo stuff on Media page, change the icon to be standard svg instead of inkscape svg.
2006-03-26 01:48:38 +00:00
Tim Angus
d9cb8cb083
* Shift no longer modifies bound keys. Use in_shiftedKeys for the old
...
behaviour.
2006-03-24 21:46:07 +00:00
Tim Angus
f63472025f
* Change window title
2006-03-24 17:28:27 +00:00
Tim Angus
4f55e9f989
* Fix a warning introduced by the recent LCC fix
2006-03-24 16:28:07 +00:00
Aaron Gyes
e31d46651d
webspace is separate now, so generate one splash image.
2006-03-24 07:29:52 +00:00
Tim Angus
ffc78a67ba
* LCC bug fix from the how-the-fuck-did-that-ever-work? department
2006-03-21 21:58:39 +00:00
Tim Angus
5028c174ba
* Solaris packager tweak
2006-03-15 22:42:27 +00:00
Tim Angus
d72fd2e6e7
* Video export doesn't crap out with sv_pure 1 anymore
...
* Video export doesn't crap out when writing > 2Gb files anymore
2006-03-15 22:41:38 +00:00
Tim Angus
8b41386905
* Solaris package patch
2006-03-14 22:26:35 +00:00
Ludwig Nussel
be6ca402e8
accept pak0.pk3 in demoq3/ as well
2006-03-08 11:02:20 +00:00
Ludwig Nussel
da1fabdd91
- fix icon
...
- remove GPL license popup
- make demo script optional
2006-03-05 19:12:20 +00:00
Ludwig Nussel
65c1d9a7a5
merge fixes from ioquake3.sh
2006-03-05 19:11:19 +00:00
Ludwig Nussel
39f2e449b6
use mmap to allocate memory for generated code to be able to set PROT_EXEC
2006-03-04 11:14:44 +00:00
Tim Angus
4ec0c94828
* Displace the '\n's passed to SV_Shutdown
2006-02-28 23:01:23 +00:00
Tim Angus
ef4dad1875
* Entity sounds on the player entity are now AL_SOURCE_RELATIVE
...
* Thus no need to s_alSpatEntOrigin anymore
2006-02-28 21:52:25 +00:00
Tim Angus
0f8c7da187
* Lets try that again
2006-02-26 21:22:12 +00:00
Ludwig Nussel
a99e721711
try to fix msvc build
2006-02-26 20:01:45 +00:00
Tim Angus
40a5ee007f
* Sound related bug fixes from Thilo Schulz
2006-02-26 18:47:39 +00:00
Tim Angus
c93d8fc185
* Resolve symlinks to the binary. This prevents the situation where a symlink
...
to ioq3 in e.g. /usr/local/bin/ cannot locate the data files since it thinks
/usr/local/bin/ is the directory the actual binary sits.
2006-02-26 18:44:15 +00:00
Tim Angus
d5509dcd35
* Fix to a bug where servers with long uptimes (~27 days) would consume 100%
...
CPU if the running game did not set the nextmap cvar. This patch instead uses
the mapname server cvar, which is guaranteed to be defined.
2006-02-23 23:10:54 +00:00
Tim Angus
0e0aac2cb6
* Change the default for s_alSpatEntOrigin. I need to think of a way to do the
...
same thing without degrading the sound quality or changing the API.
2006-02-23 20:43:34 +00:00
Tim Angus
cb1a097db7
* Fix to half of bug #2600 (Refuse to load RIFF files with less than 8 bits per
...
sample)
2006-02-21 22:29:29 +00:00
Ludwig Nussel
6fd0d60628
fallback to 32bit binaries on 64bit biarchs if available
2006-02-21 22:13:36 +00:00
Tim Angus
659ded3a41
* Fix to bug #2599 (fullscreen cinematics)
2006-02-21 21:29:26 +00:00
Aaron Gyes
fe210b1f6b
Angst's installer + icon
2006-02-20 23:08:59 +00:00
Aaron Gyes
966ffaa0f2
o rly
2006-02-20 22:08:23 +00:00
Aaron Gyes
cc9ead2fd7
Bump version number.
2006-02-20 22:04:16 +00:00
Aaron Gyes
f7642afeea
Clean up ARGB 16*16 icon too.
2006-02-20 21:13:19 +00:00
Aaron Gyes
c5a0d40f40
Redone 16*16 icons by hand, they should be less nasty now.
2006-02-20 20:14:07 +00:00
Aaron Gyes
797df27e23
Hot new sexy Windows icon.
2006-02-20 06:59:48 +00:00
Aaron Gyes
c5bc92294b
Generate new 32x32 raster image from new svg, kill off old uglies.
2006-02-18 19:28:50 +00:00
Aaron Gyes
20ee886a29
<Timbo> you should probably strip that
2006-02-18 19:13:43 +00:00
Aaron Gyes
4b4a01001f
Kill text node
2006-02-18 19:08:25 +00:00
Ludwig Nussel
4c242115dc
- change long to intptr_t for 64bit windows compatability
...
- change vmMain arguments back to int. 64bit types are apparently not
needed there. Only the syscall function needs them.
2006-02-18 19:07:23 +00:00
Ludwig Nussel
e129637b5a
64bit fix: VM_Call return value is a pointer
2006-02-18 19:03:06 +00:00
Aaron Gyes
058c2af2ce
Added gradients
2006-02-18 19:02:34 +00:00
Tim Angus
4fe0154cbe
* Added Sander van Loon's svg icon
2006-02-18 11:19:32 +00:00
Tim Angus
26b4ed2f7d
* Fix to a woopsie
2006-02-13 18:17:08 +00:00
Tim Angus
932ca8027c
* OpenAL now respatializes using the player entity origin instead of the view
...
origin by default. The old behaviour is available by setting
s_alSpatEntOrigin to 0.
2006-02-12 10:43:37 +00:00
Tim Angus
3e803b40d2
* See bug #2583
2006-02-12 10:05:32 +00:00
Tim Angus
1911b2a45a
* OS X/SDL mouse sensitivity fix
2006-02-08 18:06:20 +00:00
Tim Angus
ef19ccd56f
* Removed (unintentional) C99 code
2006-02-07 18:36:17 +00:00
Maik
ca7b79c0fa
* updated q3asm msvc prj.
2006-02-07 13:00:44 +00:00
Maik
5b12a7a468
* enabled openal as default in msvc.
2006-02-07 12:47:12 +00:00
Maik
602743a25b
* workaround for msvc compiler bug.
2006-02-07 12:26:53 +00:00
Tim Angus
cb76ec0f2d
* Do not cull non-ascii keyboard chars at the SDL level any more, these are
...
handled in cl_keys.c. (This fixes ctrl-c not working).
2006-02-04 14:11:53 +00:00
Tim Angus
2e19bdfb5d
* Reimplement console history recall "bug" behaviour without the bug
2006-02-04 00:28:57 +00:00
Tim Angus
91b2b9297a
* Fix to an obo bug in the console history recall code
2006-01-28 23:26:23 +00:00
Tim Angus
ab29f29495
* Fix to a memory leak in CM_ValidateFacet
2006-01-27 18:14:01 +00:00
Tim Angus
947ebb932e
* SDL build no longer requires a vid_restart when changing r_fullscreen
2006-01-25 17:57:53 +00:00
Tim Angus
8a6be4aef4
* Persistent console history
2006-01-24 04:35:19 +00:00
Tim Angus
5a29e8df50
* Added code to sleep a bit when q3 has no focus and sleep a lot when it's
...
minimised (SDL only)
2006-01-23 00:24:56 +00:00
Tim Angus
704c151eb1
* Fix to an OpenAL "bug" involving Team Arena
2006-01-22 21:09:55 +00:00
Tim Angus
7b930770e7
* The use of va in the ansi color stuff was preventing developer 1 mode (and
...
probably various other things) from working properly
2006-01-22 19:38:50 +00:00
Tim Angus
3404fbac56
* Fix the operation of the delete key in *nix
2006-01-22 17:07:21 +00:00
Tim Angus
4ab96373e6
* Only check the checksum on baseq3 pak0.pk3
2006-01-22 17:05:43 +00:00
Tim Angus
c3f7915a8b
* Overhaul of console autocompletion
...
- No longer does weird stuff like move the cursor inappropriately
- Autocomplete works with compound commands
- Special autocomplete on some commands e.g. \map, \demo
- Removed various hacks used to counter the original autocomplete code
2006-01-22 01:58:50 +00:00
Tim Angus
893629fb0f
* Fix to ability to diabled Ogg Vorbis
2006-01-21 15:09:35 +00:00
Tim Angus
7913ec3c4b
* Fix a bug with command/cvar autocompletion
2006-01-21 01:35:42 +00:00
Tim Angus
58c8175024
* Added Q_isnan for NaN tests with -ffast-math
...
* Fixed UT/OpenAL work around
2006-01-19 20:28:12 +00:00
Tim Angus
50a10f2690
* Some sloppily coded mods call the Q3 sound API with NaNs -- sanitise this
2006-01-19 17:25:55 +00:00
Maik
fc58fbbac7
cl_avi.c added to msvc project.
2006-01-19 16:43:06 +00:00
Tim Angus
da6fafaac7
* Removed advertising clause from BSD license as per mailing list discussion
2006-01-18 18:46:32 +00:00
Tim Angus
6a396f761f
* Yet another MD4 implementation
...
* Removed Com_BlockChecksumkey and replaced its functionality in the calling
function
2006-01-18 15:53:50 +00:00
Tim Angus
0856744622
* GPL MD4 implementation
...
* Removed obsolete compilation instructions from the id readme
* Removed MD4 license from the id readme
2006-01-18 01:20:42 +00:00
Ludwig Nussel
f4dc10d3f0
fix path to build directory
2006-01-17 20:14:43 +00:00
Tim Angus
fc8fcd7af5
* Don't try to auto record a demo while playing a demo
2006-01-16 04:00:30 +00:00
Tim Angus
ac01b3fdc8
* Patch from Tilman Sauerbeck that fixes some UI code that does not take
...
account of non-4:3 aspect ratios
2006-01-16 02:23:03 +00:00
Tim Angus
ede5c811c2
* Deleted the .lnt and .bat files in the code dir
2006-01-15 21:55:43 +00:00
Tim Angus
7b845a1741
* Move code/unix/Makefile to ./Makefile
2006-01-15 21:45:57 +00:00
Tim Angus
9f427d8852
* Fix a bug where q3cpp's include paths were not set correctly
2006-01-15 21:17:03 +00:00
Tim Angus
363c0d4eba
* Fix to some warnings in linux_glimp.c
2006-01-15 19:15:33 +00:00
Tim Angus
d4bd2fd737
* Change defaults for s_alRolloff and s_alMinDistance
2006-01-15 15:45:12 +00:00
Tim Angus
b4898caac4
* Fix to a stupid bug I introduced whilst trying to be clever
2006-01-15 15:30:52 +00:00
Tim Angus
e74947be2c
* x86 OS X support
2006-01-15 15:22:13 +00:00
Ryan C. Gordon
b06643f41d
Fixed compiler warning about uninitialized variables.
2006-01-14 09:16:16 +00:00
Tim Angus
15c2c2ed89
* Remove some cruft from qasm.h
2006-01-13 21:44:05 +00:00
Ludwig Nussel
2a6c9bd2fd
tell the linker that we want NX stack if possible
2006-01-13 21:40:51 +00:00
Tim Angus
216bda8cd7
* Patch from https://bugzilla.icculus.org/show_bug.cgi?id=2540
2006-01-13 20:54:07 +00:00
Tim Angus
52c3bda4b3
* Simple patch that obviates the need for the "quake3" shell script as shipped
...
with 1.32
2006-01-10 19:22:02 +00:00
Tim Angus
a166f2173a
* Oops. Rename cl_avidemo to cl_aviFrameRate
2006-01-06 22:28:07 +00:00
Tim Angus
70c9c62039
* Use a slightly different method for generating qvm dependencies to avoid
...
FreeBSD 'find' weirdness
2006-01-06 21:56:50 +00:00
Ludwig Nussel
13039ef44f
make memory for generated opcodes executable so the program works with
...
enabled NX feature.
2006-01-06 19:11:05 +00:00
Tim Angus
dbf7caec10
* Ogg codec support from Joerg Dietrich <dietrich_joerg@gmx.de> (disabled by
...
default)
2006-01-06 17:36:03 +00:00
Tim Angus
f5f3c64a25
* Somebody fedex me a Mac and an x86_64 PC please?
2006-01-06 00:33:24 +00:00
Tim Angus
e95f1f2106
* Fix to the gcc4/-O0 x86 JIT compiler bug
2006-01-06 00:04:05 +00:00
Tim Angus
981112669f
* Fix to x86_64 build
...
* Removal of a couple of unused variables
2006-01-05 22:53:55 +00:00
Tim Angus
560b02488c
* Up the defaults for zone and hunk memory since some mods (UT) have large
...
memory requirements that will have increased versus 1.32b due to some of the
alignment fixes
2006-01-05 16:49:59 +00:00
Tim Angus
7b31efbec7
* Dependency generation for the .asm files
2006-01-05 03:34:01 +00:00
Tim Angus
1171a63aea
* Remove FS_SetRestrictions
...
* Add FS_CheckPak0 for better error messages where dumb users are involved
2006-01-05 02:06:25 +00:00
Tim Angus
58e7fc0a1a
* Added cl_autoRecordDemo, which when enabled automatically records a new demo
...
on each map change
2006-01-05 00:15:47 +00:00
Tim Angus
0c9d2c365a
* Only display the g_syncClients warning when it's appropriate
2006-01-04 21:48:20 +00:00
Tim Angus
6e24cfe7d3
* Fix the MinGW and (hopefully) OS X builds
...
* Remove custom memcpy/memset code
2006-01-04 03:40:49 +00:00
Tim Angus
2d9d10772f
* Solaris fixes
2006-01-04 03:14:01 +00:00
Tim Angus
a21eb2bbcb
* AVI video output
...
- Uses motion jpeg codec by default
- Use cl_avidemo to set a framerate
- \video [filename] to start capture
- \stopvideo to stop capture
- Audio capture is a bit ropey
2006-01-04 03:12:12 +00:00
Ludwig Nussel
92ad3e99dc
fix typo in comment
2005-12-30 17:52:56 +00:00
Ludwig Nussel
696bd8c8ab
cleanup:
...
- define TARGETS at central place
- $(PLATFORM)quake3$(BINEXT) -> ioquake3.$(ARCH)$(BINEXT)
- remove GLIBC variable
2005-12-30 17:50:47 +00:00
Tim Angus
310190a466
* Support for MinGW cross compilation
2005-12-29 00:04:41 +00:00
Tim Angus
aa3f7e1eb1
* Fix to what is apparently a typo in the original Q3 code
...
* If patch stitching breaks in mysterious ways, this change might be why
2005-12-28 23:05:22 +00:00
Tim Angus
db5faeaeaa
* NetBSD support patch from optical (alex@rigbo.se)
2005-12-27 19:46:01 +00:00
Ludwig Nussel
7607d1083b
enable x86_64 vm
2005-12-18 15:36:07 +00:00
Aaron Gyes
98dd1cc767
I can't be trusted!
2005-12-13 02:35:00 +00:00
Maik
252ede0472
msvc project files updated and moved to win32/msvc
...
temporary build dirs moved to win32/msvc/build
2005-12-12 17:38:03 +00:00
Aaron Gyes
52205d8d3c
Thanks Jamie Wilkinson
2005-12-12 06:56:01 +00:00
Aaron Gyes
88237be90b
Try different way
2005-12-12 05:41:10 +00:00
Aaron Gyes
a45cab3b42
Tabs
2005-12-12 03:49:19 +00:00
Aaron Gyes
66516abf0a
Don't install q3ded binary on ming32, it doesn't exist
2005-12-12 03:48:00 +00:00
Tim Angus
6c6396a54f
* Increase default for s_alSources to 96
...
* Source allocation warning on looping sounds demoted to developer only
2005-12-11 21:14:45 +00:00
Ludwig Nussel
81c15bc41d
use memcpy for copying stuff around to fix alignment problems
2005-12-06 23:11:25 +00:00
Tim Angus
9bd6709e10
* Removed seemingly unnecessary OS X implementation of yuv_to_rgb24
2005-12-06 20:52:29 +00:00
Tim Angus
2499d9b0f5
* Solaris patch from Vincent S. Cojot
2005-12-06 19:03:39 +00:00
Tim Angus
9415f5fe09
* Oopsie.
2005-12-06 18:17:10 +00:00
Ryan C. Gordon
fa64e09a5b
Disabled PowerPC VM.
2005-12-06 00:16:25 +00:00
Ludwig Nussel
04a6532d27
remove EULA document to prevent confusion
2005-12-05 20:41:15 +00:00
Tim Angus
1704eecc52
* Replaced ALIGN macro with PAD
...
* Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h
2005-12-05 17:32:54 +00:00
Ryan C. Gordon
cfdd586ef8
Look for correct filename extension when loading native DLLs.
2005-12-05 01:11:41 +00:00
Ryan C. Gordon
24209ecec6
Removed -fomit-frame-pointer from Mac OS X builds. Someone should
...
probably gank this from the other platforms, too.
2005-12-04 23:14:23 +00:00
Ryan C. Gordon
9b0cd8009d
Don't need to check for Altivec in unix mainline anymore (qcommon
...
handles this now).
2005-12-04 23:12:46 +00:00
Ryan C. Gordon
ff9c89f8fe
Better altivec cvar handling. Should fix crashes at startup, or curious
...
people that toggle it on at runtime on a G3.
2005-12-04 21:40:25 +00:00
Ryan C. Gordon
dd4dce194e
Fixed Altivec-based mesh rendering.
2005-12-04 14:23:46 +00:00
Tim Angus
e67d270f2a
* Same as last revision, but I didn't forget to save this time
2005-12-03 16:36:45 +00:00
Tim Angus
5cc1fb1c05
* Improved the robustity^Wrobustosity^Wrobustness of the OpenAL music and raw
...
stream systems
* Implemented S_AL_BufferEvict for more graceful behaviour when OpenAL runs
out of memory
2005-12-03 00:19:27 +00:00
Tim Angus
0f8c177cf3
* Fix to an OpenAL "bug"
2005-12-02 00:14:24 +00:00
Tim Angus
796ba11301
* Ditch Mac OS 9 support
2005-12-01 21:36:16 +00:00
Tim Angus
1b314e8934
* Updated AL headers
...
* Added a Makefile option USE_LOCAL_HEADERS which can be disabled to use system
headers if desired
2005-12-01 20:53:28 +00:00
Tim Angus
acb810b972
* Fix compilation when using SDL and dlopening OpenAL
2005-12-01 20:45:01 +00:00
Tim Angus
3161a34a4f
* Fixed bug where if two looping sounds were added to a single entity they
...
would fight for a source and you'd get a horrible distorted sound that was
each of the two sounds interleaved
* Changed the default of s_alPrecache to 1 -- having it off seems to cause
problems for some and it doesn't actually improve things much
* Changed a few of the variable names in snd_openal.c to be more sane
2005-12-01 18:22:42 +00:00
Tim Angus
31b7243ef3
* Fix a warning on non-PPC builds
2005-12-01 18:01:43 +00:00
Ryan C. Gordon
5bc17ccf4b
Fixed detection of Altivec on Mac OS X, and added attempt at general detection
...
with SIGILL/setjmp hackery for PowerPC Linux, etc.
2005-12-01 11:49:02 +00:00
Ryan C. Gordon
4bea1e4ff9
r_smp now works as expected with sdl_glimp.c on Mac OS X.
2005-12-01 11:16:36 +00:00
Ryan C. Gordon
820f41162e
Another "long double" ...
2005-12-01 10:59:50 +00:00
Ludwig Nussel
b130d6be52
fix the stupid i386/x86/amd64/x86_64 weirdness
2005-12-01 09:54:14 +00:00
Ludwig Nussel
f5228d8745
don't use ImageMagick
2005-11-30 21:21:46 +00:00
Ludwig Nussel
dfa3d1d875
add "very high quality" option (patch by Pascal de Bruijn)
2005-11-30 20:28:21 +00:00
Tim Angus
ae39051f1e
* Support RIFF files with zero length data chunks (yes they exist, and yes,
...
they're legal)
* Colourise the OpenAL warnings so they're somewhat more obvious
2005-11-30 01:57:53 +00:00
Ryan C. Gordon
4784374221
Make sure Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN are defined correctly for
...
PowerPC/x86 Mac OS X. Fixes Bugzilla #2510 .
2005-11-29 03:31:31 +00:00
Ryan C. Gordon
7590843afe
Fixed comment.
2005-11-28 11:20:35 +00:00
Ryan C. Gordon
6c0079508c
First shot at SMP renderer with sdl_glimp. Does not work yet!
2005-11-28 10:56:27 +00:00
Ryan C. Gordon
4517e7a34b
Fixed some compiler warnings in lcc...mostly "long double" stuff.
2005-11-28 09:53:09 +00:00
Ryan C. Gordon
807ba08558
Must explicitly define MACOS_X here or lcc won't build on the Mac.
2005-11-28 09:50:55 +00:00
Ludwig Nussel
be42cb3201
files to create a loki-setup based installer. run "make installer"
2005-11-27 15:34:16 +00:00
Ludwig Nussel
64025e68f0
fix warning about cast from integer to pointer
2005-11-27 15:01:56 +00:00
Tim Angus
68a59e1c93
* Moved win32 GL extension prototypes from tr_init.c to win_qgl.c
2005-11-26 17:51:26 +00:00
Tim Angus
382c6adb54
* Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local
...
* Remove -gfull from linux section in Makefile -- it's darwin only
* Cast away some warnings that surfaced from using "new" AL headers
* Various whitespace and consistency fixes
2005-11-26 15:01:28 +00:00
Ryan C. Gordon
877f360812
SDL and OpenAL headers.
2005-11-26 07:59:00 +00:00
Ryan C. Gordon
721b9a7d01
Mac OS X work...lots of little changes that touch a lot of random places.
...
Still work to be done, but this at least matches the PowerPC Linux status
now.
MacOS-specific directory (and XCode project) is gone...this now uses SDL,
OpenAL, and the Unix Makefiles.
--ryan.
2005-11-26 07:46:21 +00:00
Ryan C. Gordon
b20b86bbbe
Don't byteswap when resampling audio...we byteswapped it previously in the
...
codecs.
2005-11-20 15:35:45 +00:00
Ludwig Nussel
108c051345
make internal functions static
2005-11-19 14:53:46 +00:00
Tim Angus
fee4381e18
* Remove the debug text that nobody seemed to notice
2005-11-19 02:14:34 +00:00
Tim Angus
82893aebc9
* Bleh.. whitespace
2005-11-16 20:25:36 +00:00
Tim Angus
387d8041ce
* Partial implementation of FS_Seek for files in pk3s
...
* A couple of RIFF decoder tweaks/fixes
2005-11-16 20:23:37 +00:00
Tim Angus
736d34c989
* Small "bug" fix to MSG_WriteBits
2005-11-15 23:49:14 +00:00
Tim Angus
b5c7d9dcd7
* Implementation of r_dlightBacks from Shane Isley
2005-11-15 23:30:35 +00:00
Tim Angus
47c70ae076
* ...
2005-11-15 22:22:45 +00:00
Tim Angus
6be591daa1
* Don't link OpenAL against q3ded
2005-11-15 22:09:45 +00:00
Tim Angus
25785fe0e6
Potential fix to https://bugzilla.icculus.org/show_bug.cgi?id=2486
2005-11-15 17:02:45 +00:00
Tim Angus
0163f77f4e
* Oops, missed a bit
2005-11-14 18:35:31 +00:00
Tim Angus
9d7bb06743
* Replace a redundant function in the wav decoder
2005-11-14 18:26:25 +00:00
Tim Angus
e8a953fea6
* Quiet some warnings on OS X
2005-11-13 23:05:00 +00:00
Tim Angus
668fdc102c
* Unbreak the MinGW build more...
...
* Unbreak USE_OPENAL_DLOPEN=1
2005-11-13 22:16:24 +00:00
Tim Angus
33c1528673
* Unbreak the MinGW build
2005-11-13 21:23:16 +00:00
Ludwig Nussel
1c2722a9ba
link against libopenal by default rather than dlopening it
2005-11-13 21:01:44 +00:00
Ludwig Nussel
17719e0c61
soname is libopenal.so.0
2005-11-13 21:01:07 +00:00
Tim Angus
84c4f21082
* OpenAL support, from BlackAura aka Stuart Dalton <badcdev@gmail.com>
...
+ An abstract codec system, simplifying support for new formats
+ Changes versus BlackAura's patch:
o Consolidated the OpenAL parts into one file
o Changed the function naming scheme to more closely resemble Q3
o Changed the interface to fall back on the "base" sound system
if loading OpenAL fails
+ This is enabled on Linux and MinGW for now, but should work on the
other *nixs with appropriate additions to the Makefile
+ NOT enabled on OS X or MSVC Windows builds
+ Probably breaks the Windows build again
* Retabulated sdl_snd.c and made the messages less verbose since
there do not seem to be many having problems with SDL sound now
2005-11-13 18:58:14 +00:00
Ludwig Nussel
79ceef93cc
store temporary files in /tmp to save space in ~
2005-11-13 18:33:28 +00:00
Ludwig Nussel
c95d0c29e4
use common macro for alignment
2005-11-13 17:51:21 +00:00
Ludwig Nussel
bfb24584f5
- add -Wimplicit -Wstrict-prototypes CFLAGS again
...
- remove -pipe. not needed IMO.
2005-11-11 15:07:15 +00:00
Tim Angus
e905b369c3
* Makefile target dependancy fix
2005-11-07 17:44:05 +00:00
Tim Angus
fd9c1b00bb
* Fix TA font loader to use new endian defines
2005-11-06 21:18:21 +00:00
Ludwig Nussel
b2f39d7ddd
use system memcpy and memset
2005-11-06 18:22:49 +00:00
Tim Angus
5201000f39
* Ignore in_dgamouse setting if dga isn't available
...
* Changed status of Solaris sparc
2005-11-06 17:31:48 +00:00
Tim Angus
bbf2e36b5b
* I'm so anal
2005-11-06 16:51:28 +00:00
Tim Angus
f20cca46e8
* Install the tools on every build, so a distclean isn't necessary if the tool
...
source changes now
* Basically rewrote the lcc Makefile to be more sane
* Removed various bits of lcc that weren't built/needed
2005-11-06 16:50:58 +00:00
Ludwig Nussel
590988222f
- crash solved
2005-11-06 16:32:42 +00:00
Ludwig Nussel
cc8b03c655
- don't spam the tty with that message
2005-11-06 16:24:49 +00:00
Ludwig Nussel
48ee88ad77
- move code for standalone compilation out of vm_x86_64.c
...
- reset vm->compiled if something goes wrong in VM_Compile
2005-11-06 13:50:28 +00:00
Ludwig Nussel
8a18ecb961
- fall back to interpreter if VM_Compile resets vm->compiled
2005-11-06 13:46:17 +00:00
Ludwig Nussel
87b12105bc
- set umask to 0077 before writing the cdkey, the rest of the world
...
doesn't need to read it.
2005-11-06 13:45:20 +00:00
Tim Angus
4eaebe4a31
* Tidy-up of q_platform.h
...
* Introduced Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN #defines
* Changed some stricmp to Q_stricmp so that #define stricmp strcasecmp could be
removed
2005-11-06 00:29:59 +00:00
Ludwig Nussel
dfe20a177c
- put ALIGN macro into q_shared.h
...
- yet another alignment fix for botlib
2005-11-05 19:06:10 +00:00
Tim Angus
81c1b3128b
* Enable use of asm on Solaris-x86
2005-11-05 18:41:37 +00:00
Tim Angus
a31e38986c
* Patch from AJ <anthonyj@planetquake.com> which replaces a bunch of hard coded
...
constants with #define constants
2005-11-05 15:54:56 +00:00
Tim Angus
fce1a89fad
* Fix a stupid typo
2005-11-05 15:07:05 +00:00
Tim Angus
fe09cd3217
* Patch from vapier that aids packaging
...
* Truth value of USE_SDL changed to 1 from true, for consistency
2005-11-05 01:06:09 +00:00
Tim Angus
d41de844d3
* Oops, missed a bit
2005-11-05 00:42:28 +00:00
Tim Angus
a87185a96f
* Centralise architecture defines in q_platform.h
2005-11-05 00:29:40 +00:00
Tim Angus
e4b7a04d5c
* Replaced a bunch of inline and __inline with ID_INLINE
...
* Replaced a bunch of __i386__ with id386
* General tidy up of asm preprocessor decisions
* Removed C_ONLY from the dedicated server build
2005-11-04 22:32:00 +00:00
Zachary Slater
857a5e264e
Updated msvc project files from > Michael Zoech!
2005-11-04 02:35:30 +00:00
Ludwig Nussel
b0dfb2579b
found the bug. alignment reenabled.
2005-11-03 22:32:39 +00:00
Ludwig Nussel
2984b5bea2
disable the alignment "fix" until its clear why it causes crashes
2005-11-03 22:26:59 +00:00
Tim Angus
2e3a08e4bd
* Juggled CFLAGS a bit so that -fno-strict-aliasing is always on
2005-11-03 18:34:03 +00:00
Ludwig Nussel
1c94cfbcbd
more alignment fixes
2005-11-02 21:46:05 +00:00
Ludwig Nussel
e3e3d8b9aa
actually when calling from the vm to the engine there are more than 10
...
arguments
2005-11-02 21:45:48 +00:00
Ludwig Nussel
5f79f9958b
pass only 10 arguments. vm_* doesn't use more anyways.
2005-11-02 20:58:27 +00:00
Ludwig Nussel
3ce5d5dccd
pass only 10 arguments. vm_* doesn't use more anyways.
2005-11-02 20:56:13 +00:00
Ludwig Nussel
d29dfeeb75
round string length for pointer alignment
2005-11-02 20:36:30 +00:00
Ludwig Nussel
e121614406
allocate memory pointer aligned
2005-11-02 20:34:25 +00:00
Tim Angus
3c05bf1870
* Fies to the xcode project to update it with the recent changes
2005-11-02 18:32:03 +00:00
Tim Angus
2cc87dfc9d
* Removed the last of the binary target stuff from lcc (hopefully)
2005-11-02 16:05:14 +00:00
Tim Angus
2d2df7682d
* Removed the lcc self tests -- there are none that test bytecode
2005-11-02 15:28:16 +00:00
Tim Angus
8b63fdab58
* Fix for lcc on windows so that it can execute files with spaces in them
2005-11-02 02:08:29 +00:00
Tim Angus
87cd6f8a93
* Split off q_platform.h from q_shared.h
...
* Removed lcc PATH hack and replaced with something slightly less hacky
* Removed all platform specific hostfiles from lcc and replaced with bytecode.c
(from ankon)
* Turned lcc option "-S" on permanently
* Improved q3cpp so that it recursively adds include dirs to its list
2005-11-01 22:09:15 +00:00
Ludwig Nussel
48683c91a8
use memcpy to fix use of misaligned data
2005-11-01 19:59:14 +00:00
Ludwig Nussel
f4dbf0db95
5+2==7 :-)
2005-11-01 19:47:47 +00:00
Ludwig Nussel
39f5333862
use memcpy to fix use of misaligned data
2005-11-01 19:44:36 +00:00
Tim Angus
acf1f46a2b
* More Solaris work
2005-11-01 16:05:06 +00:00
Tim Angus
0a3e96af77
* Further work on the Solaris port from Vincent S. Cojot
2005-10-31 16:46:05 +00:00
Tim Angus
3647cca9f7
* Applied https://bugzilla.icculus.org/show_bug.cgi?id=2464
...
* Removed rule to build C++ (for splines) from the Makefile
2005-10-30 14:36:49 +00:00
Tim Angus
c41483634c
* General decrufting:
...
* Removed Q3_STATIC and associated defines
* Removed MAC_STATIC
* Replaced __LCC__ with Q3_VM
* Removed bspc and splines directories
2005-10-29 23:13:09 +00:00
Tim Angus
63fdc74843
* Fix to the VM interpreter on the linux ppc dedicated server
2005-10-29 22:06:43 +00:00
Tim Angus
c5bdb034f2
* Beginnings of Solaris support from Vincent S. Cojot
...
* Note this patch also splits USE_SDL into USE_SDL_VIDEO and USE_SDL_AUDIO
2005-10-29 22:05:20 +00:00
Ludwig Nussel
58512aff09
use memcpy for OP_BLOCK_COPY
2005-10-29 17:42:12 +00:00
Ludwig Nussel
b6228f1408
add HAVE_VM_COMPILED variable so one can override it in Makefile.local
2005-10-29 17:41:17 +00:00
Tim Angus
05e8ab9538
* Added STATUS
...
* Updated TODO
* Moved ChangeLog to root
* Updated ChangeLog
* s/Foobar/Quake III Arena Source Code/
* Biggest patch EVAR. I wonder how many mail boxes this will fill...
2005-10-29 01:53:09 +00:00
Tim Angus
b72f59f524
* In hindsight this is probably wise too
2005-10-29 01:02:12 +00:00
Tim Angus
ffdc69f138
* Deleted code/unix/vm_x86.c - wtf was that about anyway?
...
* Removed HAVE_VM_NATIVE
* Removed DLL_ONLY
* Replace HAVE_VM_COMPILED with NO_VM_COMPILED -- this means the JIT compiler
should be enabled on the OS X and VC builds now
* Remove the remainder of the freetype building stuff
2005-10-29 00:23:10 +00:00
Tim Angus
090f4d7266
* Compiler warning fix from ankon
2005-10-28 22:10:39 +00:00
Tim Angus
4c63d1ed40
* Fix to https://bugzilla.icculus.org/show_bug.cgi?id=2454
2005-10-28 21:09:50 +00:00
Tim Angus
b1b7f975f1
* Fix the x86 vm
2005-10-27 22:38:25 +00:00
Tim Angus
556b3307c5
* ...and the other common headers
2005-10-27 22:05:38 +00:00
Tim Angus
bc9ee5644b
* Ignore __attribute__ when not using gcc
2005-10-27 21:49:36 +00:00
Ludwig Nussel
0bf8e3a8b0
add x86_64 vm. experimental, not enabled by default. you need as for it
...
to work.
2005-10-27 21:13:47 +00:00
Tim Angus
9af615f27c
* Add notional support for various architectures from vapier. Whether or not
...
these architectures work in practice is another matter :).
2005-10-26 23:15:44 +00:00
Tim Angus
f455a27edd
* Use platform headers to source various libc prototypes instead of unsafe
...
static ones (from vapier)
2005-10-26 23:08:56 +00:00
Tim Angus
0167152647
* Small changes to distclean target from vapier
2005-10-26 22:59:30 +00:00
Tim Angus
c02a7fce3c
* Split lcc $AR into $AR and $ARFLAGS (from vapier)
2005-10-26 22:52:17 +00:00
Tim Angus
7b84b0295f
* Fixed the OS X build as broken by revision 181
2005-10-26 20:52:53 +00:00
Tim Angus
3a2ad50406
* Moved various source files from their mod sdk locations to places more
...
appropriate for open source Q3
* This patch looks bigger than it really is, however it will probably break the
VC and OS X builds (easy to fix though)
2005-10-26 19:45:21 +00:00
Tim Angus
3ff42330e5
* Fixed some warnings on the OS X build
2005-10-26 19:32:15 +00:00
Tim Angus
9f55ae2dce
* Fixed a bug with QVM loading on big endian architectures
2005-10-26 17:09:50 +00:00
Tim Angus
d5af2e3d45
* Removed some Conscript
2005-10-25 13:34:47 +00:00
Tim Angus
6b5cf6e248
* Fixed unused variable warning
2005-10-23 17:23:23 +00:00
Tim Angus
69b81f2bd9
* Fix to https://bugzilla.icculus.org/show_bug.cgi?id=2401
2005-10-23 17:18:23 +00:00
Ludwig Nussel
e27a35a207
remove french keyboard hack. we cannot know what this does on other
...
layouts
2005-10-23 15:27:59 +00:00
Ludwig Nussel
80cf67e2ac
map extra mouse buttons to K_AUX*
2005-10-23 15:25:23 +00:00
Tim Angus
f01ed7b3da
* Tab completed commands no longer treated like cvars
2005-10-21 19:52:52 +00:00
Tim Angus
d6b2a1e527
* Deleted some exes that were in the repository
2005-10-21 18:07:25 +00:00
Tim Angus
f306b2895f
* Tiny patch to print values of cvars when tab completing ala ET
2005-10-21 00:09:34 +00:00
Tim Angus
64f167f183
* Fix to potential out of range index bug from misanthropia
2005-10-20 16:19:43 +00:00
Tim Angus
769372e2f9
* Fix to buffer overflow in lightmap loading code from misanthropia
2005-10-20 16:14:05 +00:00
Tim Angus
653c5621ac
* Fixed the fix for the shader overrun. If this isn't a case for unified diffs,
...
I don't know what is :).
2005-10-20 01:23:17 +00:00
Tim Angus
b9c9f86cd1
* Cap the maximum snaps a client can request at the server framerate rather
...
than a hard-coded 30 (from misantropia). I'm slightly nervous about this
since it changes the behaviour versus 1.32b in that a client requesting e.g.
25 snaps will actually get 20 (default sv_fps) with this patch applied. I'm
not sure why anyone would want this though -- it may even destablise their
inter/extrapolation. I'll leave the bug (2422) open for a while and if no one
complains it can be closed.
2005-10-19 22:25:32 +00:00
Tim Angus
7d1b5b4acb
* Fix to buffer overrun in shader parser from misanthropia
2005-10-19 22:15:51 +00:00
Tim Angus
80919a1ce3
* Silly little patch to convert Q3 style color codes to ANSI escape codes. Note
...
this doesn't work too well with baseq3 since it logs color strings with no
color termination.
2005-10-19 01:51:19 +00:00
Zachary Slater
bcc229d5bb
Minor edit, thanks ankon!
2005-10-18 02:46:20 +00:00
Tim Angus
e652200405
* Added option to q3asm to instruct it to create qvms compatible with Q3 1.32b
2005-10-16 01:13:51 +00:00
Tim Angus
354196b3a9
* Added a little hack to support the console key on french keyboards
2005-10-14 23:00:39 +00:00
Tim Angus
20c5bc38cf
* Removed hard coded mouse acceleration in the unix build(s)
...
* Added CVAR_ROM cl_platformSensitivity to normalise the scale
of cl_sensitivity across platforms
2005-10-14 22:58:28 +00:00
Tim Angus
535545684f
* Adjusted VM_LoadQVM interface
2005-10-14 17:09:03 +00:00
Tim Angus
f7c82c1adc
* Fixed some annoying code duplication
2005-10-13 23:08:45 +00:00
Tim Angus
35cb35ff61
* (Non-trivial) fix to the "opStack corrupted in compiled code" bug
2005-10-13 14:47:00 +00:00
Tim Angus
8295a83897
* Removed Q3ASM_TURBO defines from q3asm
...
* Removed q3asm qfiles.h and redirected it to qcommon qfiles.h
2005-10-13 01:55:31 +00:00
Six
ecd73786d5
Fix build problems under OS X
2005-10-11 01:52:29 +00:00
Tim Angus
3857ce21c4
* Replaced drawSurfs qsort algorithm with a radix sort
...
+ Performance is comparable, although generally slightly
worse, but...
+ Radix is a stable sort algorithm, so overlapping
coplanar drawSurfs (i.e. with the same sort key) no
longer flicker indeterminately
+ Also removes the dubious comment: "FIXME: this was
lifted and modified from the microsoft lib source..."
2005-10-10 00:37:54 +00:00
Ludwig Nussel
b1ea2ed136
- get rid of vm_none
...
- if VM_PPC is set compiled vm support is enabled on ppc (default off atm)
2005-10-09 13:07:54 +00:00
Ludwig Nussel
44f5273e02
ugly: undefine memmove to avoid build failure with gcc fortify
...
extensions enabled
2005-10-09 13:06:33 +00:00
Ludwig Nussel
f62601ac53
don't call VM_Compile if it's not supported so the VM_Compile symbol
...
isn't needed
2005-10-09 13:05:44 +00:00
Tim Angus
f6cb6eee96
* q3lcc is no longer the default target in the Makefile
...
* Changed readme to suggest using the root Makefile instead of the one in
code/unix
2005-10-08 14:36:15 +00:00
Six
8866ce3f8b
Mac OS X needs Com_Memcpy and Com_Memset to be set to memcpy and memset.
2005-10-08 06:30:38 +00:00
Tim Angus
29db2dbbfd
* Patch from Andreas Kohn to fix q3asm build on FreeBSD
...
* Removal of SYSTEM variable from the lcc makefile due to problems with FreeBSD
2005-10-07 01:03:49 +00:00
Tim Angus
3271b52bf5
* ATI skybox bug fix
2005-10-06 15:33:54 +00:00
Tim Angus
0b6beec202
* Usage of find on FreeBSD fix from Andreas Kohn
2005-10-06 15:16:12 +00:00
Tim Angus
707ee2fdbb
* Append LCC directory to the PATH variable on all platforms
2005-10-05 21:46:03 +00:00
Tim Angus
151c9461c5
* Fixed a foul-up with the lcc Makefile
2005-10-05 21:07:47 +00:00
Tim Angus
260ca8d730
* A couple of small Makefile fixes
2005-10-05 18:13:34 +00:00
Tim Angus
490c84d907
* Applied q3asm-turbo patches from http://www.icculus.org/~phaethon/q3/q3asm-turbo/q3asm-turbo.html
...
* Added -m option to q3asm to write a map file (which is now disabled by default)
* q3asm now returns an error code on failure
2005-10-05 17:59:10 +00:00
Tim Angus
9d41e17e1f
* Fixed some vm build warnings
2005-10-05 14:50:45 +00:00
Tim Angus
79ba2d974d
* Fixes to the MinGW vm compiler
...
* General MinGW tweaks
2005-10-05 03:13:20 +00:00
Tim Angus
41cbd8c9fd
* VM game modules now built from the main Makefile
2005-10-04 23:54:51 +00:00
Tim Angus
12b5f3bded
* MinGW fixes to the tools Makefiles
2005-10-04 19:15:34 +00:00
Tim Angus
e414f46c4d
* Added install/uninstall rules to the lcc and q3asm Makefiles
...
* Moved the q3asm dir to asm so that is doesn't clash with the binary when
installed
2005-10-04 18:34:21 +00:00
Tim Angus
c3f30ff9a8
* Homogenised the game module build rules
2005-10-04 17:45:22 +00:00
Tim Angus
ad118b9baf
* Moved lcc and q3asm into code/tools
2005-10-04 15:18:22 +00:00
Tim Angus
6797dcc705
* Made the default SDL dma buffer larger
2005-09-30 22:30:22 +00:00
Tim Angus
52dcaa45fd
* A better fix to the "doppler" bug
2005-09-29 22:53:31 +00:00
Tim Angus
24d3c6b2a2
* Fixed the bug where the "doppler" effect code could cause a temporary client lock up
2005-09-29 22:35:05 +00:00
Tim Angus
de1840a23a
* Most obscure bug EVAR. Seems a library that SDL depends on (specifically libgthread-2.0) defines a symbol g_log. qagamei386.so also defines such a symbol, but since it is dynamically loaded at runtime, no collision check is performed. When the code is relocated therefore, all instances of g_log in qagamei386.so end up refering to the g_log in the library... and bad things happen. s/g_log/g_logfile/g.
2005-09-29 14:00:03 +00:00
Zachary Slater
9e70b3e418
Spell checking, thanks to Han in irc.
...
Also, stop reading these logs and visit timedoctor.org!
2005-09-29 05:25:26 +00:00
Tim Angus
a8e642fe63
* Added a - to the dependancies include line
2005-09-28 23:26:13 +00:00
Tim Angus
82f7989714
* Some game bug fixes from http://www.quake3world.com/ubb/Forum4/HTML/006208.html
2005-09-28 23:18:34 +00:00
Ludwig Nussel
cc1fb807c2
fix (likely bogus) warning about uninitialized variables
2005-09-28 12:27:02 +00:00
Tim Angus
4f1b8a2dc8
* Assorted Makefile cleanups/cruft removal
2005-09-27 17:45:16 +00:00
Tim Angus
32a5a76d07
* The Makefile now sources Makefile.local, so you shouldn't need to change the Makefile itself any more
...
* The Makefile now inherits CFLAGS from the shell environment
* The Makefile now generates dependancies by default, it can be disabled by setting GENERATE_DEPENDANCIES=0 in Makefile.local
* Removed -Werror from the linux build since it's not GCC 4 clean yet. Again, it can be added back via Makefile.local
2005-09-27 16:35:25 +00:00
Tim Angus
d0204def78
* Removed nonsensical "smells like demo data, continueing[sic] anyways" message
2005-09-26 22:26:13 +00:00
Ludwig Nussel
d5fbff3f44
revert int->long change as it breaks on 64bit. Actually only
...
VM_CallInterpreted hurts as VM_CallCompiled is only used on 32bit. Use
same arg types for consistency nevertheless.
2005-09-26 22:23:46 +00:00
Tim Angus
534da92fc0
* Fix to MinGW build
2005-09-26 20:39:57 +00:00
Tim Angus
d12b4d4d09
* Potential fix to ppc vm
2005-09-26 20:37:30 +00:00
Tim Angus
03a284b67e
* Non SDL warning fix
2005-09-26 20:33:49 +00:00
Tim Angus
47d4c2bfe5
* 64 bit fix
2005-09-26 20:09:52 +00:00
Tim Angus
909e96e41b
* Some FreeBSD cleanups
...
* Removed the remainder of the RPM stuff from the Makefile
2005-09-26 20:09:18 +00:00
Tim Angus
cde9e9e93c
* Fixed some long/int warnings, hopefully this doesn't disrupt the MSVC and/or 64bit builds
2005-09-26 16:13:14 +00:00
Tim Angus
429e59a53c
* Reintroduced the copyfiles rule
2005-09-26 16:08:38 +00:00
Tim Angus
1ad7f9cff1
* Fix to broken win32 fix patch
2005-09-26 13:47:59 +00:00
Zachary Slater
aff4d7d858
Hopefully this will fix win32 msvc.netsuperduper++220000 extra entropy edition
...
compilation, and I updated the readme a little apparently.
2005-09-26 02:36:52 +00:00
Tim Angus
ae9fbe3288
* Don't link against X directly when building the SDL backend
2005-09-25 22:27:26 +00:00
Tim Angus
4bc5c29115
* FreeBSD fixes/updates from Andreas Kohn
2005-09-25 22:04:51 +00:00
Tim Angus
6ceb4a64e4
* Removed stray cons script
2005-09-25 21:46:55 +00:00
Tim Angus
198cb121d7
* Removed Makefile which spawned cons
2005-09-25 21:46:00 +00:00
Tim Angus
e66a28dfeb
* Removed cons based build system
...
* Removed some id specific shell/perl scripts
* Removed some unused asm files
* Removed prehistoric RPM build rules
2005-09-25 21:43:48 +00:00
Tim Angus
2897abe618
* Mostly selfish patch to work around what I believe is probably an nvidia and/or agpgart bug
2005-09-25 19:54:31 +00:00
Tim Angus
f0bd20e00a
* Removed the redundant "sound system is muted" message
...
* Moved printing of desired audiospec to before SDL_OpenAudio
* When the computed value for samples is not a power of 2, now pick the smallest power of 2 greater rather than the largest power of 2 smaller
2005-09-24 01:26:51 +00:00
Tim Angus
fe14a45ad1
* Applied ajax's cleanup patch
2005-09-23 17:39:14 +00:00
Tim Angus
4c6f59c541
* Applied Thilo Schulz's MDR patch
2005-09-23 17:08:25 +00:00
Tim Angus
2b8395a4d0
* Replaced lots of __linux__ || __FreeBSD__ with __GNUC__
...
* MinGW port now uses asm versions of SnapVector and ftol
* Improved the handling of mangled symbols in vm_x86.c
2005-09-23 02:59:15 +00:00
Tim Angus
fa9b864abe
* Tidied up the makefile, mostly for whitespace
...
* Removed the q3static target
* Ported the nasm asm to gas asm, thus removing the nasm dependancy
2005-09-23 01:59:42 +00:00
Tim Angus
fcaf343d7f
* Port to MinGW
2005-09-22 03:21:33 +00:00
Tim Angus
50eb77ed1a
* Removed the dependancy on perl for deriving the version number
...
* Moved `sdl-config --libs` from LDFLAGS to GLLDFLAGS to prevent needlessly linking against SDL when building the dedicated server
* Moved assignment of DEBUG_CFLAGS until after BASE_CFLAGS has been constructed
2005-09-19 20:43:35 +00:00
Tim Angus
33a48a0336
* Fix to multiple buffer overflow bugs in CL_Rcon_f
...
* Fix to COM_ParseExt 1 byte overwrite bug
* Fixed some missing calls to trap_FS_FCloseFile
* Fixed q3msgboom and q3infoboom bugs
* Fixed some qboolean type confusion
* Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374
2005-09-19 17:45:29 +00:00
Ludwig Nussel
b185817285
more integer checks
2005-09-17 16:21:39 +00:00
Ludwig Nussel
aa942839ce
apply altivec fixes from Emanuel Steen ( #2383 )
2005-09-17 14:59:28 +00:00
Ludwig Nussel
18fc0fb5f5
fix crash when starting a TA CTF game with shared libs ( #2367 )
2005-09-17 14:20:22 +00:00
Zachary Slater
4bee7b4134
Patch from Tim Angus, to fix a longstanding bug
...
in the server, wherein running the server for
more than 24 hours would cause the game to
exhibit weirdness as described here:
http://forums.wireheadstudios.org/index.php?act=ST&f=11&t=2749
That page would also indicate that more work
needs to be done if the map isn't going to change
for more than 24 hours.
2005-09-17 01:36:38 +00:00
Ludwig Nussel
40592957b4
fix some integer overflows
2005-09-12 15:41:05 +00:00
Ludwig Nussel
4caa237d5f
use r_ignorehwgamma cvar to allow user to disable gamma correction
2005-09-08 08:34:32 +00:00
Zachary Slater
cda15d093a
8 bit jpeg support from Thilo Schulz
...
https://bugzilla.icculus.org/show_bug.cgi?id=2373
2005-09-07 20:42:43 +00:00
Ryan C. Gordon
62678a0215
Fixed buffer overflow in JPG decoder (thanks, Thilo Schulz!)
2005-09-07 18:29:03 +00:00
Ludwig Nussel
cb753845ae
fix parallel build - gnu make specific syntax?
2005-09-07 11:44:13 +00:00
Ryan C. Gordon
7b6c3a3f7c
Possible fix for 16-bit displays (untested)...reset the gl red/green/blue
...
size to 4 bits unless we have a 24-bit framebuffer.
2005-09-07 06:03:42 +00:00
Ryan C. Gordon
752d393daa
Tweak audio to reduce latency and allow user to override with cvars.
2005-09-04 19:36:36 +00:00
Ryan C. Gordon
9266fccf79
Fixed all lowercase input (Bugzilla #2364 ).
2005-09-04 16:40:55 +00:00
Ryan C. Gordon
0cf1494497
Removed some tab chars.
2005-09-04 15:30:26 +00:00
Six
54351a83c4
.
2005-09-04 05:45:05 +00:00
Six
38e3825516
Changed inline to __inline.
...
Visual C does not accept the inline keyword, only __inline.
Visual C does not recognize the #warning compiler directive
2005-09-04 05:19:58 +00:00
Zachary Slater
0a8f2fe25b
More fixens.
2005-09-03 23:03:41 +00:00
Zachary Slater
fe4add9920
Updates and fixens
2005-09-03 22:45:50 +00:00
Zachary Slater
fe3c3f69ec
https://bugzilla.icculus.org/show_bug.cgi?id=2362
2005-09-03 19:16:14 +00:00
Zachary Slater
a4a6168e95
https://bugzilla.icculus.org/show_bug.cgi?id=2361
2005-09-03 18:30:59 +00:00
Ludwig Nussel
2e6d24d973
remove useless setuid code
2005-09-03 12:02:28 +00:00
Ludwig Nussel
4a5f66fbe3
don't make unaligned used of OP_BLOCK_COPY an error. The bytecode
...
compiler doesn't care either.
2005-09-03 12:01:51 +00:00
Zachary Slater
840ecd6483
More from pomac
2005-09-03 04:10:22 +00:00
Zachary Slater
1697a709a1
Reverting pomac's change here, hopefully that fixes this.
2005-09-02 21:52:28 +00:00
Zachary Slater
e09e027914
Another patch from gladiac, cleans up the makefile a little.
2005-09-02 21:11:46 +00:00
Zachary Slater
f327407bb8
Cleanups from pomac!
2005-09-02 20:13:47 +00:00
Ludwig Nussel
b0fc4a7b6e
remove =? assignments. use "make CC=foo" instead of "CC=foo make"
2005-09-02 12:28:54 +00:00
Ludwig Nussel
92216f0f07
assume a default if sndspeed==0 to stay compatible with the original
...
code
2005-09-01 17:52:57 +00:00
Ryan C. Gordon
c7392f2c3f
Screw with (de)initialization code.
...
This fixes:
- Mouse grab being lost after alt-enter goes windowed in the SDL driver.
- Joystick ceasing to function on vid_restart in the SDL driver.
- Audio failing to work after after snd_restart in the SDL driver.
- Probably other things.
2005-09-01 05:09:21 +00:00
Ryan C. Gordon
136557954c
Make a shot at total client shutdown on crash.
2005-09-01 05:07:15 +00:00
Ryan C. Gordon
8cb9ba5bda
Added console output so I know what's going on...
2005-09-01 05:06:34 +00:00
Ryan C. Gordon
128154e9a8
backed out broken patch.
2005-09-01 03:30:28 +00:00
Zachary Slater
01da6d757b
https://bugzilla.icculus.org/show_bug.cgi?id=2356
...
Remotely exploitable Infostring Crash
2005-09-01 02:13:47 +00:00
Ryan C. Gordon
b0b8e0114b
Removed some FIXMEs
2005-09-01 00:33:48 +00:00
Ryan C. Gordon
7aea0f7141
Renamed the SDL stuff to not be Linux specific.
2005-09-01 00:33:08 +00:00
Zachary Slater
6a84a13acf
From Cameron Eure:
...
Fixes a problem in code/unix/linux_glimp_sdl.c where attributes are called
before there's a working visual, resulting in a crash.
2005-09-01 00:24:56 +00:00
Zachary Slater
ae7066fa3f
Uh, yeah. glub glub. mo blon.
2005-08-31 22:05:21 +00:00
Ryan C. Gordon
db2b964527
Added SDL joystick support.
2005-08-31 21:13:02 +00:00
Ludwig Nussel
5af249432d
try to fix keyboard handling. Works with German keyboard now AFAICT
2005-08-31 19:54:08 +00:00
Ryan C. Gordon
2282c30923
SDL-based audio.
2005-08-31 19:42:55 +00:00
Zachary Slater
06c73f5e59
First diff from Andreas Schneider:
...
here are gcc4 signedness fixes for latest svn :)
2005-08-31 18:00:00 +00:00
Ryan C. Gordon
23d08fae65
Show the system cursor when ungrabbing the mouse, so you know it's
...
been ungrabbed.
2005-08-31 17:57:44 +00:00
Ryan C. Gordon
a65432119b
Shutdown game if user clicks the 'X' on his window.
2005-08-31 17:54:07 +00:00
Zachary Slater
dee436c126
First patch from vapier for easier packaging:
...
it'd make it easier on people packaging up quake3 if we could set system paths
for the baseq3 dir and if the makefile would respect things like CC/CXX from the
build env
2005-08-31 17:43:56 +00:00
Ryan C. Gordon
5bc2c49293
More SDL fixes:
...
- Console key works as it should, at least on QWERTY keyboards. Someone
will have to check AZERTY keyboards for me.
- Backspace key now works in text entry.
- Mouse input is scaled 2x, like the X11 driver does.
- Some basic logging so I know I'm using the SDL code and not the X11 code.
2005-08-31 16:38:05 +00:00
Ryan C. Gordon
3ca916aacc
Removed included SDL headers (ludwig pointed the makefile to system-installed
...
headers instead).
2005-08-31 16:36:15 +00:00
Ludwig Nussel
a724f6b04f
add s390, s390x and ia64. It builds, don't know if it runs tough.
2005-08-31 09:03:28 +00:00
Ludwig Nussel
77eb7e4147
fix cdpath, deuglify dlopen code, load dll also from cdpath
2005-08-31 08:49:02 +00:00
Ludwig Nussel
8200e26360
use system SDL lib
2005-08-31 08:42:58 +00:00
Zachary Slater
67da8fbc6f
First update of the changelog, more to come as time goes by.
2005-08-31 03:25:10 +00:00
Zachary Slater
8baf50cf1f
glub glub mo blon
2005-08-31 00:07:49 +00:00
Zachary Slater
1221bd8996
oops!
2005-08-30 23:59:12 +00:00
Zachary Slater
272e3ca69f
First version of Ryan Gorodon's SDL work:
...
16:24 < icculus> check that in, someone will fix it. :)
2005-08-30 23:25:02 +00:00
Ludwig Nussel
1b62818a09
- add note about 64bit mods and the demo
...
- fix mod functions for 64bit
2005-08-30 22:38:59 +00:00
Ludwig Nussel
54d65a0ead
- load qvm file by default again to avoid 'unpure' error
...
- fix loading qvms in 64bit q3
2005-08-30 21:25:54 +00:00
Ludwig Nussel
770c6808d0
fix warning
2005-08-30 21:25:08 +00:00
Ludwig Nussel
88171d6bb7
support for 64bit native mods
2005-08-30 20:30:17 +00:00
Ludwig Nussel
334fa9c48c
fix ppc64 string
2005-08-30 15:38:44 +00:00
Ludwig Nussel
2078cfa9a0
always try native dll first
2005-08-30 15:38:05 +00:00
Ludwig Nussel
4fb1caf6bd
make FloatSwap less ugly
2005-08-30 15:36:17 +00:00
Ludwig Nussel
3973f4aaa2
fix build against system libfreetype
2005-08-30 15:35:24 +00:00
Ludwig Nussel
fc29447726
really don't add restrictions on demo data
2005-08-30 15:30:07 +00:00
Ludwig Nussel
9a455ba5ec
disable demo restrictions
2005-08-30 11:37:53 +00:00
Ludwig Nussel
109da009d2
fix build on ppc. no guarantee it runs though
2005-08-30 11:37:41 +00:00
Zachary Slater
ed2ad48122
https://bugzilla.icculus.org/show_bug.cgi?id=2348
2005-08-28 18:12:43 +00:00
Ludwig Nussel
5ae70d54b0
remove svn:executable property
2005-08-28 17:54:51 +00:00
Ludwig Nussel
eccd796b50
prepare for ppc support
2005-08-28 17:24:58 +00:00
Ludwig Nussel
a8bff00f78
-fno-strict-aliasing got lost..
2005-08-28 17:24:25 +00:00
Ludwig Nussel
b603a047f5
cleanup
2005-08-28 17:21:46 +00:00
Ludwig Nussel
c366bdea07
try to fix build using cons
2005-08-28 13:07:33 +00:00
Ludwig Nussel
07af20b73b
add parenthesis to avoid warning
2005-08-28 13:02:57 +00:00
Ludwig Nussel
4a1e2f8124
fix lcc and q3asm linux build
2005-08-28 12:35:05 +00:00
Ludwig Nussel
fd4bbf42d6
remove 64bit warning. For QVM it's ok and native .so is broken anyways
2005-08-28 12:34:17 +00:00
Ludwig Nussel
a2249d087e
add checks for LAN IPs to prevent q3ded from trying to authenticate
...
private IPs
2005-08-28 12:33:24 +00:00
Ludwig Nussel
4a955b42e2
-mtune isn't supported by gcc3, change to -march=i686. Who run q3 on a
...
P1 anyways?
2005-08-28 10:41:26 +00:00
Zachary Slater
8b1d93b397
Patching from floam with some edits by myself:
...
I was working on a patch earlier to fix some more things up to be more
modern, and I added a couple lines from that cleanup patch I showed you
on irc. Some commented code was removed, some stuff was made to not be
broke (old head usage), the makefile should install things better, and a
a few GCC warnings were gagged. I also attempted to version it but
you'll probably want to change that to whatever versioning rules you
decide on using.
2005-08-28 03:46:44 +00:00
Zachary Slater
d54f831dd7
From ludwig: This one fixes a rendering error
2005-08-27 18:11:08 +00:00
Zachary Slater
916cb54d72
From ludwig: Unsigned overflows don't work in 64bit address space ...
2005-08-27 18:10:36 +00:00
Zachary Slater
a138149de2
from floam: quake3_dont_build_debug_by_default_and_dericeify.patch:
...
Doesn't build debug builds by default anymore. The debug builds were
slower, made huge binaries, and never grabbed the mouse. I also
s/-O6/-O3/'d it, which has no functional difference, but is less
1999-gcc-2-ey and much much less 2005-gentoo-ey.
2005-08-27 05:11:08 +00:00
Zachary Slater
7c8e2766c6
from floam: Finishes Ludwig's patch by adding vm_none stub.
2005-08-27 05:06:47 +00:00
Zachary Slater
f46ede91fb
Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.
2005-08-27 02:24:00 +00:00
Zachary Slater
59cce31e75
newlines fixed
2005-08-26 17:39:27 +00:00
Zachary Slater
5b755058f5
Itsa me, quake3io!
2005-08-26 04:48:05 +00:00
Travis Bradshaw
dbe4ddb103
The Quake III Arena sources as originally released under the GPL license on August 20, 2005.
2012-01-31 13:41:34 -06:00