Commit Graph

738 Commits

Author SHA1 Message Date
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
Sander van Dijk 2481e8aa28 Make the key menu scrollable (otherwise we draw allmost-offscreen at max scale)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@731 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-25 17:30:11 +00:00
Sander van Dijk 109378cf69 Simplify the linux icon transparency setting.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@730 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-25 03:07:33 +00:00
Sander van Dijk 88f0fab37d Casing.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@729 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-24 17:19:01 +00:00
Sander van Dijk d40ff6bfa8 Remove unused file.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@728 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-24 11:43:36 +00:00
Sander van Dijk 3dc347d895 Misc/QuakeSpasm_512.png: Remove unwanted ancillary chunks.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@727 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-23 16:40:52 +00:00
Ozkan Sezer ceae1f57fc recompiled mac os x codec libraries
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@726 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-16 19:40:14 +00:00
Ozkan Sezer 7b9bbb86ac re-diff'ed some of the extra patches.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@725 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-15 20:11:47 +00:00
Ozkan Sezer 73432045ff updated documents for 0.85.8 changes.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@724 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-15 11:30:49 +00:00
Sander van Dijk 60ad340d72 Simplify r343 (the "oldval" stuff is already handled by the cvar system itself)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@723 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-14 19:03:31 +00:00
Sander van Dijk 8d4edcc03b Make the "unbindall" in config.cfg configurable (on by default)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@722 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-12 20:14:20 +00:00
Ozkan Sezer 336c80ef02 updated net_sys.h from uhexen2
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@721 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 14:33:30 +00:00
Sander van Dijk 73b732f3e6 Linux icon: one pixel tweak.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@720 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 12:44:43 +00:00
Sander van Dijk 77807bd80c 48x48 linux icon (allowing a little more detail in the nail).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@719 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 12:21:28 +00:00
Ozkan Sezer b749b0a025 updated documents for 0.85.8 changes.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@718 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 07:51:23 +00:00
Sander van Dijk 14997a7f09 Recalc refdef on sbaralpha change.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@717 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-10 06:55:29 +00:00
Ozkan Sezer 59c282abac 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@716 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-09 07:41:43 +00:00
Sander van Dijk 30b7d757ca keys.c:Key_WriteBindings(): Clear old bindings before setting new ones.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@715 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-08 13:46:18 +00:00
Ozkan Sezer d132845085 xcode project file update from Kristian.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@714 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-08 12:50:58 +00:00
Sander van Dijk b85eb79407 Some more scale slider tuning.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@713 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-08 10:48:15 +00:00
Ozkan Sezer 12b0d75c05 minor Makefile correction
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@712 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-05 16:24:57 +00:00
Ozkan Sezer 5b2916b89d makefile update
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@711 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-05 09:03:41 +00:00
Sander van Dijk eab83a0f3d Minor readability tweak
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@710 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-05 06:07:06 +00:00
Sander van Dijk 57deb8c9d7 Minor default sbaralpha tweak.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@709 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 18:38:13 +00:00
Sander van Dijk e64b7509cf SCR_ModalMessage: (very) minor correction.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@708 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 18:29:01 +00:00
Sander van Dijk a6f48f01a0 Handle some cornercases better in the scale slider.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@707 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 18:24:40 +00:00
Ozkan Sezer f00f4655dd removed static versions of osx codec import libs.
renamed osx codec dylib import lib directory to be lib.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@706 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 07:39:43 +00:00
Ozkan Sezer 74e8e5f719 changed ToggleFullscreen failure message to be a debug print
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@705 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-04 06:54:59 +00:00
Ozkan Sezer 6ca3fc377b - 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@704 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-03 21:21:04 +00:00
Sander van Dijk 64b53c510c Rework the scale menu option to be more intuitive.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@703 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-03 19:47:16 +00:00
Sander van Dijk bf62017608 Since it covers (part of) the weapon, make the statusbar somewhat more transparent by default.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@702 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-02 17:18:23 +00:00