Ozkan Sezer
b3d2bb6884
host.c (Host_ShutdownServer): no need to clear the sv structure, because
...
ServerSpawn already do this by Host_ClearMemory.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@782 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-06 08:56:09 +00:00
Ozkan Sezer
7ce7ce71ca
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@781 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-06 08:50:45 +00:00
Sander van Dijk
d15e823ab7
Fix vsync saving/loading (take three...)
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@780 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-02 22:16:08 +00:00
Sander van Dijk
a138b55fbe
Fix vsync saving/loading (take two...)
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@779 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-02 20:04:26 +00:00
Sander van Dijk
1777d5a49b
Fix vsync saving/loading (hopefully...)
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@778 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-11-01 17:34:40 +00:00
Sander van Dijk
f755ad47a3
Adaptive FOV (Hor+). Patch by and thanks to rg3. Added cvar and clamping.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@777 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-31 07:30:36 +00:00
Ozkan Sezer
f8f0cecb4a
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@776 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-25 11:15:15 +00:00
Ozkan Sezer
cf30d683d0
renamed Key_ForceDest to Key_UpdateForDest. added M_Menu_Main_f()
...
prototype to menu.h. minor tidy-ups.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@775 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-23 08:44:20 +00:00
Ozkan Sezer
5de9f199ae
deleted QuakeSpasm_Prefix.pch, doesn't seem to be used.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@774 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-22 07:10:13 +00:00
Ozkan Sezer
9f8b2dfc0d
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@773 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-21 11:33:10 +00:00
Ozkan Sezer
2a42d766a3
r_part.c: fixed pointfile loading.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@772 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-21 11:02:48 +00:00
Ozkan Sezer
9a78c9e829
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@771 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-21 09:55:16 +00:00
Sander van Dijk
73aee2dd56
Another approach to fixing mouse grab/key_dest
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@770 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-15 19:53:07 +00:00
Ozkan Sezer
1fef74e006
removed unused global host_time
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@769 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-12 07:50:45 +00:00
Ozkan Sezer
0d53e0f959
moved cfg_unbindall and its registration to cl_main.c. moved the
...
config.cfg write of unbindall to Key_WriteBindings().
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@768 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-12 07:33:11 +00:00
Ozkan Sezer
65eef1e9a8
bumped version to 0.85.9 in the development tree
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@767 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-08 08:50:49 +00:00
Ozkan Sezer
846d272ed1
updated README for 0.85.8 changes
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@765 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 13:24:08 +00:00
Ozkan Sezer
d972015b80
removed unnecessary m_keys_bind_grab check from autorepeats.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@764 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 13:15:15 +00:00
Sander van Dijk
d27dcc2bf8
some more minor changes to accomodate r761
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@763 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 12:46:57 +00:00
Ozkan Sezer
3d5787a4c4
updated date stamp in the README
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@762 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-07 06:55:24 +00:00
Sander van Dijk
95d20d835f
revert (most of) r521, r756 and r759. Alter "gamekey" handling a bit to compensate.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@761 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-06 18:09:23 +00:00
Ozkan Sezer
a19ea6b14b
removed duplicated assignment to the local 'was_changed'
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@760 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-06 12:28:33 +00:00
Sander van Dijk
d4611c823e
more mouse grab/release fixes
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@759 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-05 18:58:59 +00:00
Sander van Dijk
892aa73db0
console.c: fix skipping of first match when tab-completing
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@758 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 03:55:45 +00:00
Sander van Dijk
4ba7ad73b6
console.c: move some externals to a better place
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@757 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 03:13:40 +00:00
Sander van Dijk
c72ebc0049
menu.c: fix mouse release in fullscreen console
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@756 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 03:06:52 +00:00
Sander van Dijk
8facba5030
pl_linux.c: add a comment about magenta tranparency
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@755 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 02:26:44 +00:00
Sander van Dijk
6d8e3aa171
minor tuning of r753
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@754 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-10-01 01:57:20 +00:00
Ozkan Sezer
0dc8eab2a9
array size fix for r752
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@753 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 21:35:16 +00:00
Sander van Dijk
3be0ae496c
gl_vidsdl.c: minor improvement to bpp list creation
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@752 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 21:11:39 +00:00
Ozkan Sezer
769d2ac75b
simplify VID_Gamma_f: the oldgamma stuff is already handled by the cvar
...
system itself.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@751 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 14:03:15 +00:00
Ozkan Sezer
53c55f6bd3
further Key_Console() cleanup. made Shift-Ins to paste text like Ctrl-v.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@750 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 12:55:09 +00:00
Sander van Dijk
f2a2cd3fcf
Style
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@749 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-30 08:23:00 +00:00
Ozkan Sezer
408c366096
in_sdl.c (IN_SendKeyEvents): fixed major thinko in SDLK_WORLD_xx
...
change from yesterday's r746.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@748 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-29 14:50:54 +00:00
Ozkan Sezer
a3f4bdbbab
include arch_def.h in keys.c
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@747 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-28 22:24:27 +00:00
Ozkan Sezer
285cb42cc3
* 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@746 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-28 21:41:31 +00:00
Ozkan Sezer
642bb168ba
text pasting support for macosx. updated macosx error dialog procedure.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@745 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-28 20:10:30 +00:00
Ozkan Sezer
ddfc90fd36
moved clipboard pasting code into new PasteToConsole() helper procedure
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@744 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 14:00:12 +00:00
Ozkan Sezer
67a3c2104b
updated documents for 0.85.8 changes.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@743 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 13:33:22 +00:00
Ozkan Sezer
6254e22a29
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@742 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 13:11:36 +00:00
Ozkan Sezer
7888383087
added PL_GetClipboardData()
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@741 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 12:58:37 +00:00
Ozkan Sezer
5c7187f96d
finetuning of r736 & 738
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@740 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 12:55:03 +00:00
Sander van Dijk
ba5856c2fb
keys.c: don't be case-sensitive about ctrl-c
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@739 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 12:22:51 +00:00
Sander van Dijk
65d2186fb8
Some finetuning of r736.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@738 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 12:19:19 +00:00
Sander van Dijk
99bda4d65f
menu.c: style fix
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@737 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 10:58:04 +00:00
Sander van Dijk
c745a202af
in_sdl.c: Fix control-character handling.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@736 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 10:41:07 +00:00
Ozkan Sezer
2f9fcd69b7
console.c (Con_TabComplete): eliminated string buffer overflow issues.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@735 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-27 09:55:41 +00:00
Sander van Dijk
25d412a5e8
Some history browsing fixes (partly from uhexen2)
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@734 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-26 17:08:37 +00:00
Sander van Dijk
38ace228d8
Arrows
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@733 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-26 08:27:07 +00:00
Sander van Dijk
55b63c2f76
Finetuning of previous commit
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@732 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-25 23:30:55 +00:00