Eric Wasylishen
d514a51f8b
Change color to GL_UNSIGNED_BYTE
2014-10-25 15:31:12 -06:00
Eric Wasylishen
9b729cdac9
implement proper lerping
2014-10-25 15:06:00 -06:00
Eric Wasylishen
37bc1a7d0d
vertex array for alias modesl
2014-10-25 13:41:54 -06:00
Eric Wasylishen
3693b96645
Merge branch 'vp' into alias5
...
Conflicts:
quakespasm/Quake/r_alias.c
2014-10-24 20:02:04 -06:00
Eric Wasylishen
8595482a8c
fix comment
2014-10-24 14:16:09 -06:00
Eric Wasylishen
d6e3de70ed
Merge branch 'master' into vp
2014-10-24 14:13:19 -06:00
Eric Wasylishen
9b7da7e353
more comment tweaks
2014-10-24 00:33:44 -06:00
Eric Wasylishen
efa05251f1
Tweak comments
2014-10-23 23:25:49 -06:00
Eric Wasylishen
ac6a728b23
Merge branch 'master' into alias4
2014-10-23 20:00:27 -06:00
Eric Wasylishen
6fac2507ee
Fix crash with -novertexprogram
2014-10-23 14:43:25 -06:00
Eric Wasylishen
376a437df8
Comments & formatting
2014-10-23 14:16:22 -06:00
Eric Wasylishen
0234ffe6ff
Fix a typo
2014-10-23 00:06:38 -06:00
Eric Wasylishen
f5700934ad
Delete shader before generating new ones
2014-10-23 00:02:23 -06:00
Eric Wasylishen
9daba0e399
Coding style for GL_ARB_vertex_program function pointers
2014-10-22 23:43:29 -06:00
Eric Wasylishen
e099d0d8b0
Factor out shader test into GLAlias_SupportsShaders
...
Create shader in GL_Init
Use temporary mallocs in GLMesh_LoadVertexBuffers
Coding style & comments
2014-10-22 23:32:02 -06:00
Eric Wasylishen
91c11b21c7
Merge branch 'master' into vp
2014-10-22 22:43:03 -06:00
sezero
6763f8138c
bump version to 0.90.1
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1131 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-10-21 20:05:08 +00: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
Eric Wasylishen
8fc1bb9d98
memory saving: store the normals in a signed char[4]
2014-10-19 21:30:13 -06: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