Eric Wasylishen
91c11b21c7
Merge branch 'master' into vp
2014-10-22 22:43:03 -06:00
ewasylishen
cfea94ddc2
Tweak the MH dynamic lighting speedup to be more correct: upload the lightmaps from the current frame instead of the previous frame.
...
It was possible, but unlikely, to see artifacts from the previous code in some circumstances, e.g. "host_maxfps 10" and spin around quickly near a flashing light e1m1, you may see a surface drawn with an out-of-date lightmap for one frame.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1130 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-21 19:27:42 +00:00
sezero
352c310f99
minor tidy-ups
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1128 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-18 17:00:34 +00:00
svdijk
e876e88f74
Windows/QuakeSpasm.rc: Revert unintended change in r1126.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1127 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-18 16:34:48 +00:00
svdijk
06b30e467f
sdl: Make our error checking for SDL_Init(SubSystem) consistent with the SDL wiki/test programs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1126 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-18 16:33:01 +00:00
sezero
6ccb3e9b9b
run SDL_Quit() at exit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1125 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-18 11:20:14 +00:00
sezero
0d7b6ea734
recompiled SDL2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1124 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-18 11:04:29 +00:00
Eric Wasylishen
de8cf8fcf2
memory saving: store the normals in a signed char[4]
2014-10-18 01:06:38 -06:00
Eric Wasylishen
ae9401b0c4
tidy shader files
2014-10-18 00:16:52 -06:00
Eric Wasylishen
c6493966b3
allow disabling vp
2014-10-17 16:44:42 -06:00
Eric Wasylishen
16b8e4f259
don't skip vbo check
2014-10-17 16:34:36 -06:00
Eric Wasylishen
9a0d529195
tear out glsl stuff
2014-10-17 16:29:19 -06:00
Eric Wasylishen
d1bd72037e
get it working.
2014-10-17 15:42:08 -06:00
Eric Wasylishen
f87c677fd0
wip: backport vertex shader to arb assembly
2014-10-17 17:09:55 -04:00
sezero
d892c29046
update document dates
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1123 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-17 11:34:10 +00:00
ewasylishen
9964eb811a
readme: add a note that the Windows DPI scaling issues are fixed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1122 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-17 00:21:20 +00:00
ewasylishen
ad600c8f9c
sys_sdl_win: Sys_SetDPIAware: only call GetProcAddress on a non-NULL library handle
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1121 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-17 00:15:49 +00:00
ewasylishen
b8f1010b30
readme: remove section about High-DPI workaround as we've got a proper fix now
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1120 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-17 00:15:40 +00:00
ewasylishen
6bcdf105c9
sys_sdl_win.c: Sys_SetDPIAware: call SetProcessDPIAwareness / SetProcessDPIAware
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1119 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-16 23:01:43 +00:00
Eric Wasylishen
f4cd8e8e5f
Remove dead code
2014-10-15 21:46:30 -06:00
svdijk
8f66647544
keys.c: Add keynames BACKQUOTE and TILDE, to facilitate (un)binding them from the console.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1118 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-15 17:32:40 +00:00
svdijk
28c51c182b
keys: K_ALT is not a consolekey (it was accidentally added in r1112).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1117 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-15 06:18:29 +00:00
svdijk
05bfe07525
console.c: When toggling the fullscreen console off, clear the current line.
...
This is consistent with toggling the in-game console off, and fixes stray '`' or '~' (or '^' or '\' or ..., depending on the keyboard layout) characters.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1116 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-15 06:06:18 +00:00
svdijk
77e62b4750
keys.c: Ignore control characters in Char_Event(), to prevent text input when pressing ctrl-c/ctrl-v.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1115 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-15 05:58:54 +00:00
Eric Wasylishen
f293b1b7f2
don't mutate cached paliashdr_t, since we might have to reload it from disk
2014-10-14 18:52:21 -07:00
Eric Wasylishen
af6131d944
Whoops
2014-10-14 15:23:32 -07:00
Eric Wasylishen
77306075d1
add credits for borrowed code from RMQEngine
2014-10-14 14:45:29 -06:00
Eric Wasylishen
3483a74c91
Add some guards around new glsl aliasmodel code
2014-10-14 14:45:29 -06:00
Eric Wasylishen
c1923dc909
fix fog in alias vert shader
2014-10-14 14:45:29 -06:00
Eric Wasylishen
ee8b6c4997
cleaning
2014-10-14 14:45:29 -06:00
Eric Wasylishen
a19f0e8986
Tidying r_alias
2014-10-14 14:45:29 -06:00
Eric Wasylishen
ef6e449551
Work around SDL failure to probide PFNGL... typedefs
2014-10-14 14:45:29 -06:00
Eric Wasylishen
ceca8dd695
fix world rendering on windows
2014-10-14 14:45:28 -06:00
Eric Wasylishen
9cb668e087
Alias model drawing derived from RMQEngine
2014-10-14 14:45:28 -06:00
ewasylishen
985115faed
in_sdl: change DBEUG_INPUT preprocessor check to an "in_debugkeys" cvar to make it easier to debug unusual keyboards
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1114 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-14 18:31:49 +00:00
svdijk
fffa72d681
input: Minor fix in Char_Event().
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1113 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-14 17:13:03 +00:00
svdijk
fbc9dda4aa
input: Remove some of stuff obsoleted by r1110.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1112 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-14 17:10:34 +00:00
ewasylishen
cce98d6b9b
in_sdl.c: make key debug logging more verbose
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1111 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-14 04:03:16 +00:00
ewasylishen
6caa4dbf59
in_sdl.c, key.c: Fixes agreed on with Sander:
...
1. Remove Key_IgnoreTextInput(), and simple always send a Char_Event when
we receive TEXTINPUT (SDL2) or the unicode field of a KEYDOWN event is
filled (SDL1.).
2. Remove handling of K_KP_* in the menu/console, since they cannot be
relied on to not also send text (see issue described above). The handling
of K_KP_ENTER can stay, since we do know that it never sends text.
3. Remove the interpretation hack for the numpad, since it will no longer
be needed (and doesn't currently work for SDL2 anyway); if a numpad key
generates text we will handle it (because of "1"), if not then it will
simply be if ignored (because of "2”).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1110 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-14 03:30:44 +00:00
ewasylishen
e404d2ba60
in_sdl: remove lastKeyDown hack
...
was no longer needed and was causing issues typing underscores (US keyboard layout) on Linux/SDL2 where SDL_TEXTINPUT is delivered before the SDL_KEYDOWN.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1109 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-13 03:21:47 +00:00
ewasylishen
da24855356
in_sdl: add some debug logging for key events (only if DEBUG_INPUT is defined)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1108 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-13 03:21:40 +00:00
sezero
c07fb885f9
Xcode: rename QuakeSpasmSDL2 target to QuakeSpasm-SDL2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1107 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-12 17:15:06 +00:00
svdijk
6f62e527d5
codeblocks: Remove unused files, minor tuning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1106 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-12 16:46:21 +00:00
sezero
419671e215
add sdl2 targets to codeblocks projects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1105 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-12 14:00:07 +00:00
sezero
68ec5ac1a7
add an sdl2 target to msvc builds
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1104 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-12 12:38:07 +00:00
sezero
26aca14034
fix sdl2-msvc build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1103 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-12 11:20:34 +00:00
sezero
3cedcda066
recompiled SDL1.2 for windows
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1102 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-12 09:27:44 +00:00
sezero
cd369d538f
minor whitespace adjustments
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1101 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-11 19:11:40 +00:00
ewasylishen
66a114d9dd
changelog: mention -notexturenpot and -novbo
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1100 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-11 18:11:16 +00:00
sezero
810f4bbe1e
update documents
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1099 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-11 12:05:25 +00:00