Commit graph

193 commits

Author SHA1 Message Date
Mark Olsen
20880b07be Fix use of uninitialised variable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1159 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-25 13:35:14 +00:00
Mark Olsen
b5d6325fe3 Redid COM_StripExtension to only strip from the first dot after the last slash in a filename.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1158 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-25 13:23:42 +00:00
Mark Olsen
1455020790 Added newline at end of file to shut up GCC.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1154 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-20 20:21:10 +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
Mark Olsen
c428a29469 More endian fixes, Q3 maps work on big endian machines now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-09 17:14:55 +00:00
Mark Olsen
78390adbfa Some byteswapping for Q3 maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1142 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-09 16:36:26 +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
Mark Olsen
09d65658b4 Fixed to work on big endian.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1132 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-05 16:55:59 +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
d63bedbad1 -basegame fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1118 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-25 03:03:32 +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
c920170d2a Bugfix: fix crash with no active game paths...
Shouldn't really happen anyway.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1110 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-21 14:41:37 +00:00
Spoike
b172d60b88 Fixed some plugin problems.
loading/closing is more verbose (and a tiny bit easier)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 23:54:34 +00:00
Spoike
abc205c2e5 This is subtly more correct.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1101 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 23:53:21 +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
d2954819d4 Fixed a linux/ip6 crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1082 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-07 17:30:40 +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
TimeServ
90725afe20 minor trailstate fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-30 11:05:44 +00:00
TimeServ
86f3912654 new trailstate system
te_lightning? and similar, and trail emit is no longer fps dependent
timelimit particle field added
te_*_end is still frame dependent and needs a resonable fix


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1062 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-30 04:34:47 +00:00
Mark Olsen
55fba7d181 Removed unused #include "glquake.h"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 17:59:56 +00:00
Spoike
1534fee1ae Small fixes. Compiles in mingw and allows fte clients to connect without confusing them.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 05:41:07 +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
077fb0d98a q2/q3 clipping fixed (hopefully finally except for bsp objects, that is)
q2 server should work.
added support for addative (and things) blends from menu.dat


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-19 02:53:03 +00:00
Spoike
fcd206e295 That should fix the excessive ping/pl on dedicated posix servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1033 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-19 02:40:18 +00:00
Mark Olsen
0fc98d5021 Note to self: Do it right the first time next time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 23:52:55 +00:00
Mark Olsen
d38f681655 Missing newlines in error messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1029 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 23:40:13 +00:00
TimeServ
2c175ab870 t_ beam effects to te_
type field added (normal, beam, decal)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 23:15:58 +00:00
Mark Olsen
e294a337fa Endian fixes to Mod_LoadWall()
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1027 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 23:01:51 +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
98bbcc2c94 big-endian network compatability.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1016 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-17 02:00:13 +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
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
638fad7d95 Give JK2 paths a go too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-20 23:46:20 +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
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
d1d52a49ac sw client builds and runs now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 03:21:16 +00:00
Spoike
7fb398c4ed Maybe one day I'll compile before committing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@957 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-17 20:59:11 +00:00
Spoike
54afb16222 Trying to fix bsd networking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@956 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-17 20:54:43 +00:00
Spoike
bc5b89d1c7 pop3 stuff is moved to a plugin, so this is no longer needed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@945 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-16 16:24:32 +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
94233a33c0 correct config loading order.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-01 17:30:19 +00:00
Spoike
6f5a1247e8 menu.dat works! yay!
And a couple of bug fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@927 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-28 07:05:38 +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
a21a4464f4 Removed need for strlwr
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@919 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-24 17:17: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