Commit Graph

984 Commits

Author SHA1 Message Date
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
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