1
0
Fork 0
forked from fte/fteqw
Commit graph

796 commits

Author SHA1 Message Date
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
6b9650f045 Removed some utterly hideous coding style.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@807 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:48:13 +00:00
Spoike
f09294cc07 A fix so *spectator via forceinfokey works properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@806 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:46:49 +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
14697e2c5b csqc code added This is preliminary.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@803 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:43:13 +00:00
Spoike
969d286ca0 ctrl+enter when typing text will use say_team instead of say
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@802 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:41:54 +00:00
Spoike
cb0e9f7351 Some new cvars added for controlling ent effects (fuhquake compatability)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@801 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:40:37 +00:00
Spoike
ef62abd8f9 Fixed 3 bugs, found the extra modelindexes we need.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:40:21 +00:00
Spoike
157811e948 Fixed say prompt crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:36:37 +00:00
Spoike
aa642ce2a5 r_rockettrail and r_grenadetrail cvars added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@798 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:35:15 +00:00
Spoike
0f9893992a it's more likly to compile now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@797 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 19:55:35 +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
7a1ee42b80 fixed some warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@795 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:28:09 +00:00
Spoike
42bcf8b637 rcon bugfix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@794 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:27:30 +00:00
Spoike
ca3f6d69a6 fixme: make all calls go through this new function.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@793 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:26:54 +00:00
Spoike
17e9ea55a7 removed a warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@792 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:26:29 +00:00
Spoike
890bc1f637 chunked downloads are in
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@791 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:25:35 +00:00
Spoike
8e8d12ac19 added a chunked downloads pext.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@790 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:24:30 +00:00
Spoike
0f3b5f4b33 First version of chunked downloads.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@789 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:24:05 +00:00
Spoike
ac072a4ed6 Fixed commandline arguments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:23:31 +00:00
Spoike
11a9c23c2b First version of csqc code. It's still very limited.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@787 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:21:25 +00:00
Spoike
4341984aa6 Fixed rcon crash, fixed extreemly slow download speed (drate was bad).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@786 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 00:59:48 +00:00
Spoike
61a0b39953 ability to close specific plugins
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 20:50:45 +00:00
Spoike
999e637bc1 Hmm, can't have variably increased plugin function names if the cmd code uses pointers to the function names. This'll help emulated stuff work better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@784 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 20:50:02 +00:00
Spoike
cd85374a3a Added some new plugin function stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 17:46:40 +00:00
Spoike
fb69253127 AddCommand is more informative now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 17:39:12 +00:00
Spoike
ccf7e8bfe6 Fractional sensativities are more regular.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@781 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 17:38:38 +00:00
Spoike
a307237cff Plugins are initialised earlier, which means that all the console commands work in configs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@780 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 17:37:11 +00:00
Spoike
94e1cf50ea Downloads should be working again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@779 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 23:33:00 +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
0ea0ebecba Fixed default crosshairalpha
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@776 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 17:59:15 +00:00
Spoike
80b9437e05 Revamped console, added walljumping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 16:50:37 +00:00
Spoike
c2988990c2 I committed too much last time, so here goes for a big commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 16:29:20 +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
0ce5b03f32 It prevents a crash, but it's not fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:20:12 +00:00
Spoike
8a8240eeac Erm... Yeah, make sure it's kept accuratly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@766 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:19:27 +00:00
Spoike
666dc1efbe Shifted the palette change around.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@765 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:18:28 +00:00
Spoike
90e7206cb1 SW should support q2 models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@764 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:17:50 +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