Commit graph

1133 commits

Author SHA1 Message Date
sezero
797b3bd0f8 minor cd_sdl cleanup after r948
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@949 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-02 11:00:09 +00:00
stevenaaus
542d5fa7af Work around some CD device stops. Oz - 'CDROMSTOP ioctl causes any ioctls following immediately to fail for a considerable time'.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@948 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-02 07:51:24 +00:00
sezero
96b54ac281 remove dirent stuff from msvc project after r946.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@947 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-01 11:25:11 +00:00
sezero
7607413752 - 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: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@946 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-08-01 11:21:54 +00:00
sezero
55a53448bd git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@945 af15c1b1-3010-417e-b628-4374ebc0bcbd 2014-08-01 11:15:58 +00:00
sezero
87ea0aa428 update README files to reflect further 0.85.10 changes so far.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@944 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-30 11:15:17 +00:00
sezero
0e61048c3a remove unused var
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@943 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-30 09:45:07 +00:00
sezero
03d4fbd008 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: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@942 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-30 09:33:03 +00:00
sezero
d0c12c25e0 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: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@941 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-30 09:02:25 +00:00
sezero
5e4d70f293 remove zombie USE_QS_CONBACK ifdefs
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@940 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-29 16:22:29 +00:00
sezero
c78e4879b9 fix seg...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@939 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-28 07:10:34 +00:00
sezero
f825870bae net_sys.h: update from uhexen2
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@938 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-20 14:37:16 +00:00
sezero
512a424aac oslibs, codecs (macosx, windows): update mikmod.h from mainstream.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@937 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-20 08:21:01 +00:00
sezero
0e8801bb78 oslibs, codecs (macosx, windows): recompile libmodplug with several
fixes included, and midi formats, gus patches, and wav formats loading
disabled.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@936 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-20 07:56:00 +00:00
sezero
cca7a948b9 request 24-bit depth buffer / z-buffer. patch from Eric Wasylishen.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@935 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-15 07:03:56 +00:00
sezero
3f3ff65891 restore compilation with g++, some whitespace tidy-up.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@934 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-12 07:50:57 +00:00
sezero
0cf1b4cadd dynamic light speedup, patch from Eric Wasylishen, based on an earlier work by MH.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@933 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-12 07:01:58 +00:00
sezero
a46a955178 arch_def.h: update from uhexen2.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@932 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-11 07:06:15 +00:00
sezero
048d040ee0 support for GL_ARB_texture_non_power_of_two, patch from Eric Wasylishen.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@931 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-11 06:56:09 +00:00
sezero
18c6fc37e1 more xcode..
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@930 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-04 11:20:46 +00:00
sezero
f99fc06f36 xcode project file update
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@929 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-02 11:20:44 +00:00
sezero
95de5ce44d 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: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@928 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-01 16:25:00 +00:00
sezero
42b0b1abb3 fix typo in xcode project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@927 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-01 14:11:02 +00:00
stevenaaus
f9eb7662e2 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: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@926 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-29 01:22:35 +00:00
sezero
80141c555a oslibs (macosx, windows): recompile libFLAC with a bug fix patch applied
from mainstream git. (commits 6ccef14 and 2c15052.)


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@925 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-28 12:50:59 +00:00
sezero
4b08a6f5fc oslibs: recompile ogg and vorbis codecs from latest and greatest
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@924 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-25 17:00:34 +00:00
sezero
b770a72872 add our old icon as QuakeSpasm-old.ico so that I can still compile with vs2005
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@923 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-22 05:56:37 +00:00
sezero
2839c6c65f ditch fmin/fmax and use plain q_min/q_max
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@922 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-22 05:50:39 +00:00
sezero
40c893ee52 revert r907 (fmin()/fmax() is available with vs2012 and newer. patch from Eric Wasylishen.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@921 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 20:29:11 +00:00
sezero
5090b8b03d more project file updates.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@920 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 17:55:41 +00:00
sezero
ad8d791aca add mikmod to xcode project file. enable several extra codecs for osx and windows builds.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@919 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 15:50:09 +00:00
sezero
85cd1a5c9e 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: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@918 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 09:50:33 +00:00
sezero
0fde06d2b3 oslibs, codecs (macosx, windows): recompile libmodplug from latest
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@917 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-15 09:50:30 +00:00
sezero
4cc9d930f3 oslibs, codecs (macosx, windows): recompile libmodplug and regenerate some import libs.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@916 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-10 14:02:09 +00:00
sezero
c9469ac56f recompile libmikmod using latest stable 3.3.6 release
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@915 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-05-17 09:40:16 +00:00
sezero
9d7f78045e recompile opusfile-0.3 with commits 4668395, 49233eb, d669790, d3186ed,
fc3e5de, 773cd69, ee91177 and 6f482ef applied from mainline.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@914 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-05-17 09:03:07 +00:00
sezero
bb50e6f333 update README files
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@913 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-29 11:02:41 +00:00
sezero
be0b36a977 update README files
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@912 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-29 11:00:31 +00:00
stevenaaus
f0800fa49f Make sv_aim persistant.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@911 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-29 08:28:52 +00:00
sezero
217683f3c9 SCR_ScreenShot_f: dont bother GL_PACK_ALIGNMENT restoring
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@910 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 20:10:34 +00:00
sezero
a949e0e207 fix screenshots when width isn't a multiple of 4. explained by Sander van Dijk.
also check that malloc() didn't fail.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@909 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 08:12:42 +00:00
sezero
f924896f4a gl_model.c (CalcSurfaceExtents): fix a lighting glitch due to floating point precision. patch from Eric Wasylishen.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@908 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 06:10:12 +00:00
sezero
2373b95d36 fmin()/fmax() is available with vs2012 and newer. patch from Eric Wasylishen.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@907 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 05:50:58 +00:00
sezero
2dbd1fb411 load custom quakespasm.pak from <com_basedir> instead of id1/
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@906 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 05:40:28 +00:00
sezero
8ecf7ffdf0 comment out COM_DefaultExtension
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@905 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-27 08:33:05 +00:00
sezero
a40adf1e46 revert r903 and the old conback hack commits. change the engine
to load id1/quakespasm.pak for content customizations.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@904 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-27 08:28:16 +00:00
stevenaaus
c29bc2e814 Overide some old fashioned default bindings (from Eric - https://sourceforge.net/p/quakespasm/patches/17/).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@903 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-26 10:28:13 +00:00
sezero
bdbd0d00cc Avoid using COM_DefaultExtension() whenever possible: it may lead
to unpredictable results. Use a new procedure COM_AddExtension()
which appends the given extension to the path if the one it has,
if any, doesn't match. In Host_Game_f(), reject "." as the path.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@902 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-26 07:50:54 +00:00
sezero
109050b311 Unix (at least Linux) man pages for mkdir(2) document the EEXIST
error: "pathname already exists (not necessarily as a directory).
This includes the case where pathname is a symbolic link, dangling
or not." So, add a check to see if the existing pathname is really
a directory.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@901 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-24 08:10:15 +00:00
sezero
e1a715de69 osx port: update SDLMain.m from SDL hg repository/SDL-1.2 branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@900 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-18 16:05:59 +00:00
sezero
62d5a02ab4 progs.h: leafnums array in edict_t needs to be int, not short. patch from Eric Wasylishen.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@899 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-13 09:03:48 +00:00
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