svdijk
a73ecdeb79
Some "slowkey" tuning.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@799 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-03 17:22:59 +00:00
svdijk
b557bbe95d
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@798 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-01 20:44:25 +00:00
svdijk
668a3c4959
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@797 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-02-01 20:06:52 +00:00
svdijk
62e3f20e24
Rename the fov_adaptive cvar to fov_adapt.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@796 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-31 20:03:23 +00:00
sezero
4fed8b4dc8
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@795 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-16 19:02:23 +00:00
sezero
b6b05dba3d
snd_mix.c (SND_InitScaletable): fixed an off-by-one mistake in the
...
signed char conversion.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@794 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-11 20:58:08 +00:00
sezero
aeb02aa793
updated arch_def.h and net_sys.h from uhexen2. adjusted users accordingly.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@793 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-07 17:30:17 +00:00
sezero
f384dd62ac
relaxed PF_VarString() warnings a little.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@792 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-01-06 12:05:34 +00:00
sezero
99566f0991
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@791 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-12-11 10:11:22 +00:00
svdijk
94c91375b0
Remove more dead code.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@790 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-28 19:10:52 +00:00
svdijk
aa02c14d82
gl_vidsdl.c: Remove some dead code.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@789 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-22 18:58:45 +00:00
sezero
67b6e48713
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@788 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-15 17:30:43 +00:00
svdijk
e35b5dde12
Really fix vsync saving/loading (finally...)
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@787 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-11 17:35:43 +00:00
sezero
4b99d24706
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@786 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-11 09:55:55 +00:00
sezero
15b4c0e901
regenerate gl_extensions_nice everytime the extensions string is retrieved
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@785 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-07 12:44:30 +00:00
sezero
30cb1b6f12
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@784 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-07 12:27:39 +00:00
sezero
4b964ab7b1
better parse for opengl extensions list (from quakeforge.)
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@783 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-07 07:51:41 +00:00
sezero
0c81cf1a3f
host.c (Host_ShutdownServer): no need to clear the sv structure, because
...
ServerSpawn already do this by Host_ClearMemory.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@782 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-06 08:56:09 +00:00
sezero
14e1bc8b31
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@781 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-06 08:50:45 +00:00
svdijk
f499149f6e
Fix vsync saving/loading (take three...)
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@780 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-02 22:16:08 +00:00
svdijk
98f636b3e2
Fix vsync saving/loading (take two...)
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@779 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-02 20:04:26 +00:00
svdijk
348f0d559f
Fix vsync saving/loading (hopefully...)
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@778 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-01 17:34:40 +00:00
svdijk
10d5b72906
Adaptive FOV (Hor+). Patch by and thanks to rg3. Added cvar and clamping.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@777 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-31 07:30:36 +00:00
sezero
e31b3b4648
added -Werror to compiler option checking so I don't have to edit
...
the Makefile whenever I want to use clang.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@776 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-25 11:15:15 +00:00
sezero
6af46c6962
renamed Key_ForceDest to Key_UpdateForDest. added M_Menu_Main_f()
...
prototype to menu.h. minor tidy-ups.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@775 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-23 08:44:20 +00:00
sezero
a6832fd592
deleted QuakeSpasm_Prefix.pch, doesn't seem to be used.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@774 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-22 07:10:13 +00:00
sezero
266705612d
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@773 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-21 11:33:10 +00:00
sezero
59b1536174
r_part.c: fixed pointfile loading.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@772 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-21 11:02:48 +00:00
sezero
2d65a14aef
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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@771 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-21 09:55:16 +00:00
svdijk
cacff4c570
Another approach to fixing mouse grab/key_dest
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@770 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-15 19:53:07 +00:00
sezero
5f849f6ce1
removed unused global host_time
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@769 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-12 07:50:45 +00:00
sezero
baf09f0807
moved cfg_unbindall and its registration to cl_main.c. moved the
...
config.cfg write of unbindall to Key_WriteBindings().
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@768 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-12 07:33:11 +00:00
sezero
a3d9fb95d2
bumped version to 0.85.9 in the development tree
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@767 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-08 08:50:49 +00:00
sezero
5ee7768d8a
updated README for 0.85.8 changes
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@765 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 13:24:08 +00:00
sezero
21e8ded7de
removed unnecessary m_keys_bind_grab check from autorepeats.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@764 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 13:15:15 +00:00
svdijk
7a5b68f155
some more minor changes to accomodate r761
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@763 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 12:46:57 +00:00
sezero
aebec2e414
updated date stamp in the README
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@762 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 06:55:24 +00:00
svdijk
31453e6cfa
revert (most of) r521, r756 and r759. Alter "gamekey" handling a bit to compensate.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@761 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-06 18:09:23 +00:00
sezero
8684db400c
removed duplicated assignment to the local 'was_changed'
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@760 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-06 12:28:33 +00:00
svdijk
f2f1b2bdb6
more mouse grab/release fixes
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@759 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-05 18:58:59 +00:00
svdijk
05ebf704bd
console.c: fix skipping of first match when tab-completing
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@758 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 03:55:45 +00:00
svdijk
0f6c4e036e
console.c: move some externals to a better place
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@757 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 03:13:40 +00:00
svdijk
c82e5f3ef3
menu.c: fix mouse release in fullscreen console
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@756 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 03:06:52 +00:00
svdijk
56d810aef7
pl_linux.c: add a comment about magenta tranparency
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@755 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 02:26:44 +00:00
svdijk
f6d61576b0
minor tuning of r753
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@754 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 01:57:20 +00:00
sezero
45f98a8798
array size fix for r752
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@753 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 21:35:16 +00:00
svdijk
fa38f61c39
gl_vidsdl.c: minor improvement to bpp list creation
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@752 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 21:11:39 +00:00
sezero
88131d41ad
simplify VID_Gamma_f: the oldgamma stuff is already handled by the cvar
...
system itself.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@751 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 14:03:15 +00:00
sezero
fc8dec2080
further Key_Console() cleanup. made Shift-Ins to paste text like Ctrl-v.
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@750 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 12:55:09 +00:00
svdijk
98032825ee
Style
...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@749 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 08:23:00 +00:00