1
0
Fork 0
forked from fte/fteqw
Commit graph

1070 commits

Author SHA1 Message Date
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
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
7673f3d17a This fixes lightmapped non-warping water on q2 bsps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@751 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:49:15 +00:00
Spoike
4effcb8172 stuffcmd was changed
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:47:31 +00:00
Spoike
756ab19471 Better handling of user defined cvars.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@749 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:46:54 +00:00
Spoike
a859377ded command line arguments are more reliable because of this.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@748 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:46:11 +00:00
Spoike
36606e1216 Q2-alike +set handling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@747 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:45:03 +00:00
Spoike
2500f221c4 Tweeked config handling lots. It's much more friendly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@746 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:44:12 +00:00
Spoike
517ba202a3 Those downloading messages were annoying me.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@745 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:41:46 +00:00
Spoike
4bf238f9ae Q2 has a button flag ANYBUTTON which actually occurs when any user presses any button at all. Which is pretty horrible really, as going to console ends intermission for all other users. :( We only set the flag if attack or jump is pressed. You can use +button8 for just anybutton still, if it's a problem in some way.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@744 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:41:01 +00:00
Spoike
5f2aa993de Needed casts. The pmove code on the server got it's own usercmd, so the clients pmove code needs to incorporate casts appropriatly also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@743 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:38:41 +00:00
Spoike
9f7ca44459 Added notarget and fly commands (and a cast for q2 gamecode's usercmds)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:36:13 +00:00
Spoike
340acfd808 Fixed a map name bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:34:59 +00:00
Spoike
63685e264b That's more stable now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:34:25 +00:00
Spoike
d30d52c8fa Q2 game code needs a very specific structure.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@739 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:33:58 +00:00
Spoike
a1d1f34fe3 Urm, yeah, that's probably better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:32:32 +00:00
Spoike
e4213157a9 Fixed a bug which was causing a Q2 game error when failing to open the level cache for writing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@737 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:31:38 +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
Spoike
94da52bb17 It now runs without any gamedata.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:11:33 +00:00
Spoike
defad00c26 r_fullbrightSkins added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:10:52 +00:00
Spoike
4ca2ea89f9 That just makes more sence.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@732 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:10:32 +00:00
Spoike
aa039d563d Don't autodownload palette/colormap afterall.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:08:47 +00:00
Spoike
444d40db67 Added support for loading an alternate sort of sort of tga
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@730 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:07:55 +00:00
Spoike
d28993bd60 Making FTE run without any gamedata.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@729 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:06:55 +00:00
Spoike
2df5251e89 Stole lh's font, for use without gamedata.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:02:25 +00:00
Spoike
b9df04076c tweeked execution of default configs to be more conservative, made bskins work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@727 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:01:19 +00:00
Spoike
4ec4d1f38d Made it so that the user may specify skin colors instead of skin names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@726 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:00:20 +00:00
Spoike
988a3a2cda fbskins is meant to be a float
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@725 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 07:58:50 +00:00
Spoike
eef16df03f Fixed the messagemode colour bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@724 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 07:58:11 +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
TimeServ
8b17508ae4 better solution
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@722 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 19:48:26 +00:00