Commit graph

106 commits

Author SHA1 Message Date
Spoike
0ad239ca6a Fixed all warnings in MDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 14:51:36 +00:00
Spoike
6430b9b214 added a macro for specifying all the cvar properties. This will simplify stuff for Q2.
Also added trace_endcontents and trace_surfaceflags.
File system (still too selectivly) reads gz files.
Fixed a buffer overflow in the http client.
Made server downloads decompress zipped files to a temporary file. This should make it download them faster.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 02:09:43 +00:00
Spoike
cf73c8b81e Copyable console, and up2's demand for aliases like fuhquake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-06 01:06:17 +00:00
Lance
9caf98dc48 fixed msvc6 warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1897 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 08:17:59 +00:00
Spoike
a5c48434df Made spawnmode circle face the correct direction (z is no longer flat) - this is only on trails.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1890 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-26 04:04:04 +00:00
Spoike
e3cb464de9 Some bugs fixed. I wonder what I've broken.
Oh yeah, hud scoreboard stuff works now.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1883 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 00:06:49 +00:00
TimeServ
083ca12678 have to keep the old behavior
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-23 10:25:36 +00:00
TimeServ
996757ec23 step/count extension to handle additional random values
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-23 09:31:17 +00:00
Spoike
503eff6421 Reworked the filesystem. We now support a virtual filesystem. Many places accept stream usage, although many formats do not support this.
I'm not sure if this will break anything. It shouldn't do, but it might.

Not everything is ported over yet. Ideally there would be no more use of fopen anywhere else in the engine, and com_gamedir would be made static to fs.c
There are a couple of other changes too.

http/ftp stuff is currently disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 03:07:33 +00:00
TimeServ
88098ab5d3 r_rockettrail/r_grenadetrail 0 disables
both cvars marked as semicheats
switched faithful for highfps in presets.. need a faithful preset probably


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1596 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 23:23:03 +00:00
TimeServ
8728f3abbb pe_defaulttrail junk for Q1/H2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1595 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 23:11:19 +00:00
Spoike
9858ac6fdb Added orgadd to add to the origin like veladd does
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1540 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-28 01:32:24 +00:00
TimeServ
b19c4d4a81 well this somewhat fixes r_part and "blank lines" inbetween { and } but not completely, a real fix is needed for anything using Cbuf_NextLine
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1539 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-26 05:02:45 +00:00
TimeServ
8db473c858 Added particle type name to error message
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1499 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-18 04:37:42 +00:00
TimeServ
a972b7cb12 this should fix linux index particles/r_menutint
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1460 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-10 01:16:58 +00:00
TimeServ
fbf48a84dc fix to radomvelvert
rehashed particle sets (spikeset, faithful, and highfps are now complete sets), added minimal
fix to gl crosshair...


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1458 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-09 22:06:52 +00:00
TimeServ
ff9003eeb0 gl_part_flame should be registered under a SW-only build (it's not really a SW-only option...)
few more minor fixes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1455 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-09 01:36:42 +00:00
TimeServ
e47090201b pe_defaultrail, like pe_default but for trails, works mostly with q2 for now though
additional Q2 TE_s supported
a few other particle fixes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1454 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-08 22:35:20 +00:00
TimeServ
0751c774e9 added perframe, undoes per frametime emitting (for flares)
added nostate, disables use of trailstate (also for flares, problems with assoc)
added averageout, reaverages particles from start/end with trails (for beams)
added nospreadfirst/nospreadlast, disables spawnvel/spawnorg on first/last particles (for beams)
moved citracer to flag
added ball/circle spawnmode to trails (slightly different distribution from standard box)
added distball spawnmode


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1453 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-08 06:07:50 +00:00
Spoike
d4d365175d I've been fixing warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:27:20 +00:00
Spoike
c27b034fce This might be handy to someone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1389 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-28 23:33:33 +00:00
TimeServ
ad3f2c26ac warning fixes
log_* cvars (readable translation, cycling, custom dir/file, developer, etc)
cl_standardmsg (like cl_standardchat, colors names in standard net messages, defaults to 0 to annoy people)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-26 08:07:26 +00:00
Spoike
bc810377fd A small security fix, well, it might be needed later.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-17 17:09:22 +00:00
TimeServ
eb06704511 fixes to particle emitting (temp?)
build fixes to SW
parsing fixes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-09 02:01:30 +00:00
Spoike
347311db8c q3 fixes and misilaneous minor changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 22:52:46 +00:00
Spoike
e671736021 make decals generate a surface vector by brute force if it was in a particle effect that doesn't have a specified direction.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1280 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-07 01:07:22 +00:00
Spoike
1130dea569 Rewrote a few bsp tracing stuff (primarily for heightmap things).
Q3 client and server support is in.
heightmaps are in.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:56:51 +00:00
Spoike
83a2f3aa06 Getting ready for qexpo. CSQC is in final dev stages. Everything else should be working well enough too, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1217 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-11 04:14:33 +00:00
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
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
ea9c3b0360 software transtable rewrite, sw additive support for sprites/blob particles/line particles (no models yet), AddBlend/Trans functions need optimization
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-29 01:12:09 +00:00
Spoike
5537bb29b6 And... with correct spelling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1166 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 00:45:41 +00:00
Spoike
c11e10b693 Added full particle effect number range checking. This'll stop crashes with beams not registered in advance.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 00:42:26 +00:00
TimeServ
2e5ad38a00 r_part_sparks*/r_part_beams*, gives control over rendering different particle types
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1156 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-24 21:44:37 +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
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
28e6b70ba7 particle field fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1121 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-30 00:47:00 +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
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
9a9b08c0a2 Fixed [ 1215480 ] Having to "exec" a particle set twice.
Now always create a stub effect when assoced.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1078 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-07 03:59:11 +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
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
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
TimeServ
fec4f02b1b fix to lavasplash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1025 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 02:42:24 +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
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