Commit graph

60 commits

Author SHA1 Message Date
Spoike
0cf3e1ff54 Freeze NQ demos while content is being loaded, so it starts at, urm, the start.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 19:46:32 +00:00
Spoike
cd619e991f Only start timedemo counters once the map has actually finished loading, and force the console up.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:10:07 +00:00
Spoike
eda16ea10f Permit precaching of just an md5anim with no md5model. You'll see a debug wireframe skeleton if you actually try drawing it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-08 01:17:27 +00:00
Spoike
2adb420a6d Reworked the console/loading screen a little. The console is no longer directly shown at startup. MSVC2005 project files update for npqtv.
Added vid_wndalpha to make the window transparent (only supported in GL-win32).
Multiple issues with SW rendering, which I'll fix eventually. It does at least run, even if it looks ugly.
Plugins are now able to read the console input. Bigfoot, feel free to tweek.
Fixed up a few mismatched prototypes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3153 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 00:34:32 +00:00
Spoike
4974c57c2c Big fat-off commit.
A few changes. Half-Life support is finally getting committed.
Some unnecessary filesystem code changes.
And there's code for nsapi - meaning we can embed FTE in a browser (firefox and opera on windows work).
A couple of CSQC changes, trying to move towards a final EXT_CSQC_1.
Revised ruleset format finally implemented.
Doesn't compile with msvc6 due to issues with libjpeg not being a clean library.
Presumably its fine in vs2005.
Your mileage may vary.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-01 22:03:56 +00:00
Spoike
6e3f69f504 d3d rendering is diabled (framestate, read later - merged will compile just sw+gl for now).
fte particle scripts are disabled (classic works).
I'll fix these in the new year.
Redid framestate stuff again. Slightly better now, but this is the bulk of the changes here.
Reworked the renderqueue to provide batches of items instead of individual items. This cleans up the particle rendering code significantly, and is a step towards multiple concurrent particle systems. fte's scripted particles are broken as I'm trying to find a way to rework them to batch types together, rather than having to restart each batch after each particle when you have two particles in a trail. I'll fix it some time.
Reworked some alias model code regarding skeletal models. Added some conceptual skeletal bone control builtins available to csqc. Currently it can query the bone names and save off animation states, but can't animate - its just not complete.
Added more info to glsl custom shaders.
Updated surface sorting on halflife maps to properly cope with alphaed entities, rather than just texture-based blends (q2-style).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3095 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-23 02:55:20 +00:00
Spoike
dce284811e Minor update...
Q3 clients can connect to q1 gamecode (sv_listen_q3).
hacked support for SendFlags. It'll work compatibly, just not efficiently.
Unified shared qc builtins.
fteqcc supports int |= float, more params in macros, &~= operator.
Additional recent DP QC extensions.
Particle system abstraction. 'r_particlesystem classic' (vs null or script) will revert to truly classic particles.
Nexuiz might run again.
Network address revamp (sv_port and sv_port_ipv6 can both be used to specify an ipv4 address:port and both corrently accept clients). localhost now properly favours ipv4 (use ::1 for ipv6 localhost).
Download system revamp.
Numerous other changes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 22:29:28 +00:00
Spoike
a44068f9b4 Slightly better handling of .qtv files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:56:11 +00:00
TimeServ
1673ca7a7a PROTOCOL_VERSION to PROTOCOL_VERSION_QW to resolve a future header conflict
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-12 23:24:19 +00:00
Molgrum
ece33d0b2a Debug printout.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2939 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-29 07:10:21 +00:00
Spoike
28351eb001 Don't flood the client with packets if its not really ready to receive them yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2905 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-04 23:41:04 +00:00
Spoike
08f0d8bcb2 Made qtvplay work a bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2886 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-30 02:32:00 +00:00
Spoike
18ee105ed5 Make playqtv slightly more robust. Only slightly. There really should be a better fix for this.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2872 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:36:51 +00:00
Spoike
776faf1bc4 Added initial support for eztv extensions. This is the bulk of the changes. Downloading isn't implemented yet though. Also fixed some demo playback sbar stats, and fixed NQ demo playback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2852 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:52:31 +00:00
Spoike
5bfa1829d6 a qtvplay bug fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2815 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 18:45:40 +00:00
Spoike
81b91a422d Fixed a couple of qtvplay bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2811 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-12 11:04:04 +00:00
Spoike
c77d0a981a Fixed qtvplay, added a workaround for eztv proxies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-01 05:55:44 +00:00
Molgrum
1675ef566e Fixed more warnings, not so many left now. Needs lookie as usual!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2575 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 00:11:21 +00:00
Spoike
1069d3bfd5 Cleaned up demo parsing a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2541 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 12:00:17 +00:00
Spoike
a696882cb4 Small tweek that makes qtv slightly more usable without leaving the client.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2510 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-28 02:23:37 +00:00
Spoike
1f9484f93d One d3d renderer.
Wonder how much this breaks.
Place your bets now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-25 22:16:29 +00:00
Spoike
2a10d9860e Expanded the .qtv file 'format' for later.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2456 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-06 09:38:08 +00:00
Spoike
acf93f1548 qtv changes allow you to spectate annother spectator. FTE changes fix independant physics stuff a bit, and fix AVI recording a little also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-03 15:53:04 +00:00
Spoike
42c43d960f mostly miscilaneous changes (some old stuff that I don't remember), lightsampling changes, qtv changes, avi sound changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 00:59:22 +00:00
TimeServ
084c095dc7 fix frame lerp again, dynamically allocate client baselines (should save about 2MB of memory on typical servers), bounds check baselines (stops invalid svc_spawnbaseline from crashing), small DP extension fix, fix demo baselines
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2365 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-24 04:24:41 +00:00
TimeServ
11b188b761 fix bug with cl_maxfps 0 and demo playback causing lockup, fix netquake demo playback
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 08:35:10 +00:00
Spoike
bfa9db357b playqtv now plays from an fteqtv proxy (with the 10 secs buffering).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-14 01:25:46 +00:00
Spoike
aeea639fc2 Filename security paranoia. Added a glsl extension to the shader system. using serverinfo, you can enable shaders without cheats now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 03:12:10 +00:00
Spoike
3f6f2be82e fixed erroneous timeouts when playing NQ demos
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-10 03:51:12 +00:00
Spoike
fed1301fd3 Tiny bit more verbose, don't know how to fix the bug jss reports
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 19:22:50 +00:00
Spoike
2ef090928a Added f_demostart trigger.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1999 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:37:25 +00:00
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
Spoike
fdb5cf3aff Fixed mvd playback as correctly as I can think how.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 19:04:13 +00:00
Spoike
f0feb82b90 rjlan wanted mingl to compile again, and moodles reported a demorecording bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 06:27:18 +00:00
Spoike
f011def0cd a vfs fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:42:20 +00:00
TimeServ
a32c1af46d kill some unnecessary Sys_Errors
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 08:34:34 +00:00
TimeServ
e19c431a28 allow cl_demospeed 0
set cl_demospeed default to 1


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1732 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 07:10:48 +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
Spoike
13d0a98133 cygwin, mingw should compile, plugins in dedicated servers, and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:15:39 +00:00
Spoike
2a405f98e7 playdemo now accepts urls. :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1678 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 03:09:46 +00:00
Spoike
339d478659 I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
Spoike
8b2daa6133 Don't break old clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1388 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-28 23:32:54 +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
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
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
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
d29d5e71e6 Fixed max_stats 32 bug in cl_nopext demos when played back in non-fte clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@866 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-02 09:04:03 +00:00