Commit graph

814 commits

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@679 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:47:45 +00:00