Eric Wasylishen
d19dc43311
wateralpha: add hack in cvar system so setting r_wateralpha (or r_slimealpha, etc) to their current value will still fire the callback, so we switch from using the map's worldspawn value to the cvar value
2014-08-16 22:29:44 -06:00
Eric Wasylishen
1fb6a4d24c
r_lavaalpha, r_slimealpha, r_telealpha cvar support
...
_wateralpha, _lavaalpha, _slimealpha, _telealpha worldspawn key support
_skyfog worldspawn key support
2014-08-14 14:59:40 -06:00
svdijk
4109e05962
Add a Bourne Shell PAK file writer (remove qpakman dependency).
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@964 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-11 19:59:52 +00:00
ewasylishen
450f69d843
cleanup fsaa patch, from szo. removes sdl version checks because qs requires sdl >= 1.2.10
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@963 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-11 08:08:15 +00:00
ewasylishen
6299e8fa83
fsaa support, borrowing from uhexen2. cvar is vid_multisample, cmdline arg is -fsaa (inconsistent..)
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@962 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-11 06:58:42 +00:00
sezero
690e9b5356
fix broken libFLAC builds from previous commit.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@961 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-10 11:00:26 +00:00
sezero
ea4b1912b9
recompile libflac and libmodplug (again.)
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@960 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-10 07:47:33 +00:00
ewasylishen
8df45ebbd8
bump MAX_EFRAGS to 4096 (from 2048) and MAX_CHANNELS to 1024 (from 512). For ijed's map - has over 500 ambient sounds, causing it to hit the channel limit, and a lot of static entities, which I guess cause it to exceed the old efrags limit. For future reference, according to mh, the efrags array can be removed entirely in glquake ( http://forums.inside3d.com/viewtopic.php?t=1930 ) and each efrag allocated in the hunk memory.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@959 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-10 03:33:59 +00:00
ewasylishen
ddc1ff561f
sv_aim: change default to 1 (autoaim off) and CVAR_NONE
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@958 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-07 18:47:37 +00:00
ewasylishen
be9b6c7cc9
Image_LoadImage: read pixel data in 1K chunks instead of calling getc in a loop
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@957 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-05 20:41:47 +00:00
ewasylishen
ba54bf6758
AllocBlock: cache index of last used lightmap, start search there
...
Can speed up map loading by multiple seconds on levels with a lot of lightmaps, at a cost of using slightly more lightmaps (about 5% more).
https://sourceforge.net/p/quakespasm/patches/20/
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@956 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-05 18:22:58 +00:00
sezero
b28ab20df5
cd_sdl: add back the informative message (was accidentally reverted in r953.)
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@955 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-05 18:20:29 +00:00
sezero
5d1a55ee6d
... apply a CD device stops workaround only for linux for now.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@954 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-05 17:45:22 +00:00
sezero
249226b070
revert the all-platforms form of CD device stops workaround from r948/r949 ...
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@953 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-05 17:43:45 +00:00
ewasylishen
b91624a12e
sfx lowpass filter patch
...
cvar changes:
The "sndspeed" cvar / "-sndspeed" command-line option now control whether the low-pass filter is applied. If it's set to 11025 you get the low-pass filter, otherwise it's not used.
New "snd_mixspeed" cvar (and the "-mixspeed" command-line option); these default to 44100 and just control the sample rate we request from SDL. Not archived.
New “snd_filterquality” cvar, value can be 1-5. Not archived. The “5” setting closely matches the Windows resampler, and the “1” setting closely matches the OS X resampler. The default depends on the OS, “5” is used on windows builds, otherwise “1”, because I wanted the sfx to sound the same as they do with 0.85.9 on each platform. TODO is checking if a setting other than 1 sounds closer to the system resampler on linux (though it probably depends on the distro).
The lowpass filter is only used for sndspeed=11025 and snd_mixspeed=44100, though these are the defaults.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@952 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-05 05:40:34 +00:00
sezero
47314e7be7
cd_sdl: prev and next commands must handle data tracks properly.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@951 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-04 21:20:09 +00:00
stevenaaus
0031140740
'cd next', 'cd prev' commands. 'cd play' plays track 1.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@950 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-04 00:08:22 +00:00
sezero
e192973b2a
minor cd_sdl cleanup after r948
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@949 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-02 11:00:09 +00:00
stevenaaus
eaed36cac5
Work around some CD device stops. Oz - 'CDROMSTOP ioctl causes any ioctls following immediately to fail for a considerable time'.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@948 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-02 07:51:24 +00:00
sezero
9e1b7e355b
remove dirent stuff from msvc project after r946.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@947 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-01 11:25:11 +00:00
sezero
2d777a51a5
- ExtraMaps_Init: instead strstr(), directly compare the file extension bsp.
...
- Modlist_Init: cleanup: instead strstr(), compare the file extension pak.
no need extra checking for "." and ".." in the inner while loop. break out
of the inner while loop as soon as a pak file or progs.dat is found.
- ExtraMaps_Init, Modlist_Init, windows: instead of using dirent emulation,
use windows' native FindFirstFile/FindNextFile/FindClose directly. adapted
from fitzquake-0.85.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@946 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-01 11:21:54 +00:00
sezero
fd28e6f0a7
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@945 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-01 11:15:58 +00:00
sezero
1bd564d340
update README files to reflect further 0.85.10 changes so far.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@944 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-30 11:15:17 +00:00
sezero
b7ffb3599d
remove unused var
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@943 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-30 09:45:07 +00:00
sezero
64194b83d5
reset all models and set mod_numknown to 0 upon gamedir changes.
...
fixes issue described at:
http://celephais.net/board/view_thread.php?id=60452&start=825
also see http://forums.inside3d.com/viewtopic.php?f=12&t=5509
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@942 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-30 09:33:03 +00:00
sezero
a178a424c9
Host_Game_f: fix broken behavion if -gamedir is specified. (use com_basedir, not host_parms->basedir)
...
Modlist_Init: no need for -basedir check, just use com_basedir
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@941 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-30 09:02:25 +00:00
sezero
1a852583a0
remove zombie USE_QS_CONBACK ifdefs
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@940 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-29 16:22:29 +00:00
sezero
0b1f8fb888
fix seg...
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@939 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-28 07:10:34 +00:00
sezero
699bc1430c
net_sys.h: update from uhexen2
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@938 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-20 14:37:16 +00:00
sezero
cc1c79352e
oslibs, codecs (macosx, windows): update mikmod.h from mainstream.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@937 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-20 08:21:01 +00:00
sezero
a8ec2b997a
oslibs, codecs (macosx, windows): recompile libmodplug with several
...
fixes included, and midi formats, gus patches, and wav formats loading
disabled.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@936 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-20 07:56:00 +00:00
sezero
62e7f9bef8
request 24-bit depth buffer / z-buffer. patch from Eric Wasylishen.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@935 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-15 07:03:56 +00:00
sezero
d41891d397
restore compilation with g++, some whitespace tidy-up.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@934 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-12 07:50:57 +00:00
sezero
e78f6bb02c
dynamic light speedup, patch from Eric Wasylishen, based on an earlier work by MH.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@933 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-12 07:01:58 +00:00
sezero
93cff46ed7
arch_def.h: update from uhexen2.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@932 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-11 07:06:15 +00:00
sezero
b99a7ea72a
support for GL_ARB_texture_non_power_of_two, patch from Eric Wasylishen.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@931 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-11 06:56:09 +00:00
sezero
88437cd8b1
more xcode..
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@930 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-04 11:20:46 +00:00
sezero
65554312a3
xcode project file update
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@929 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-02 11:20:44 +00:00
sezero
a2416ef43e
move MAX_OSPATH definition to q_stdinc.h. define it as PATH_MAX,
...
or as MAXPATHLEN, _MAX_PATH, or MAX_PATH if either of them is
available, or as 1024 if none are available. this would make us
safer in deep installation directory paths. darkplaces engine
seems to do the same.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@928 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-01 16:25:00 +00:00
sezero
0e8c5e90de
fix typo in xcode project file.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@927 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-01 14:11:02 +00:00
stevenaaus
2d826c699c
When crosshair is present, for simple messages (SCR_DrawCenterString), text doesnt always end with a newline (eg E1 entry in startmap), so move message up one line. Doesnt affect large messages used via SCR_DrawNotifyString(eg Socks Shadow demo).
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@926 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-29 01:22:35 +00:00
sezero
67b098a6da
oslibs (macosx, windows): recompile libFLAC with a bug fix patch applied
...
from mainstream git. (commits 6ccef14 and 2c15052.)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@925 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-28 12:50:59 +00:00
sezero
a9da246b07
oslibs: recompile ogg and vorbis codecs from latest and greatest
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@924 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-25 17:00:34 +00:00
sezero
4391d05839
add our old icon as QuakeSpasm-old.ico so that I can still compile with vs2005
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@923 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-22 05:56:37 +00:00
sezero
407d5aa13a
ditch fmin/fmax and use plain q_min/q_max
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@922 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-22 05:50:39 +00:00
sezero
1d7b642e4e
revert r907 (fmin()/fmax() is available with vs2012 and newer. patch from Eric Wasylishen.)
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@921 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 20:29:11 +00:00
sezero
688ec660ef
more project file updates.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@920 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 17:55:41 +00:00
sezero
ddbefa28fd
add mikmod to xcode project file. enable several extra codecs for osx and windows builds.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@919 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 15:50:09 +00:00
sezero
6cf9024c0a
oslibs, codecs (macosx, windows): recompile opus-1.0.3 with two
...
fixes applied from mainstream. upgrade mpg123 to latest 1.20.1.
update mikmod.h from mainstream.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@918 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 09:50:33 +00:00
sezero
e6e7cc5be3
oslibs, codecs (macosx, windows): recompile libmodplug from latest
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@917 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-15 09:50:30 +00:00