Commit graph

180 commits

Author SHA1 Message Date
Spoike
936ecea483 Try to reduce blending artifacts at edges
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@859 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-29 02:15:59 +00:00
Spoike
545c635ae4 Added gl_lerpimages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 04:28:07 +00:00
Spoike
a952965761 Someone's header file doesn't include these.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@848 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 04:27:44 +00:00
Spoike
ec2d561ffd minimal sw needs this fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@847 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 04:27:17 +00:00
Spoike
2240c8983a okay, not sure why those were issues...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 01:16:40 +00:00
Spoike
4fe170410d gl_2dscale removal for windows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@837 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-27 20:45:24 +00:00
Spoike
1a14d41488 Improved video menu and 2d scale.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-26 18:56:49 +00:00
Spoike
7dfa8ee86c Asm rendering of alias models is back in now - and it works
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@833 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-26 17:16:08 +00:00
Spoike
8233e58472 mvdplay should be run fine now, once in. You can still hijack scoreboards though.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-26 03:39:47 +00:00
Spoike
51da6d3abf Fixed some warnings and stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-24 23:47:32 +00:00
Spoike
a1b3f4746e Added hardware gamma, fixed alt-tab issue where alt was still held.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@826 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-24 03:07:16 +00:00
Spoike
28fda441c8 Reworked quite a bit of 2d code... well, fps, speed and clock at least
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@824 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-23 17:49:42 +00:00
Spoike
adbd57f02c Crosshairs should be working fine now, apart from the text-based ones at least, which arn't implemented
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@820 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-23 17:42:06 +00:00
Spoike
33e1f445ba Those function pointers arn't needed
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-19 14:15:06 +00:00
Spoike
f1ae971486 Disabled GL_SGIS_generate_mipmaps. ATI driver bugs (on other peoples cards).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@816 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-18 21:10:24 +00:00
Spoike
1a50a9c85a I got annoyed at the number of messages. Made em developer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@815 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-18 21:06:46 +00:00
Spoike
569c088bcc works on ATI cards now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@814 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-18 21:05:43 +00:00
Spoike
8b0f803512 gl_shadeq1 stuff. q3 shaders on q1 maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@813 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-18 21:03:46 +00:00
KrimZon
4e2299ef64 OpenGL Shader Object Waterwarp:
Fixed to use textures for warp, and for determining distance from the edge of the screen. The second siginificantly improves performance over calculating it in the shader.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@808 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 18:06:45 +00:00
Spoike
2cc4209738 glBlah is evil. Use the realy qglBlah stuff instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:45:31 +00:00
Spoike
23dc0e4b01 Small anti-console-spam improvement.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@804 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:44:54 +00:00
Spoike
2e8ecb5dbe Removed some debug checks, added some bug fixes, should be a mite bit more robust now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@796 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:31:39 +00:00
Spoike
78e798722b Fixed application of crosshairalpha, it's now all applied properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 17:59:57 +00:00
KrimZon
a94c12c738 OpenGL Shader Object Waterwarp tidied up a bit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@777 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 17:59:29 +00:00
Spoike
9d24482f9a Well that was useless at 320
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 15:20:33 +00:00
Spoike
79dac32f14 Fixed some small bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 15:19:40 +00:00
Spoike
decefcb1ab KrimZon's water warp code works a bit better with this instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@771 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 15:18:02 +00:00
KrimZon
75c31d7223 Post Processing to do waterwarp in hardware when glslang is available
Fixed a typo creating shaders in the wrong way


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@770 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-12 22:32:09 +00:00
KrimZon
71ecb90233 Post Processing to do waterwarp in hardware when glslang is available
Currently has some kind of bug causing a program link error with no message.

gl_rmain.c
added post processing code, for waterwarp

gl_draw.c
glquake.h
initialises a texture number for use in post processing

gl_vidcommon.c
added function pointer for qglCopyTexImage2D
and its intialisation

glquake.h
put Cl before Co in the defines of gl* to qgl*

gl_rmain.c
glquake.h
gl_vidcommon.c
added a function in gl_rmain.c to init the shaders for post processing, and called it from GL_CheckExtensions


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-12 22:15:50 +00:00
Spoike
b192d3a175 SDL works a bit better now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@768 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-12 08:38:31 +00:00
Spoike
071a7cefe1 Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:16:44 +00:00
Spoike
48de667b3f that flush shouldn't be needed, and a small spot of "Changed gl->qgl".
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@762 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:14:10 +00:00
Spoike
0b4df80600 deluxmap support added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@761 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:10:11 +00:00
Spoike
f7ed8da8ef Changed gl->qgl. Preliminary csqc work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@760 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:07:50 +00:00
Spoike
d8ef0b5c2e Added mesh generation (currently as well as poly creation) Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@759 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:06:40 +00:00
Spoike
90d183cb14 Added GL only GetPalette. Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@758 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:04:42 +00:00
Spoike
8b543d0d66 Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@757 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:03:56 +00:00
Spoike
5530ac045f Added shader path for the r_drawflats. Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@756 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:01:24 +00:00
Spoike
88424fd924 changed gl -> qgl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@755 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:59:56 +00:00
Spoike
32f4b79893 Added support for deluxmaps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@754 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:54:59 +00:00
Spoike
9528e73c96 Converted gl -> qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:54:22 +00:00
Spoike
478d42c441 Removed some obsolette comments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@752 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:51:40 +00:00
Spoike
933de315ea Removed the old forms of the specular fragment program.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@736 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:13:54 +00:00
Spoike
6b17c2f8c3 Run without gamedata (server list works at least)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:12:46 +00:00
KrimZon
4b60b739f7 Added GL_ARB_shader_objects extension code in glsupp.h
Added init of the used functions to GL_CheckExtensions and some functions for the simplifying api to gl_vidcommon.c
Added the function declarations and other defines for that interface to glquake.h


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 23:34:42 +00:00
Spoike
6cc587e8e8 Make sure colour 7 is used if the server said an empty lightstyle.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@715 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 08:16:52 +00:00
Spoike
925edaf345 Hmm. Looks like that function wasn't used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@698 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-29 03:22:49 +00:00
Spoike
b49714565c Added some extra validation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@697 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-29 03:22:09 +00:00
Spoike
3e9ce35b49 Fixing colour forcing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@696 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-29 03:20:42 +00:00
Spoike
4b0395e079 Lots of stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-24 08:45:56 +00:00