Commit graph

1132 commits

Author SHA1 Message Date
sezero
8f245ace5e Re: r897: lowered NET_MAXMESSAGE and MAX_MSGLEN from 65536 to 64000. not happy with this limit bump at all, but let's see how it will turn out..
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@898 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-25 07:28:11 +00:00
stevenaaus
76335a5710 A couple of limit bumps. http://www.celephais.net/board/view_thread.php?id=60452&start=721
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@897 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-25 05:08:34 +00:00
sezero
98caa07fc1 upgrade libmodplug dlls to latest 0.8.8.5 release.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@896 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-11 12:00:12 +00:00
sezero
339cd00fb7 oslibs, codecs (win, osx): upgrade libmpg123 to stable 1.18.1 release.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@895 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-17 18:00:25 +00:00
sezero
b3be338750 oslibs (win, osx), codecs: recompiled libmpg123 using latest stable
1.18.0 release, with debug messages (mpg123lib_intern.h) disabled,
and -finline-functions and -funroll-all-loops compiler flags removed.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@894 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-11 20:05:57 +00:00
sezero
23d0041af2 snd_umx: minor update from umr. minor correction to fshandle offset.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@893 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-11 20:00:35 +00:00
stevenaaus
6974cb91be MAX_VISEDICTS bump For BSP2, suggested by Ericw.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@892 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-30 10:07:03 +00:00
sezero
772e7e347b oslibs (win, osx), codecs: recompiled libflac with the encoder taken
out and a few patches applied from mainstream git repo. also tweaked
the FLAC_API macro for windows dll exports. dll and dylib sizes are
more than halved now.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@891 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-25 20:50:25 +00:00
sezero
bf1dee9760 oslibs, codecs: recompile using latest libvorbis-1.3.4 release.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@890 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-24 15:50:34 +00:00
sezero
afdc8fe223 recompiled opusfile-0.3 for win with commits cfa5956, 06a191e, and
779ea4d applied from mainline.  recompiled libmikmod-3.3.5 for win
and osx with 16cddd and 3493b1 applied from mainline.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@889 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-15 18:21:53 +00:00
sezero
5b4cdc8053 more correct export read for unreal beta, for correctness sake...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@888 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 20:50:23 +00:00
sezero
4fe208a3cc fix umx export table read order. doesn't affect our umx playback, but correctness is good.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@887 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 18:27:33 +00:00
stevenaaus
656048c4de Sound looping bug fix from eric - https://sourceforge.net/p/quakespasm/patches/12/
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@886 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 02:55:04 +00:00
sezero
fabd2157d8 upgrade libmikmod to v3.3.5
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@885 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-10 10:00:27 +00:00
stevenaaus
039de0aa6a Enable wheel mouse in console (used to scroll up and down).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@884 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-04 07:18:43 +00:00
sezero
a8d8bdc5c4 snd_mikmod.c: compile-time sanity checks for libmikmod version.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@883 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-27 12:00:21 +00:00
stevenaaus
e4b5964ac0 Move the sgml stuff to Linux/sgml, and update doco re gamma known-bugs.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@882 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-26 21:16:44 +00:00
sezero
6ef69df90a BSP2 support. patch kindly provided by Eric Wasylishen (see the patch
tracker entry #11 at http://sourceforge.net/p/quakespasm/patches/11/)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@881 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-25 09:10:28 +00:00
sezero
6cf50dfb79 osx and windows codecs: upgrade libmikmod to v3.3.4 release.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@880 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-11 14:37:24 +00:00
sezero
98c8d0426a snd_umx.c (read_typname): made technically more correct (not that it matters for our case, but still..)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@879 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-24 07:03:49 +00:00
sezero
98d172fbaf snd_umx.c: support umx files from unreal 1997/98 beta version.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@878 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-23 18:57:18 +00:00
svdijk
63e5a4c82b In CL_ParseServerInfo(), call Host_Error() when a model can't be found.
This prevents the segmentation fault reported by Spirit at
http://celephais.net/board/view_thread.php?id=60452&start=516.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@877 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-18 10:43:54 +00:00
sezero
cf71ddf358 snd_mikmod.c: fix return type of the Seek function. snd_umx.c: update XM detection. other minor tidy-ups.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@876 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-15 18:11:31 +00:00
sezero
8b3403d9c4 upgrade libmikmod-3.3.3
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@875 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-15 17:51:09 +00:00
svdijk
591b0d2077 Minor formatting.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@874 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-12 17:38:03 +00:00
svdijk
ec0c150852 Some doco updates.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@873 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-12 17:02:35 +00:00
svdijk
530c1828f7 Base FOV adapting on screen resolution instead of viewport resolution.
By doing this we still adapt to widescreen resolutions automatically,
but we now keep the horizontal FOV a constant for any given resolution.
E.g. if the aspect of the viewport changes (for instance when the user
changes the statusbar from transparent to solid) we adapt the vertical
FOV instead of the horizontal FOV (like original GLQuake does). For any
4:3 screen resolution quakespasm now behaves the same with or without
fov_adapt set, regardless of viewport size/aspect. This fixes the issue
reported by mh at http://forums.inside3d.com/viewtopic.php?f=1&t=5166.



git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@872 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-12 16:20:38 +00:00
sezero
f8c1a3dff3 codecs: update libmikmod to latest 3.3.2 release
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@871 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-07 09:00:51 +00:00
sezero
3596105884 add mikmod/modplug codec libs for windows and macosx.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@870 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-09-28 07:28:17 +00:00
sezero
dc6e3ffa9d add new stdio replacement FS_fgetc() and use it in snd_mikmod.c.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@869 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-09-27 19:51:26 +00:00
sezero
56c4fb2e72 replace all ctype.h functions/macros and strcasecmp/strncasecmp()
by locale-insensitive versions, new header q_ctype.h.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@868 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-09-25 17:01:40 +00:00
sezero
32d841af26 Merge several FS_* and snd_codec* layer updates from uhexen2 tree:
tidy-ups in FS* stdio replacement functions. add new FS_filelength.
snd codec layer updates: changed codec_open() to operate only on a
stream pointer and moved all file open/close stuff to snd_codec.c.
codec_open now only returns true or false upon success or failure
instead of a stream pointer. added new snd_codec.c toplevel helper
S_CodecForwardStream(), which allows one codec to hand over its
stream from its codec_open() to another codec. Support for tracker
(mod) music, including support for Unreal umx containers. (might
be useful if we ever make a Nehahra version of the engine some day.
edit the makefiles to enable when compiling.)


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@867 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-09-25 11:01:12 +00:00
sezero
b5b1bc07e1 oslibs: macosx, windows: recompile libopusfile using latest stable
v0.3 release. (only a windows code change and a few extra comments
in opusfile.h header since the previous build.)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@866 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-08-08 12:21:40 +00:00
sezero
ab20774ddf snd_mp3.c (mp3_startread): set the missing stream->info.bits value
(for completeness only.)


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@865 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-27 05:05:44 +00:00
sezero
7614b4232d snd_flac.c (flac_write_func): don't byteswap the 16 bit values.
they seem to be in native-endian format. thanks to Levent Yavas
for testing on a big endian platform (ppc/OSX 10.4).


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@864 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-25 11:03:25 +00:00
sezero
dff4260c04 gl_vidsdl.c: small gamma update.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@863 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-25 09:41:28 +00:00
sezero
4812c9f03b snd_sdl.c (SNDDMA_Init): set number of samples to 4096 for sampling rates higher than 56, i.e. 96 kHz.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@862 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-24 09:28:01 +00:00
sezero
c7de779229 gl_vidsdl.c: use SDL_SetGamma() instead of SDL's GammaRamps api.
see: http://hg.libsdl.org/SDL/rev/3665bc284271
http://bugzilla.libsdl.org/show_bug.cgi?id=1979


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@861 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-24 07:00:44 +00:00
sezero
00bb0e814c snd_mp3.c (mp3_startread): don't error upon a short read
as it may be a short but still a valid file.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@860 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-23 17:01:20 +00:00
sezero
52dfafbc41 * snd_codec: store the samplebits value in the snd_info_t struct,
and add a new blocksize field to it which the flac decoder can
use. updated decoder sources for the snd_info_t changes, where
I made minor tidy-ups too, tightening several format checks and
fixing a few gotchas in snd_wave.c and snd_mem.c.
* snd_flac.c: adjusted for snd_info_t changes. no longed storing
metadata->data.stream_info in our private data, but just storing
a pointer to the stream->info structure. No longer checking the
metadata total_samples field (the FLAC__StreamMetadata_StreamInfo
doesn't seem to have any alignment or pack attributes and I don't
safe with its offset across different compilers), but added check
to make sure that we hit and parsed a STREAMINFO metadata instead,
and our new state seems just fine for validating the file.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@859 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-22 11:41:14 +00:00
sezero
c6b572d013 updated Xcode project file for fLaC music support, thanks to Kristian Duske.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@858 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-21 17:02:42 +00:00
sezero
82a6dadd70 added flac music support.
it is not enabled by default, edit the Makefile for USE_CODEC_FLAC,
or add USE_CODEC_FLAC=1 to your make command line arguments. Xcode
project file still needs updating for this.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@857 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-21 14:02:06 +00:00
sezero
9d87817232 merged the opus codec support patch
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@856 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-18 07:03:11 +00:00
sezero
82434dfbe6 oslibs: macosx, windows: recompile libopusfile, using the latest
from xiph.org git repo.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@855 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-17 12:51:34 +00:00
sezero
683c9ec2f8 oslibs:macosx,windows: recompile libopus using the latest stable v1.0.3 release
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@854 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-12 20:29:36 +00:00
sezero
9c8963999d bump default heap size to 72mb and zone size to 512kb in 64 bit builds.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@853 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-07-09 05:50:04 +00:00
sezero
a8a79c4f97 oslibs: updated msinttypes to r29 from mainstream googlecode.com
repository.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@852 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-06-24 08:10:12 +00:00
sezero
dc11a5c591 * oslibs: macosx, windows: recompile libopus using the latest stable
1.0.x branch from xiph.org git repository.
* oslibs, windows: recompile libmpg123 from latest 1.15.4 version.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@851 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-05-25 11:32:21 +00:00
sezero
f62fc10fff oslibs: macosx, windows: recompile libogg, libopus and libopusfile
using latest stable branches from xiph.org git repository.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@850 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-05-16 11:40:35 +00:00
sezero
3726fe7c54 bumped version to 0.85.10 in the development tree.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@849 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-04-12 20:25:45 +00:00
sezero
e2047a24ad support for demo recording after connection to server. (thanks to
Baker for a patch)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@847 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-04-12 09:01:18 +00:00
sezero
59e76673ee update docs for 0.85.9 changes
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@846 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-04-12 07:04:18 +00:00
sezero
c2538e2ab8 recompiled libogg-1.3.0 with patch from xiph.org svn rev.18758 applied.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@845 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-04-10 00:22:18 +00:00
sezero
e885ba9cd3 updated svn links in the README file after the sf.net's allura upgrade
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@844 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-04-07 09:56:44 +00:00
sezero
46e5feb71f keys.c (Key_Message): move backspace handling before non-printable
check. (the functionality doesn't change. from tyrquake git repo.)
minor tidy-up.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@843 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-04-02 21:40:48 +00:00
sezero
472bcb8c28 r_part.c (R_EntityParticles): fix undefined behavior in the loop
init'ing avelocities, thanks to a -Waggressive-loop-optimizations
warning from gcc-4.8.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@842 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-15 12:47:08 +00:00
sezero
a48023899f gl_model.c: change the 'ignored' messages from external lit and ent
files back to developer mode.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@841 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-10 11:29:02 +00:00
svdijk
cf7c97b004 gl_vidsdl.c: minor cleanup (lets not hijack the SDL_ prefix)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@840 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-03 15:01:14 +00:00
svdijk
691edc8747 gl_vidsdl.c: some video menu code readability tweaking
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@839 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-03 13:43:11 +00:00
svdijk
a022966c63 gl_screen.c: some fov_adapt style syncing with uhexen2
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@838 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 18:52:22 +00:00
svdijk
da36a62ee8 keys.c: comment correction
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@837 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 18:21:28 +00:00
svdijk
d8938a0a7f gl_vidsdl.c: be bit more lenient (and safer) regarding bpp
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@836 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 18:10:19 +00:00
svdijk
587a35a1d0 gl_vidsdl.c: fix a minor inconsistency in VID_Toggle
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@835 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 16:35:48 +00:00
svdijk
0a99f0fe44 gl_vidsdl.c: make the intel hack feedback a bit more informative
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@834 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 15:32:27 +00:00
svdijk
51dd4ecef7 gl_vidsdl.c: remove the PowerVR stuff, as it seems to be outdated
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@833 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 13:46:59 +00:00
svdijk
23955d2833 oops
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@832 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 13:13:47 +00:00
svdijk
36acbaafdd Simplify the Intel video hack, make the PowerVR hack do the same
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@831 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 13:10:02 +00:00
svdijk
61ebe5df00 remove isIntelVideo special handling, simply set gl_clear instead
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@830 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 12:31:09 +00:00
sezero
3f07757099 minor tidy-ups
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@829 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 12:03:52 +00:00
svdijk
ee3e521984 host_cmd.c: fix typo in r827
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@828 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 10:36:28 +00:00
sezero
68cc982a10 host_cmd.c (Host_Changelevel_f, Host_Restart_f): if the serverspawn
fails even with an existing map, issue a Host_Error().

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@827 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 10:29:26 +00:00
svdijk
e5ddd9a89a revert r612, fix VID_Test blackscreen properly
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@826 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-02 09:34:18 +00:00
sezero
3de9422114 fixed fitzquake's map existence check in Host_Changelevel_f () leaking
file handles which would end up in a Sys_Error () due to consuming all
free handles if many maps reside not in pak files.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@825 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-03-01 23:55:12 +00:00
sezero
7f9f48abc4 Opus decoding support (as an optional patch only.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@824 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-28 12:55:16 +00:00
sezero
ff3ba87e02 some codec stuff syncing with uhexen2
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@823 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-27 16:50:25 +00:00
sezero
cdfcaefb32 putenv () may conform to different standards, therefore keep the vid_center[]
static char array in VID_Init ().

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@822 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-24 17:15:04 +00:00
svdijk
9f60c1d0f8 gl_vidsdl.c: make bpp default to current bpp
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@821 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-24 16:28:28 +00:00
svdijk
ea1cffb085 gl_vidsdl.c: fix an initialization oops
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@820 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-24 13:46:19 +00:00
svdijk
d8196b6a00 gl_vidsdl.c, vid.h: cleanup some modestate related stuff (requires a clean build)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@819 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-24 13:42:23 +00:00
svdijk
eb7bc0e1b7 gl_vidsdl.c: remove modelist[0] special treatment, some cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@818 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-24 13:33:30 +00:00
svdijk
593b72da23 gl_vidsdl.c: make VID_Init independent from modelist
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@817 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-24 13:23:26 +00:00
svdijk
fed26aabf1 gl_vidsdl.c: some cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@816 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-21 19:35:21 +00:00
svdijk
224d3c720c gl_vidsdl.c: fix ValidMode(), bpp < 16 is problematic on windows
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@815 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-21 19:17:18 +00:00
sezero
fde0ddf143 comment cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@814 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-20 06:22:42 +00:00
sezero
11a827d017 convert our GL_RGB lightmaps to GL_RGBA which gives considerable
performance boost on some systems. add GL_BGRA as an option, thanks
to Kristian Duske. the format is hardcoded as GL_RGBA for now,
need a way to make it configurable later.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@813 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-20 06:01:10 +00:00
svdijk
e237fdf784 gl_vidsdl.c: make VID_Restart independent from modelist
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@812 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-19 19:20:17 +00:00
svdijk
712f5f2631 gl_vidsdl.c: make VID_Test independent from modelist
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@811 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-19 19:00:19 +00:00
svdijk
e48420f0e0 gl_vidsdl.c: some cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@810 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-19 18:18:38 +00:00
svdijk
f83aa5e3cd gl_vidsdl.c: make VID_SetMode independent from "modelist"
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@809 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-18 19:19:32 +00:00
svdijk
b2b94499da gl_vidsdl.c: don't depend on "modelist" for current mode info
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@808 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-17 18:12:00 +00:00
svdijk
d6b9b5dae8 gl_vidsdl.c: get rid of "modenum"
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@807 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-17 17:58:05 +00:00
svdijk
390b8a3d86 gl_vidsdl.c: fix windowed mode
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@806 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-14 20:46:42 +00:00
svdijk
97c0873a6b rename the modestate_t enum items
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@805 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-13 19:07:19 +00:00
svdijk
f048430e5e remove "type" from "viddef_t", use "modestate" instead
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@804 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-13 19:01:26 +00:00
svdijk
d2e1e9a11d gl_vidsdl.c: remove "modenum" from vmode_t
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@803 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-11 18:13:09 +00:00
svdijk
ca11b048b4 gl_vidsdl.c: remove "modedesc" from vmode_t
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@802 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-11 18:03:14 +00:00
svdijk
073195df45 gl_vidsdl.c: get rid of obsolete "badmode"
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@801 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-10 17:30:40 +00:00
svdijk
ed95b528e9 gl_vidsdl.c: Simplification of some functions
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@800 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-09 16:10:23 +00:00
svdijk
a300b5a4ec Some "slowkey" tuning.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@799 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-03 17:22:59 +00:00
svdijk
018e09438c gl_vidsdl.c: Remove "halfscreen" stuff.
AFAICS this is not needed for SDL, and it in fact
breaks weird widescreen resolutions such as 1280x600.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@798 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-01 20:44:25 +00:00
svdijk
ed77f509f1 Make the "speedkey" act as "slowkey" when "always run" is on.
A bit of a hack, this should really be controlled by a
separate "cl_alwaysrun" cvar, but lets stick to this for
backward compatibility for now.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@797 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-01 20:06:52 +00:00
svdijk
f5d3ae2c85 Rename the fov_adaptive cvar to fov_adapt.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@796 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-31 20:03:23 +00:00
sezero
73c85d3b38 fix quoted strings when EOF is reached before the closing '\"' and
support for C-style /*..*/ comments in COM_Parse(). some whitespace
tidy-up.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@795 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-16 19:02:23 +00:00
sezero
ab2e7e16af snd_mix.c (SND_InitScaletable): fixed an off-by-one mistake in the
signed char conversion.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@794 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-11 20:58:08 +00:00
sezero
ad0a4d569e updated arch_def.h and net_sys.h from uhexen2. adjusted users accordingly.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@793 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-07 17:30:17 +00:00
sezero
f5bed97428 relaxed PF_VarString() warnings a little.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@792 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-06 12:05:34 +00:00
sezero
65cfd112c0 pr_edict.c (PR_ValueString, PR_UglyValueString, PR_GlobalString,
PR_GlobalStringNoContents): increase static line buffer size to
512, so that excessively long global strings don't cause a crash.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@791 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-12-11 10:11:22 +00:00
svdijk
9fd9a5ba20 Remove more dead code.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@790 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-28 19:10:52 +00:00
svdijk
2fcee48f42 gl_vidsdl.c: Remove some dead code.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@789 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-22 18:58:45 +00:00
sezero
878784093a pr_cmds.c, pr_exec.c, pr_edict.c, sv_main.c: Changed several Sys_Error()
calls to Host_Error(). ED_PrintEdict_f(),ED_PrintEdicts() and ED_Count()
require an active server to print any infos. ED_PrintEdict_f cannot work
with a negative argument.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@788 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-15 17:30:43 +00:00
svdijk
d18046d314 Really fix vsync saving/loading (finally...)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@787 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-11 17:35:43 +00:00
sezero
166a0ba90d gl_model.c (Mod_LoadTexinfo): although the end result in memory
doesn't change, load the texinfo in a way consistent with the
layout of the vecs in the mtexinfo_t struct. from a recent commit
in tyr-quake git repo.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@786 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-11 09:55:55 +00:00
sezero
03ae1ca4e0 regenerate gl_extensions_nice everytime the extensions string is retrieved
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@785 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-07 12:44:30 +00:00
sezero
ab0ee719ef move GL_Init(), TexMgr_ReloadImages() and GL_SetupState() calls from
VID_SetMode() to VID_Restart() so they aren't called twice at startup.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@784 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-07 12:27:39 +00:00
sezero
a8acf5c2cf better parse for opengl extensions list (from quakeforge.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@783 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-07 07:51:41 +00:00
sezero
9b52b6eacc host.c (Host_ShutdownServer): no need to clear the sv structure, because
ServerSpawn already do this by Host_ClearMemory.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@782 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-06 08:56:09 +00:00
sezero
6bf2059dc1 made GL_Init() to be called every time a video mode is changed. we may
need to kill device and rendering contexts too, will see to that later.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@781 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-06 08:50:45 +00:00
svdijk
f04f0d9684 Fix vsync saving/loading (take three...)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@780 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-02 22:16:08 +00:00
svdijk
9a8d715124 Fix vsync saving/loading (take two...)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@779 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-02 20:04:26 +00:00
svdijk
06635c3552 Fix vsync saving/loading (hopefully...)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@778 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-01 17:34:40 +00:00
svdijk
e95a81be95 Adaptive FOV (Hor+). Patch by and thanks to rg3. Added cvar and clamping.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@777 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-31 07:30:36 +00:00
sezero
8de84ab661 added -Werror to compiler option checking so I don't have to edit
the Makefile whenever I want to use clang.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@776 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-25 11:15:15 +00:00
sezero
857b22cc1c renamed Key_ForceDest to Key_UpdateForDest. added M_Menu_Main_f()
prototype to menu.h. minor tidy-ups.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@775 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-23 08:44:20 +00:00
sezero
15e796108c deleted QuakeSpasm_Prefix.pch, doesn't seem to be used.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@774 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-22 07:10:13 +00:00
sezero
473ba1b279 added IN_UpdateForKeydest() as a new helper who does stuff if the
key_dest changes matter to the keyboard driver, e.g. sending KP_
key decisions, or SDL unicode stuff. we run it every frame either
before Sys_SendKeyEvents() or from within Key_ForceDest() for now.
(merged from uhexen2.)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@773 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-21 11:33:10 +00:00
sezero
d054cb7b23 r_part.c: fixed pointfile loading.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@772 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-21 11:02:48 +00:00
sezero
f3ceea79a2 some merges from uhexen2: clean up some crap in long chat line support.
do not set messagemode when not really connected. made chat_buffer[] and
chat_bufferlen static to keys.c. console.c uses new Key_GetChatBuffer()
and Key_GetChatMsgLen() accessor functions. renamed team_message global
to chat_team as in qw/q2. added Key_EndChat() as a new helper. called
Key_EndChat() from within CL_Disconnect() to not get stuck in chat mode.
now that key_message is guaranteed to be set only in game mode, removed
its cases from Key_ForceDest(). several other cleanups.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@771 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-21 09:55:16 +00:00
svdijk
840b173641 Another approach to fixing mouse grab/key_dest
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@770 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-15 19:53:07 +00:00
sezero
d95ac61115 removed unused global host_time
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@769 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-12 07:50:45 +00:00
sezero
5748e947b2 moved cfg_unbindall and its registration to cl_main.c. moved the
config.cfg write of unbindall to Key_WriteBindings().

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@768 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-12 07:33:11 +00:00
sezero
d2b088c943 bumped version to 0.85.9 in the development tree
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@767 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-08 08:50:49 +00:00
sezero
4d353fa99b updated README for 0.85.8 changes
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@765 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 13:24:08 +00:00
sezero
2a2a12af52 removed unnecessary m_keys_bind_grab check from autorepeats.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@764 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 13:15:15 +00:00
svdijk
4c080e33f0 some more minor changes to accomodate r761
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@763 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 12:46:57 +00:00
sezero
3aa0dc5e42 updated date stamp in the README
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@762 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 06:55:24 +00:00
svdijk
47de41b62a revert (most of) r521, r756 and r759. Alter "gamekey" handling a bit to compensate.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@761 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-06 18:09:23 +00:00
sezero
c997ffa6d1 removed duplicated assignment to the local 'was_changed'
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@760 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-06 12:28:33 +00:00
svdijk
0a3bb37df0 more mouse grab/release fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@759 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-05 18:58:59 +00:00
svdijk
74b2dbc5e3 console.c: fix skipping of first match when tab-completing
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@758 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 03:55:45 +00:00
svdijk
427c0b923c console.c: move some externals to a better place
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@757 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 03:13:40 +00:00
svdijk
89edf042b5 menu.c: fix mouse release in fullscreen console
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@756 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 03:06:52 +00:00
svdijk
33d122eda4 pl_linux.c: add a comment about magenta tranparency
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@755 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 02:26:44 +00:00
svdijk
599f3ffcb9 minor tuning of r753
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@754 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 01:57:20 +00:00
sezero
117899f402 array size fix for r752
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@753 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 21:35:16 +00:00
svdijk
f76a882d53 gl_vidsdl.c: minor improvement to bpp list creation
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@752 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 21:11:39 +00:00
sezero
e854fdbffe simplify VID_Gamma_f: the oldgamma stuff is already handled by the cvar
system itself.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@751 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 14:03:15 +00:00
sezero
d80d4bc40b further Key_Console() cleanup. made Shift-Ins to paste text like Ctrl-v.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@750 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 12:55:09 +00:00
svdijk
4d23bb4311 Style
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@749 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 08:23:00 +00:00
sezero
9d5c43b9cd in_sdl.c (IN_SendKeyEvents): fixed major thinko in SDLK_WORLD_xx
change from yesterday's r746.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@748 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-29 14:50:54 +00:00
sezero
a711a674b3 include arch_def.h in keys.c
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@747 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-28 22:24:27 +00:00
sezero
7893e29fd4 * keys.c: added K_COMMAND as a new key. added Cmd+V as a Mac special
case for paste request.
* keys.h: added K_COMMAND as a new key (170 for now).
* in_sdl.c (IN_SendKeyEvents): translate SDLK_LMETA/SDLK_RMETA as
  K_COMMAND. ignore unhandled SDLK_WORLD_* international characters.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@746 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-28 21:41:31 +00:00
sezero
dbe3e98366 text pasting support for macosx. updated macosx error dialog procedure.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@745 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-28 20:10:30 +00:00
sezero
3cf6241a52 moved clipboard pasting code into new PasteToConsole() helper procedure
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@744 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 14:00:12 +00:00
sezero
31d2de1622 updated documents for 0.85.8 changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@743 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 13:33:22 +00:00
sezero
9e57fbed53 keys.c (Key_Console): several cleanups from uhexen2. replaced in-place
strcpy() calls by proper memmove() calls. activated (and fixed) Ctrl-V
text pasting support from OS clipboard (only works on windows for now.)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@742 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 13:11:36 +00:00
sezero
7afae95cb2 added PL_GetClipboardData()
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@741 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 12:58:37 +00:00
sezero
21fecb189b finetuning of r736 & 738
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@740 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 12:55:03 +00:00
svdijk
f1cd93e5f9 keys.c: don't be case-sensitive about ctrl-c
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@739 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 12:22:51 +00:00
svdijk
2ea63382de Some finetuning of r736.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@738 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 12:19:19 +00:00
svdijk
cc0e20bb02 menu.c: style fix
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@737 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 10:58:04 +00:00
svdijk
173defd1ad in_sdl.c: Fix control-character handling.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@736 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 10:41:07 +00:00
sezero
da7af706d8 console.c (Con_TabComplete): eliminated string buffer overflow issues.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@735 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 09:55:41 +00:00
svdijk
1b58beef6d Some history browsing fixes (partly from uhexen2)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@734 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-26 17:08:37 +00:00
svdijk
52d203e252 Arrows
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@733 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-26 08:27:07 +00:00
svdijk
bcb39db085 Finetuning of previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@732 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-25 23:30:55 +00:00
svdijk
030a0b49d8 Make the key menu scrollable (otherwise we draw allmost-offscreen at max scale)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@731 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-25 17:30:11 +00:00
svdijk
278e73ec16 Simplify the linux icon transparency setting.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@730 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-25 03:07:33 +00:00
svdijk
a1d168955f Casing.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@729 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-24 17:19:01 +00:00
svdijk
a4a7b959e8 Remove unused file.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@728 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-24 11:43:36 +00:00
svdijk
3bfaeaf9ad Misc/QuakeSpasm_512.png: Remove unwanted ancillary chunks.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@727 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-23 16:40:52 +00:00
sezero
1340a4de57 recompiled mac os x codec libraries
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@726 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-16 19:40:14 +00:00
sezero
f7a974403c re-diff'ed some of the extra patches.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@725 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-15 20:11:47 +00:00
sezero
433d33682c updated documents for 0.85.8 changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@724 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-15 11:30:49 +00:00
svdijk
d21e4635e6 Simplify r343 (the "oldval" stuff is already handled by the cvar system itself)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@723 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-14 19:03:31 +00:00
svdijk
9782953b1d Make the "unbindall" in config.cfg configurable (on by default)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@722 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-12 20:14:20 +00:00
sezero
b545ab3377 updated net_sys.h from uhexen2
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@721 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 14:33:30 +00:00
svdijk
76177e127a Linux icon: one pixel tweak.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@720 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 12:44:43 +00:00
svdijk
4a2796b44e 48x48 linux icon (allowing a little more detail in the nail).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@719 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 12:21:28 +00:00
sezero
4e2a0708b4 updated documents for 0.85.8 changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@718 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 07:51:23 +00:00
svdijk
96c0b2419e Recalc refdef on sbaralpha change.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@717 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 06:55:29 +00:00
sezero
8c19aa7fc9 OSX client, Makefile.darwin: require 10.6 for amd64 builds,
not 10.5 (SDL's requirement). needed adding bundle1.o to linkage
for dyld_stub_binding_helper.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@716 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-09 07:41:43 +00:00
svdijk
52b01aedc9 keys.c:Key_WriteBindings(): Clear old bindings before setting new ones.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@715 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-08 13:46:18 +00:00
sezero
18ac8f24d2 xcode project file update from Kristian.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@714 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-08 12:50:58 +00:00
svdijk
7274fd151c Some more scale slider tuning.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@713 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-08 10:48:15 +00:00
sezero
7794b19eea minor Makefile correction
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@712 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-05 16:24:57 +00:00
sezero
b5bffe0429 makefile update
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@711 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-05 09:03:41 +00:00
svdijk
c2e1dac24c Minor readability tweak
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@710 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-05 06:07:06 +00:00
svdijk
0712a5e3ff Minor default sbaralpha tweak.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@709 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 18:38:13 +00:00
svdijk
fe2f6abc9c SCR_ModalMessage: (very) minor correction.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@708 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 18:29:01 +00:00
svdijk
75bd9bbc63 Handle some cornercases better in the scale slider.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@707 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 18:24:40 +00:00
sezero
36bb4c31e0 removed static versions of osx codec import libs.
renamed osx codec dylib import lib directory to be lib.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@706 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 07:39:43 +00:00
sezero
4669b1935e changed ToggleFullscreen failure message to be a debug print
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@705 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 06:54:59 +00:00
sezero
4e5c5f3a8f - Makefile.darwin: -mmacosx-version-min also needs to be among
the linker flags for x86_64 builds. adjusted accordingly.
- build_cross_osx.sh, build_cross_win32.sh, build_cross_win64.sh:
  added the cross-compile scripts I have been using.
- Makefiles,other: added LDFLAGS variables for future use.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@704 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-03 21:21:04 +00:00
svdijk
2712209f40 Rework the scale menu option to be more intuitive.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@703 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-03 19:47:16 +00:00
svdijk
7f11a48d57 Since it covers (part of) the weapon, make the statusbar somewhat more transparent by default.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@702 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-02 17:18:23 +00:00
sezero
0aba20390f oslibs, codecs: minor libmad update
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@701 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-02 14:00:34 +00:00
sezero
8acde73fef added SDL_FRAMEWORK to GCC_PREPROCESSOR_DEFINITIONS in the Xcode project
file. further updating is still needed.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@700 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-08-16 05:15:52 +00:00
sezero
c92128dda8 Updated support for building the OSX versions using Makefile.darwin. Do
not rely on sdl-config on OSX Framework builds, define new SDL_FRAMEWORK
and NO_SDL_CONFIG preprocessor macros to indicate that and include SDL.h
with the "SDL" subdirectory name included. Add new libmad and ogg/vorbis
headers and static and dynamic libraries for macosx. Xcode project files
need further updating.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@699 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-08-16 04:51:41 +00:00
sezero
0e33f931c9 fixed compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@698 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-19 05:40:16 +00:00
sezero
eba5d4937f cl_demo.c (CL_PlayDemo_f): set key_dest to key_game only when the
demo file is successfully opened.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@697 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-18 21:20:07 +00:00
sezero
12d663c784 * cl_demo.c: for a command like "record demoname map [track]", don't
continue if the map cannot be started. do not continue if the demo
  file cannot be opened for the timedemo command. for playdemo, verify
  that the forcetrack '\n' byte appears among the very first 12 bytes
  of the file.
* r_world.c (R_MarkSurfaces): reset vis_changed to false.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@696 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-18 20:51:35 +00:00
sezero
ac57f330d6 cl_main.c (CL_Disconnect): set cl.intermission to 0. Fixes a minor
intermission glitch which isn't hit easily. See Baker's notice at:
http://forums.inside3d.com/viewtopic.php?t=4944

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@695 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-16 17:00:24 +00:00
sezero
d1b7635b8e Fixed increased (more than 32) dynamic lights.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@694 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-10 11:21:17 +00:00
svdijk
c95ac24351 Rework the linux icon a bit, also store smaller (indexed color)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@693 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-07 20:14:52 +00:00
sezero
686fdd6fd3 arch_def.h: Added GNU/Hurd defs.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@692 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-07 07:15:23 +00:00
sezero
d2ecda1b3a GNU/Hurd has BSD-style struct sockaddr too (reported by Svante Signell
in debian bug #657793)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657793

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@691 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-07 05:09:55 +00:00
sezero
6b16d303e6 updated the README.* files for 0.85.8 development version changes until
end of June 2012.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@690 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-03 21:20:11 +00:00
sezero
993ef3018a zone.c: Use memcpy() instead of strcpy() in Hunk_Strdup() and Z_Strdup().
Removed dead Cache_Compact() function. Made mainzone static to zone.c.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@689 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 14:50:17 +00:00
sezero
f4dddb0203 updated snd bits from uhexen2. added signed 8 bit format support
to the mixer.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@688 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 12:50:09 +00:00
sezero
498fa8e1f9 updated arch_def.h and net_sys.h from uhexen2
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@687 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 11:51:23 +00:00
sezero
6a8c9824d5 * keys.h: renamed KP_* key macros to K_KP_*.
* key.c (Key_ClearStates): Instead of clearing all key's down state
  and repeat count, run KeyEvent(k,false) keys in down state, which
  will already clear those states for them. This also helps getting
  rid of several actions bound to keypad keys. Minor cleanups.
* gl_vidsdl.c (ClearAllStates): Removed code triggering every key
  with a release event, because we just changed Key_ClearStates() to
  do that for the necessary keys.
* in_sdl.c: Minor cleanups. Made K_KP_5 to send '5' when not in game
  mode, regardless of the numlock status. Moved prev_gamekey to top
  level and call SDL_EnableUNICODE() correctly.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@686 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 11:20:38 +00:00
svdijk
6832763fc1 in_sdl.c: Add missing KP_NUMLOCK key event.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@685 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-10 06:09:50 +00:00
svdijk
ab2fd06513 Small update to r683.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@684 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-08 20:06:40 +00:00
svdijk
10e987f862 Re-introduce KP_* syms, but only "in-game".
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@683 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-08 19:27:12 +00:00
svdijk
a74060efc0 pl_linux.c: Set icon only if mask creation is successful.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@682 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 18:31:41 +00:00
svdijk
550c9144c1 Makefile, Makefile.darwin: Remove the not-so-useful "install" target.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@681 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 17:29:34 +00:00
sezero
b2de394759 added missing cast in PL_CreateIconMask() to fix compilation using g++
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@680 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 10:55:35 +00:00
sezero
2357325e56 Makefiles: defined new variable LINKER. for linkage we no longer use $(CC),
but $(LINKER)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@679 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:47:45 +00:00
sezero
7e24a4457c fix linkage for solaris: needs -lsocket -lnsl -lresolv for network
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@678 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:28:34 +00:00
sezero
bfffadc040 removed the SNDDMA_GetSamples() call from snd_dma.c:GetSoundtime() for solaris
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@677 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:00:12 +00:00
sezero
9918ecc44e renamed model_t to qmodel_t in order to avoid conflicts on solaris.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@676 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 08:56:06 +00:00
svdijk
02ff5e4394 gl_warp.c: revert part of r653, not really needed.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@675 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-27 09:01:55 +00:00
svdijk
c23f8b3fff Remove no longer used Misc/QuakeSpasm_256.png
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@674 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-27 08:55:00 +00:00
sezero
3e70932fb7 minor gl_vidsdl.c cleanups: tidied up VID_SetMode(). Removed the defunct
_windowed_mouse cvar. Simplified va()+Cvar_Set() calls into Cvar_SetValue().

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@673 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-21 12:32:20 +00:00
svdijk
7b5abd184f Minor linux icon tweak.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@672 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-17 06:02:50 +00:00
sezero
792318902f don't print both of the two possible warning messages in PF_VarString()
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@671 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-15 16:10:13 +00:00
svdijk
b0c683f4cd pr_cmds.c: Make PF_VarString's buffer a bit larger (fixes UQC's menu).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@670 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-15 14:41:29 +00:00
sezero
88201290f6 removed unnecessary cb.bmp from codeblocks directories.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@669 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-12 15:28:14 +00:00
svdijk
d1327e65d7 Remove unneeded sizes (24, 64) from the windows icon.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@668 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:59:54 +00:00
svdijk
1100f09fe7 (Untested) Use new transparent icon for macosx (16, 32, 64, 128 and 256).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@667 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:38:50 +00:00
svdijk
bd5394e434 Use new transparent icon for windows (16, 24, 32, 48, 64 and 256).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@666 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:24:58 +00:00
svdijk
410082f230 Use new transparent icon for linux (32x32 for now).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@665 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 20:21:20 +00:00
svdijk
02152f52a3 Add new icon png to the repo.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@664 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 19:21:20 +00:00
svdijk
256ed6e7f6 keys.[ch]: comment out KP_* keys, since we map them to their K_* counterparts
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@663 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-23 18:01:47 +00:00
sezero
ff18f430e8 updated README files for 0.85.8 development version changes so far
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@662 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-23 17:01:11 +00:00
sezero
e4163ed108 snd_mp3.c, snd_vorbis.c, snd_wave.c: Make _sure_ that the number
of channels in the music file is supported, i.e. either stereo or
mono. Minor tidy up of the error return paths.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@661 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-22 11:02:08 +00:00
sezero
568010696c removed the envmap command which drew to front buffer. adjusted the
timerefresh command not to draw to the front buffer. also made sure
that there is an active connection when timerefresh is called.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@660 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-22 07:55:56 +00:00
svdijk
b57e204840 in_sdl.c: invert the behaviour of numlock (numbers when on, not when off)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@659 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-20 20:23:55 +00:00
sezero
8d8213f6ba common.c: until COM_CheckRegistered() is called keep the value of the
registered cvar as 1, set it right in COM_CheckRegistered().  fixes the
problem of registered game installed from later versions of cdroms not
being properly recognized by versions 0.85.6 and 0.85.7.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@658 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-20 19:47:22 +00:00
sezero
a049da1632 Limited the struct qsocket_s details only to net_*.c sources :
For menu serverlist handling, added new procedures NET_SlistSort,
NET_SlistPrintServer and NET_SlistPrintServerName. Added new
procedure NET_QSocketGetTime for status and spawn commands' print
functionality in host_cmd.c. Added new NET_QSocketGetAddressString
procedure for status and connect commands' print functionality in
host_cmd.c and sv_main.c.  Patch ported over from uhexen2.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@657 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-18 20:33:12 +00:00
sezero
cf3c6d5f5e * net_dgrm.c: Fixed the types of testSocket and test2Socket from int
to sys_socket_t.
* updated version date stamp to 2012-04-01.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@656 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-01 18:03:25 +00:00
sezero
0a32fb9214 cmd.c, gl_texmgr.c, gl_texmgr.h: killed the rest of the -Wsign-compare warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@655 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-31 18:30:09 +00:00
sezero
fab747c1ae Added file count and header crc macros for id1/pak0.pak v1.00 and v1.01
so that the corresponding shareware versions actually work properly and
not error out.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@654 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-28 17:50:47 +00:00
svdijk
bc717b3c40 gl_warp: save some cvars to config.cfg.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@653 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-25 19:08:31 +00:00
sezero
211b10935e fixed last changed date in the README files. hand-edited the generated
txt version for it to be a bit more readable.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@652 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-24 10:50:29 +00:00
stevenaaus
9213f757b2 Add libSDL gamma known issue to readme.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@651 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-24 07:10:14 +00:00
sezero
7b74929391 * mathlib.h (IS_NAN): Fixed strict aliasing violation by providing
an inline function using a float/int union instead of the original
  macro.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@650 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-24 06:24:56 +00:00
kristianduske
b6afdf63d5 Updated version strings in OS X project to 0.85.8
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@649 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-14 07:06:49 +00:00
sezero
2bbf869fe9 bumped version to 0.85.8 in the development tree
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@648 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-14 07:02:41 +00:00
sezero
e308926219 more README updates.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@646 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-13 05:10:26 +00:00
sezero
1cdbd0b07f updated README files for 0.85.7 relnotes
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@645 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-12 20:00:24 +00:00
sezero
9438b6afd6 Moved the stufftext_frame global to client_static_t structure and
adjusted CL_GetDemoMessage and CL_ParseServerMessage accordingly.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@644 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-12 08:24:16 +00:00
sezero
cf02709698 windows codecs: updated libmpg123 to latest stable 1.13.6 version.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@643 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-12 06:28:10 +00:00
sezero
fea58a1661 minor Makefile tidying
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@642 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-09 10:11:09 +00:00
sezero
628318e603 changed the rowbytes, width, height, conwidth and conheight members of
viddef_t from unsigned to signed int. fixed the -Wsign-compare warnings
for NUM_GLMODES. fixed compilation using g++, by adding a missing type
cast.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@641 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-08 10:14:58 +00:00
stevenaaus
e2391c8792 'make install' directory needs trailing slash in order to fail (desired) if directory doesn't exist.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@640 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-08 07:17:49 +00:00
sezero
023e298dde cmd.c (Cbuf_InsertText): Unconditionally add a newline after the inserted
text. Fixes executed files without a newline at the end of them eating up
followup commands.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@639 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-03 21:55:53 +00:00
sezero
391d38fc05 apply anisotropic level setting only to mipmap textures
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@638 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-18 22:04:38 +00:00
sezero
9b772c9fd2 at least use the api sensibly and don't screw the whitespace
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@637 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-12 11:33:07 +00:00
stevenaaus
97c5882297 common.c
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@636 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-12 02:59:21 +00:00
sezero
3340d9b5a4 renamed the file with spaces in its name
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@635 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 16:00:35 +00:00
sezero
3f8252bfbd common.c (COM_FindFile): reverted ultra-hacky revs. 627-629. made it to
report files which aren't found only if developer.value >= 2, i.e. used
Con_DPrintf2 of fitz for the first time since its creation.. would have
been better if I'd implement and use Sys_DPrintf() there.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@634 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 15:55:09 +00:00
sezero
b1d8f204e0 gl_texmgr.c (TexMgr_ReloadImage): reduced the hunk memory usage during
reloading of images from the bsp by not loading the whole file but by
opening the file, fseek()ing and allocating only the necessary amount.
This way, I can load and reload a save of ne_ruins with just the default
64 Mb of memory on x86 and with only 68.5 Mb of memory (-heapsize 70000)
on x86_64.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@633 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-11 14:30:19 +00:00
sezero
63f50a3d7e removed the defunct block_drawing global (btw, it was checked incorrectly
in GL_EndRendering()... )

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@632 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 22:37:07 +00:00
sezero
c6d89f9b6f in_sdl.c: fixed backspace key on Mac OS X
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@631 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 22:04:43 +00:00
kristianduske
0f8e9072b6 Removed options for ppc64 because it cannot build anyway.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@630 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-10 20:41:31 +00:00
svdijk
f73d9a3f70 make missing texture no-spam hack safer
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@629 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-08 18:22:55 +00:00
stevenaaus
eaf0bc1a59 Refine missing texture no-spam hack.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@628 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-08 00:53:29 +00:00
stevenaaus
7f37247ef0 Don't spam developers about missing external textures.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@627 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-07 20:38:34 +00:00
sezero
4e5389e53a windows codecs: Upgrade to the latest versions of ogg-
vorbis decoders.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@626 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-02-04 20:20:26 +00:00
sezero
0f97c16639 net_sys.h: Add __FreeBSD_kernel__ to the HAVE_SA_LEN list. Debian
bug entry: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657793

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@625 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-30 10:40:41 +00:00
sezero
67f407a656 snd_mp3.c (mp3_madseek): clang, -Wtautological-compare: fixed the
"comparison of unsigned expression >= 0 is always true" warning for
to_skip_samples.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@624 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-29 19:15:20 +00:00
sezero
a774e66dd1 gl_vidsdl.c (VID_Init): fixed a -Wparentheses-equality warning from clang
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@623 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-29 18:04:28 +00:00
svdijk
2bbcda8854 gl_texmgr.c: less ambiguous naming.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@622 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-24 21:24:14 +00:00
svdijk
dc6e82d3d7 gl_texmgr.c: some small improvements and cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@621 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-23 18:51:12 +00:00
sezero
776ddadab0 recompiled SDL for win32 and win64 from latest v1.2.15 (hg:rev/5273dfd19a5e)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@620 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-22 15:50:35 +00:00
svdijk
c2188a9c85 gl_texmgr.c: make sure "gl_texturemode" starts in sync with "mode".
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@619 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-21 09:51:38 +00:00
svdijk
accfc75d91 gl_texmgr.c: small optimization
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@618 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 19:31:18 +00:00
svdijk
1cdaea229a gl_texmgr.c: Make "gl_texturemode" a cvar with callback.
This has the benefit that it is stored in "config.cfg",
and is reset by "resetall" and "resetcfg". Other than
that though, it behaves exactly the same as before.
(The same console input will lead to the same result
as before when it was a command.)


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@617 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 18:59:20 +00:00
sezero
37e9b5a400 minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@616 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 17:11:24 +00:00
sezero
302e11c467 make sure gl_max_anisotropy is initialized. also added a uberparanoid check
for gl_max_anisotropy.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@615 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 20:55:27 +00:00
sezero
da6fde8df6 some form of a workaround for recursive calling of TexMgr_Anisotropy_f()
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@614 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 20:22:29 +00:00
svdijk
dec3161565 gl_screen.c:SCR_ModalMessage(): make sure we don't ignore the next keypress (after a timeout).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@613 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-19 19:09:23 +00:00
svdijk
4db1a1a004 When modetesting, redraw the screen before asking for confirmation. Otherwise the screen is just a black rectangle, which may be confusing for the user.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@612 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-18 12:48:09 +00:00
svdijk
695398b606 Make the "Reset config" message more informative.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@611 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-18 12:00:35 +00:00
svdijk
7248b2d61a gl_screen.c:SCR_ModalMessage(): sleep a little while busy-waiting.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@610 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-17 08:34:54 +00:00
svdijk
55a52a15ab - Rename the "Reset defaults" menu option to "Reset config".
- Make it reset only those cvar's that are saved to config.cfg.
- Make it as the user for confirmation.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@609 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-17 08:25:07 +00:00
stevenaaus
a3cb9cf29e Add README.music to htdocs.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@608 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-16 20:37:25 +00:00
sezero
d765686f93 SCR_CenterPrint() has been counting the lines in the wrong place: count
the copied string NOT the original.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@607 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-13 19:10:52 +00:00
sezero
1d9df2c728 removed executable property from the icon file.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@606 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-11 07:10:24 +00:00
stevenaaus
d5962b7a52 Make a proper OSX icon to replace the 'F'.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@605 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-10 22:25:43 +00:00
sezero
bb539ef7c8 fixed demo playback covering multiple maps (from Pa3PyX's hexen2 source)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@604 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-09 08:10:35 +00:00
svdijk
8e4b58c37e console.c:Con_DrawInput(): some changes for correctness and simplicity
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@603 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 13:21:42 +00:00
sezero
9dd8339eee tidy up osx mouse acceleration hack a bit more.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@602 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 09:22:43 +00:00
sezero
5e9d475661 tidied up whitespace in osx mouse acceleration hack code. fixed declaration
of the new cvar to use the new cvar flags.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@601 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:50:11 +00:00
kristianduske
31ad97cccd Fixed link to IOKit.framework in Xcode project.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@600 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:31:40 +00:00
kristianduske
f5ecfac4d4 Applied patch to disable mouse acceleration in Mac OS X.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@599 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-07 08:26:32 +00:00
svdijk
6a96da31d3 console.c: some long input line fixes (keep cursor on screen, don't clip line early, buffer size fix)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@598 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-06 21:25:42 +00:00
sezero
21c363e917 removed remaining pieces of sparkle references from documents
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@597 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-05 10:27:09 +00:00
sezero
e3e266e230 Recompiled all win64 dlls and import libraries.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@596 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-05 10:00:25 +00:00