Commit graph

654 commits

Author SHA1 Message Date
Spoike
5dce02d558 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 18:08:13 +00:00
Spoike
48fd9285e7 Fixes skinning issues with multiple surface models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 13:16:20 +00:00
Spoike
887d613984 Fix rgbgen topcolor and rgbgen bottomcolor
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1205 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 13:11:23 +00:00
Mark Olsen
4cf65db4b7 Endian fixes to the Q3 model loader.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 02:21:20 +00:00
TimeServ
83cc102208 m_accel/m_accel_noforce/m_threshold_noforce added, m_filter fixed up
added particle fields inwater and spawnchance
changed particle field timelimit -> spawntime
emit state is now kept (fixes rid# 1015648 FINALLY)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-06 22:39:28 +00:00
TimeServ
c30d79eb31 fix to sw character drawing (should speed SW up)
gl_blend2d (hackish cvar to get 2d blending, should work?)
fixes to pluginless compile
few other small changes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-06 07:18:29 +00:00
Spoike
a3c6317802 make d3d compile again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-06 00:36:55 +00:00
Spoike
7900f2b598 Make fov change view size in isometric.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-04 11:42:15 +00:00
Spoike
7903310326 Lots of small changes. q3 player models are working and things, though csqc. md5mesh is supported (md5anim through an alternate 'format' to specify model name and a list of md5anims).
Lots of cool stuff.

r_shadows is still broken due to depth sorting of model (and thier depth value being written too late).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:14:59 +00:00
Mark Olsen
c43ca67df6 Only include glquake.h if we're actually building a GL renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 22:35:11 +00:00
Spoike
e8e35a4a19 Why do compilers have to be so fussy ?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1189 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 16:55:42 +00:00
Spoike
16ca2a1cc8 Small, easy fix for a stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 16:51:12 +00:00
Mark Olsen
c5c278da85 origional -> original.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:52:31 +00:00
Mark Olsen
46c05df0ea allways -> always.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:33:27 +00:00
Mark Olsen
19476733cb allready -> already.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:22:15 +00:00
TimeServ
b43869f191 fix to q1 model loading
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 00:13:06 +00:00
Spoike
4fad5d02bc work, dammit!!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1149 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 17:04:36 +00:00
Spoike
50a59ff11f rewritten vast chunks of code to support MOVE_HITMODEL as well as clean some of it up a bit. Dedicated server should build now.
A couple of minor bugs fixed too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 00:53:08 +00:00
Spoike
f1ea7c0c06 Q2 works, models are depth sorted (the same time as particles).
some extra macros added. We have a full set of dp te effect builtins (but not parsing them all yet... so not advertising them either).
Dedicated server does not build. I need to add some functions to svmodel.c
sound should work properly with roq/cin/avi playback.
gl_detail should work like in ezquake. there's also a new gl_detalscale cvar
bss size should be a small ammount smaller.
all the dp te builtins will send something. But fte can't parse all of them yet.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-14 01:57:34 +00:00
Spoike
83bf982654 Small tweeks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-09 15:47:20 +00:00
Spoike
86b651132e Annother day of hacking finished.
Time for bed.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1137 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-08 00:37:52 +00:00
Spoike
7e9bbc3fac ktpro should work better now woot. a few other things too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-03 15:16:20 +00:00
Spoike
f85340b9a2 Big huge mega-whooping commit.
I wonder how many things this'll break...
On the plus side, nexuiz works well, and ktpro works as well as in mvdsv. Hurrah!


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-01 19:23:00 +00:00
TimeServ
0a25f2084f Windows XP raw input support (should fix rid#1217412?)
enhanced con_ocranaleds


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1120 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-29 21:20:34 +00:00
TimeServ
ed8f285738 con_ocranaleds preliminary (should obsolete rid# 1215521)
conwidth/conheight set to CVAR_ARCHIVE


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1119 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-26 12:31:56 +00:00
Spoike
39990c213d I wonder how many things this will break...
Anyway, made the renderer more modular (multiple gl renderers in the same binary, supported properly - menu still needs work).
Rewrote parm1-16 handling, and added support for 17-32.
Lightstyle smoothing cvar: r_lightstylesmooth


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-22 17:10:13 +00:00
Spoike
f64645ff6d Fix d3d renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1112 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-22 16:38:49 +00:00
Spoike
2c5eeb9fa4 Fix for colourless models after a vid_restart (or a flush, it turns out)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1099 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 23:50:18 +00:00
TimeServ
e5b76314ac - Q3 UI IS NOW BROKEN -
mouse5/6/7/8 attempt (rid #1217412)
DX3/DX7 dual compatibility (hopefully, needs testing)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 22:30:57 +00:00
Spoike
92c6acd4ec *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1091 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-15 04:36:20 +00:00
Spoike
def6f6fa60 So that sdl compiles
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1090 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-15 04:36:06 +00:00
Spoike
dfd8e1aaed Redesigned sound code for greater modularity.
Added support for dp6/dp7 protocols (ents are still broken).
md3 tags should work properly (still suffer from origin-of-parent interpolation bugs)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-14 04:52:10 +00:00
Spoike
c2930803d4 hopefully, everything will work that little bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 04:20:20 +00:00
Spoike
87b0e0aa80 Fixed the shadow related bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 01:58:17 +00:00
Mark Olsen
3190345f6e Moved up #ifdef RGLQUAKE so glquake.h isn't included for sw only builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 17:58:27 +00:00
Spoike
76350b3463 Added gl_motionblur cvar.
>=1 and <= 0 are bad values.
experiment to find a value you like.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1057 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 08:24:31 +00:00
Spoike
7ca1642488 Fixed r_shadows. Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1056 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 08:22:56 +00:00
Spoike
95948b35ec Rewrote FTE's NQ-compatable networking code. The nqnet functions have gone, as we support both udp and ipx through the qw code.
cl_netfps has also had some work.
Added polling of http-based master servers (gameaholic).
Lots of darkplaces compatability things added, for nexuiz.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-26 12:55:34 +00:00
Spoike
922a876cd4 bigfoot's code doesn't compile very well in windows. Heh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1052 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-23 05:32:55 +00:00
Mark Olsen
16d52bd692 Multitexturing is now enabled even if you haven't got glMultiTexCoord3fARB.
Added glDrawRangeElements "emulation" using glDrawElements for systems without
glDrawRangeElements.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1044 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-21 01:33:58 +00:00
Mark Olsen
decafeddd3 Fixed clearing of qglClientActiveTextureARB if multitexturing couldn't be enabled.
Moved printf to tell the user that multitexturing is enabled to make it really only say
that if it was. Before it would say so even if the addresses of the MT functions
couldn't be found.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-20 12:48:06 +00:00
Spoike
979df82f05 Support DP style skin files on zym models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-19 02:43:11 +00:00
TimeServ
641986a0ee r_lightmap_saturation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1024 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 01:40:01 +00:00
Spoike
4a0c02b685 Hopefully, the server will now run on 64bit archetectures.
Also, a piece of unitialialized memory should now be fixed.
there's a con_centertext cvar added
an extra default particle texture.
further dp protocol compatability stuff.
EF_ADDATIVE works on models and supposedly sprites. will do sw sprites too at some point.

Linux makefile needs work still.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-17 02:36:54 +00:00
Spoike
7c418ca423 qc string_t is now an int instead of char *, stringtable is char * instead of int.
Some fixes and extra stuff for nexuiz, but it took a protocol extension, which is currently assumed instead of queried.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-15 18:49:04 +00:00
Spoike
9a628f626b don't redefine vec4_t
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-14 23:10:38 +00:00
Spoike
9a4633b19f Compile dammit!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1012 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-14 18:30:06 +00:00
Spoike
e348dc30a2 Changed vec4_t down to vec3_t, got the server browser integrated with the menu.dat. csqc is having fun, and nexuiz should work better. Enjoy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-13 10:42:48 +00:00
TimeServ
b93695279c prerel, sw fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-08 03:41:24 +00:00
Spoike
a9d9293fc1 Changed spikeset.
Some csqc tweeks, bugfixes, additional work (yay - prediction, keyboard input!)
Some teamplay tweeks, supports much more fuhquake-compatable teamplay stuff.
Changed the texture naming scheme a bit.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-26 16:04:12 +00:00
Spoike
4b48999fdc Preliminary RBSP support.
Q3 needs retesting.
With regard to lightmaps. It currently uses only the first lightmap on the surface, and doesn't yet respond to lightstyles. This can result in some fairly patchy edges, and is a bit darker in those areas. I need to rewrite a few other areas to get the rest to work properly (like how lightmaps are drawn...). Everything else should work fine (this doesn't include working gamecode of course).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@974 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-21 00:02:01 +00:00
Spoike
ae19812e92 jk2 shader path added (which is also a cleaner name anyway...)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@973 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-20 23:54:54 +00:00
Spoike
9d65df9b4d Byteswap the palette (for macs).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@972 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-20 23:51:56 +00:00
Spoike
545b457f02 Trying to improve portability.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-19 21:09:29 +00:00
Spoike
d03c99b3eb Fixed SDL stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@967 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-19 19:31:15 +00:00
Spoike
ba70042981 Trying to fix some gamma ramp sizes. :/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@965 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 17:31:53 +00:00
Spoike
b8eca23cfb *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 17:12:18 +00:00
Spoike
ee02371019 Added an option to compleatly disable gamma ramps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@961 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 05:41:39 +00:00
Spoike
998efee8c3 Trying to fix bsd gl support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 05:35:23 +00:00
Spoike
f43b221896 Stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-16 16:21:27 +00:00
Spoike
1baee5fbe1 A small speedup, and more memory efficiency too. Won't shadowalker be happy. :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-29 03:17:17 +00:00
Spoike
d7bb31a516 Some changes. QC execution has been tweeked a little. It needs further work still.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-28 00:11:59 +00:00
Spoike
5926f9f4cf *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-23 22:14:08 +00:00
Spoike
7e1ab9e29b *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-20 02:57:11 +00:00
Spoike
2000d01334 Small changes, a few bugs fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@905 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-18 06:14:33 +00:00
Spoike
d4e494488b *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-12 23:40:42 +00:00
Spoike
ce3c561cfe CSQC is standard now, and secure via the same md4 as a map currently has.
Particle system functions renamed a bit, a few other cleanups in that area.
Console handling tweeked. Better rules for subconsoles and plugins. Commands are coloured if it'll be execed, which should help reduce occurences of chat being commands. tab compleation tweeked, partial compleation no longer changes the suggestion.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-10 03:55:18 +00:00
Spoike
2621cc6aad *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@894 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-07 08:58:26 +00:00
Spoike
9ae7e2621d SOFTWARE RENDERING IS BROKEN: DO NOT USE ASM VERSION.
Lots of changes.
CSQC should be functional, but is still tied to debug builds. It WILL have some bugs still, hopefully I'll be able to clean them up better if people test it a bit.
Precompiled headers are working properly now. Compile times are now much quicker in msvc. This takes most of the files this commit.
Restructured how client commands work. They're buffered outside the network message, some multithreaded code is in. It needs a bit of testing before it's active.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-28 07:16:19 +00:00
Spoike
9fbeb58384 Fixing v_cshift with hardware gamma on winnt. winnt sucks.
flashbangs are non-cheatie now.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-17 03:30:24 +00:00
Spoike
acde8ade44 CSQC support changes and some small bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-12 18:56:04 +00:00
Spoike
cb487034e9 csqc is now working in some ways. Hash tables use renamed functions, and a few other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-09 19:32:09 +00:00
Spoike
90bd03f65e Small cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@868 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-06 13:54:36 +00:00
Spoike
95eafd7427 some bugfixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-06 02:47:36 +00:00
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
Spoike
2976ca471e raz0 pointed out that gl was crashing on his computer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@681 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-22 13:47:57 +00:00
Spoike
835a7ea700 That's simply not needed any more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@669 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:35:19 +00:00
Spoike
5baf239a6d Tiny speedup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@668 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:34:58 +00:00
Spoike
26a1533f97 This was causing issues with q3uis.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@667 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:34:21 +00:00
Spoike
2216d9c0c0 gl schematics 2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@666 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:33:45 +00:00
Spoike
47afae3dfe Fixing tags.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@665 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:32:34 +00:00
Spoike
9db52890b2 Added profiling code, added schematics, drawflat, and stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-15 19:53:30 +00:00
Spoike
0202601875 glPolygonOffset added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@632 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 16:45:38 +00:00
Spoike
3995f947d3 Byte swapping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@631 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 16:44:36 +00:00
Spoike
2eb8db11d0 parse lightstyles for real-time lights.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@629 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:46:37 +00:00
Spoike
f6255c4713 For compleateness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@628 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:45:47 +00:00
Spoike
f43b24da6b added code to make sure we've got the right texture unit selected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@627 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:44:40 +00:00
Spoike
f20af5d236 Hmm. small speedup. :/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@620 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:31:37 +00:00
Spoike
95875ecb10 Apparently I went for non-standard paths.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@617 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-10 21:31:53 +00:00
Spoike
73966f4eb0 Okay, so that just quadroupled my framerate...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@614 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-10 01:19:07 +00:00
Spoike
bc124b1723 skin fix, and working on lighting.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@608 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:45:14 +00:00
Spoike
ec3169941f Minor code cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@607 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:44:29 +00:00
Spoike
de9cbc723d fix for failure to intilize a stencil buffer, plus some other stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@606 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:43:19 +00:00
Spoike
73801ca93e Fixed some gcc warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@605 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:42:00 +00:00
Spoike
9d91cf3900 double gammaflash gone, as have some gcc warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@604 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:41:14 +00:00
Spoike
7f27b34915 Fixed a gcc warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@603 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:40:30 +00:00
Spoike
7d725cb5b1 gl video initialisation code to be used with SDL.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@602 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:39:52 +00:00
Spoike
719a42f98e don't try using sw gamma if hw gamma is enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@585 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-08 04:03:36 +00:00
Spoike
f879422fb7 Small cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-08 04:02:57 +00:00
Spoike
33d19c0cf4 Whoops... Someone broke dedicated builds..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-05 16:34:06 +00:00
Spoike
e02bbec528 crosshair uses nearest instead of linear sampling. Linear was making it disappear half the time, so..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@566 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-05 08:28:47 +00:00
Spoike
7acdaa8779 Renders a little bit better now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@565 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-05 08:27:38 +00:00
Spoike
820907cb25 defs needed for realtime lighting on models and for doom replacement texture loading (when lacking the origional texture - which shouldn't be happening in my testbed.).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@564 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-05 08:26:33 +00:00
Spoike
75c585e397 windowed gl mode is now resizable via cursor.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@563 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-05 08:25:01 +00:00
Spoike
b025b87225 I used the wrong variable name... sorry.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@550 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-03 10:13:54 +00:00
Spoike
72abdd25a3 hack to fix unnamed textures in bsps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-03 09:43:35 +00:00
Spoike
4de01cfdca mirrored ents angled correctly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@545 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-02 07:11:32 +00:00
Hexum
2d90a24fbc make it build on linux
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@539 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-29 05:52:57 +00:00
Spoike
854f5340c1 server can be configured out, rtlights are a bit more responcible.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@538 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-29 01:21:00 +00:00
Spoike
9af4c7df7f we can connect to DP servers, dynamic lighting code was revised a little, a new cvar was added to control the extra feature, lights can be flagged with where they should appear, skin code was revised (to include models), fruity textures fixed, r_loadlit 2 failing to save is fixed. NQ demos smoothed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@537 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-27 08:16:25 +00:00
Spoike
619d7d14dc That's zym models skinned.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 16:14:49 +00:00
Spoike
9d80d5445e Animation is perfect now... gotta fix texturing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@530 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 15:30:34 +00:00
Spoike
29b9f70e42 zym models now work a little better... still not skinned... or using the correct animations, but they do work a bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@528 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 14:58:32 +00:00
Spoike
7a5b5d220b Cleaned up. Part way through zym models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 01:23:45 +00:00
Spoike
bdd87a38ba cleaning up a little bit of stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 01:16:43 +00:00
Spoike
2bcf7e04c3 restructured model loading to fail to load rather than error if given an unrecognised model.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-20 01:10:18 +00:00
Spoike
5e523f6c29 Well, this makes tga files nicer looking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@490 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-20 01:09:18 +00:00
Spoike
b8a58b4db2 q3bsps suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@489 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-20 01:08:16 +00:00
Spoike
ac284a1b94 Adding a few tiny optimisations and playdemo working on qwd files again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-18 17:55:04 +00:00
Spoike
8dc7815228 changes angles->axis and stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@467 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-17 18:13:33 +00:00
Spoike
bc260e8e72 units-per-second counter (seperate from fps)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@466 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-17 18:12:24 +00:00
Spoike
d6ee27a098 Hopefully this will fix the culling issues that purplehaze reported.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@427 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-15 13:00:59 +00:00
Spoike
2f53eab1a0 Hmm. Get regular shaderless code compiling again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-15 12:59:57 +00:00
Spoike
a0bf669e3e fixes for the new backend.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@418 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 17:31:04 +00:00
Spoike
10ad1bbade Made fog a little more resliliant to distance.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@384 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 07:12:13 +00:00
Spoike
f1c3a20eef How hideous. A glquake dir...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 07:08:32 +00:00
Spoike
76b15ade25 Added support for GL_EXT_compiled_vertex_array
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 07:07:44 +00:00
Spoike
8dffeea9ad Fixed a pretty serious problem with q3 shader rendering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-27 23:33:35 +00:00
Spoike
f2ddeefe19 Warning and target fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 23:06:29 +00:00
Spoike
6f84b3c3f3 Adding scissor support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 14:55:41 +00:00
Spoike
4ed2994308 Added a few messages to let people know which models are being buggy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@366 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 14:54:59 +00:00
Spoike
4f36d50f60 Few bug fixes and some q3 compatable shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-19 16:10:14 +00:00
Spoike
ef1c50ef77 q3 compatable shader parsing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-19 15:56:22 +00:00
Spoike
dbf313157a ATI drivers properly support SetDeviceGammaRamp, so now so do we.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-14 12:31:29 +00:00
Spoike
81cc41e4a4 now prints the name of the sprite that has an invalid frame.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-14 11:14:46 +00:00
Spoike
4d528922fd plugins
capture_codec tga/png/jpg
Changed intensity of hud images so that high-gamma settings work... (maybe too much)
Small progs changes that fixes hexenc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-13 07:24:59 +00:00
Spoike
3e75ffd266 People don't like bright green ... :(
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-13 06:33:10 +00:00
Spoike
ea5c476ced I need to commit more often...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-10 06:32:29 +00:00
Spoike
738993eba9 tightened lightmap loading, added traces.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-07 13:16:43 +00:00
Spoike
db58b57cf8 GL_SGIS_generate_mipmap added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-07 13:14:42 +00:00
Spoike
0f1a14e0a9 trace prints. (ignore me)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-07 13:13:15 +00:00
Spoike
e2e008d695 fixing visability of tracked players with cl_chasecam 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-04 07:27:41 +00:00
Spoike
70747835c1 fixing visability of cl_chasecan 1 tracked players.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-04 07:26:59 +00:00
Spoike
5fbe74b582 Small stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 22:52:02 +00:00
Spoike
5b197459eb skys are pausable now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 10:13:22 +00:00
Spoike
173875eb5f fixing gl_2dscale bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 09:46:09 +00:00
Spoike
d89c1944ff fixing gl_2dscale bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 09:46:00 +00:00
Spoike
bc49957d23 those conditions are slightly better than before.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-01 22:17:33 +00:00
Spoike
6f52211bb2 fixing gamma ramps and stuff... god I hate windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-01 02:19:17 +00:00
Spoike
b81cfa6077 playing with lit file paths, so that qw/maps/2fort5.lit isn't a higher priority than fortress/lits/2fort5.lit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@276 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 23:02:52 +00:00
Spoike
0c6d688751 removed a pointless if statement.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@272 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:48:09 +00:00
Spoike
705d84c214 teamplay info
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:47:31 +00:00
Spoike
fbda24bd34 trying to fix the whole gl_2dscale stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:47:02 +00:00
Spoike
d592a4f647 hmm. is that better at all?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@269 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:46:24 +00:00
Spoike
6391f4428f supports norms, and might actually be a tiny bit faster at loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:45:08 +00:00
Spoike
75764a9c5d should make task switches more reliable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-27 07:23:47 +00:00
Spoike
98f3a782f7 Does this make you happy alex? does it? will you just leave me in peace? please?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-27 06:33:25 +00:00
Spoike
af8b141be8 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-26 03:34:26 +00:00
Spoike
f25bf204a9 small bug fix, part way through adding plugin stuff for menu support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-26 00:30:42 +00:00
Spoike
018e0cc849 so gl_2dscale takes effect if the user manually resizes the window with the mouse cursor. Kinda funky.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-24 04:42:10 +00:00
Spoike
98bd148fa1 fixing avi files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-24 04:41:26 +00:00
Spoike
9c59fafc3e lots of changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-20 23:25:38 +00:00
Spoike
191d638cce fixing warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@213 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-14 21:40:24 +00:00
Spoike
6702b3831b yeah, I know it's annoying, but at least it'll work now when the client is not connected to a server.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-14 21:39:54 +00:00
Spoike
847c3d9675 is that any more efficient and bsp-light bug free?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-14 05:16:04 +00:00
Spoike
e393b9ae3f r_loadlit 2 will generate lux files even if the user has a lit (without overwriting the lit) - needs HLbsp testing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@205 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-14 05:14:46 +00:00
Spoike
9c94742305 Some GCC compiler warnings fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-13 04:16:52 +00:00
Spoike
c0c2130978 Adding stuff like specular highlights - required changes to texture loading to prevent gamma adjustments on all textures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-13 03:20:04 +00:00
Spoike
c680b957a2 that's mirrors working properly then.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@184 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-08 17:58:00 +00:00
Spoike
1472d7ee24 Same as LTFACE - but with a better filename case...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-08 13:34:51 +00:00
Spoike
7f4db5a2c5 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-08 13:34:12 +00:00
Spoike
67ea52427e trying to fix bsp alpha
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@175 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 23:21:09 +00:00
Spoike
fbe070f46d Does this compile any better with dedicated servers?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 23:09:43 +00:00
Spoike
74a28bc472 trying a more interesting lighting system on alias models... What do you think?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@169 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 23:09:15 +00:00
Spoike
011366be8e Trying to get better doom clipping - still doesn't work right.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@162 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 18:23:54 +00:00
TimeServ
de51889f62 transtable/palconvbits updates
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-06 01:18:24 +00:00
Spoike
12c8cef385 most noticably an attempt at vertex arrays, but also includes an optimisation to the normal rendering to give an extra frame per second,,, I was hoping for more. Also small fix for q2 transparent surfaces.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@140 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-04 18:15:18 +00:00
Spoike
420ab4ba75 that parameter changed, so the reference needs to too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@139 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-04 18:10:45 +00:00
Spoike
3cd3e0a025 water warp stuff for proper q2 transparency support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@138 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-04 18:08:51 +00:00
Spoike
a27cb81452 Support q2 transparency properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@137 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-04 18:07:54 +00:00
Spoike
d6484d39ec So that's why splitscreen is broken then... *sigh*...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@136 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-04 18:07:07 +00:00
TimeServ
3b26e6ff2f r_partconvbits
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@111 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-02 04:23:16 +00:00
Spoike
d6b2210e12 Load texture filenames out of a small config like text file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@109 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 22:59:56 +00:00
Spoike
bc95321687 fix for alternate viewports.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 00:08:39 +00:00
Spoike
b5f284f7d6 bye bye warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@97 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 00:02:43 +00:00
Spoike
ade2b682c6 made gldraw_cachepic more resiliant to binaray files that are not lmps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@96 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 00:02:00 +00:00
Spoike
cc9d8d71d8 say hello to TEI_SHOWLMP2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@95 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 00:01:08 +00:00
Spoike
30962f9bcf Two fields that no-one wants.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@90 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-31 09:23:38 +00:00
Spoike
5831ec922c Nothing uses that member any more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@89 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-31 09:22:56 +00:00
Spoike
823b950751 Fixing a bug - this one was breaking DP_ENT_ALPHA
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@88 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-31 09:22:12 +00:00
Spoike
ac202273b7 Negative dlights was causing weird effects - disable them with r_shadows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@87 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-31 09:21:16 +00:00
Spoike
304d947a46 This function wasn't used anywhere anymore
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@86 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-31 09:19:11 +00:00
Spoike
c2669282d7 function was removed
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@85 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-31 09:18:39 +00:00
Spoike
eeb7c66232 clearing some unused members.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@84 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-31 09:18:09 +00:00
Spoike
30605d11b7 D3D support should set the video mode via D3D rather than windows - this allows proper support for various duel-driver systems. (where we wouldn't know which screen was which anyway)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@69 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-27 00:51:25 +00:00
Spoike
b0fb7f242c Err... How'd that get there?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@68 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-27 00:49:50 +00:00
TimeServ
8e349ffdb3 oops, this breaks particle surface emittance altogether, so right now it's a tradeoff between unnecessary memory usage and cpu vs no surface emittance
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@45 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-26 00:29:24 +00:00
TimeServ
b88c2dc2b9 small particle fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@39 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-25 01:15:27 +00:00
Spoike
262eb2d8a1 Errr.. does this make it work a bit better?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@31 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 06:22:22 +00:00
Spoike
985c70e051 I want D3DMultMatrixf to work... This is on the way, but it's not perfect, or fully functional. Just better than nothing drawn...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@25 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 04:00:48 +00:00
Spoike
a515abba52 Added our motives for the if...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@24 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 03:59:26 +00:00
Spoike
b32f15ce2a Initial Commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@23 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 03:58:21 +00:00
Spoike
8184225473 Initial Checkin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@15 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 00:15:46 +00:00
Spoike
8aa0eee611 Initial checkin of OpenGL renderer
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-22 22:29:09 +00:00
Spoike
f64029bbc8 Initial checkin - OpenGL to Direct3D wrapper.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-22 22:26:37 +00:00