Commit Graph

88 Commits

Author SHA1 Message Date
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 4e1f6daf9f Split cl_nolerp into cl_nolerp and cl_nolerp_netquake. This means that netquake can have a different default. This allows it to be smoother without arcane tweeking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3084 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 02:42:05 +00:00
Spoike 6fb100e8b5 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-28 20:34:51 +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
TimeServ 0adc1e1054 clear colorshifts on disconnect, don't decrease cshifts on gamma change, fix warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-12 23:19:47 +00:00
Molgrum 33140dbf24 Ruleset expanded with ruleset_allow_localvolume. Set to 0 in 'nqr' and 'strict'. Made NET_AdrToString return a non-static pointer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 14:37:57 +00:00
Spoike 751e3df851 Added colourise command. 'colourise playername top.bot skin' where top/bot can be xf00 for red, xf00000 for slightly less red, off to disable forcing (for that part, eg: x0f0.off to force only top), or a regular number between 0 and 14 for regular skin colour ranges. Will not persist through configs. If .bot is not present, top is used for bot. Only works on team members.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3000 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-05 07:45:34 +00:00
Spoike 519983dee2 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2992 fc73d0e0-1445-4013-8a0c-d673dee63da5 2008-06-01 22:06:22 +00:00
Molgrum 5d64f13a18 Double precision for gameclock.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 02:42:18 +00:00
Spoike 654eabc4c2 Reworked stats for csqc to match LH's suggestion. CSQC can read the 'delta' entities (experimental). Fixed up sv_getrealip, made banning work based on realip too. Added a ban command to easily ban a single client. Renamed some svcs for clarification. Added pvsflags to ssqc for greater control over how ents are sent to csqc. Broke some stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2977 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 22:23:43 +00:00
Molgrum 1e64dfd76d Patch from Spike. Two new ruleset cvars, one that prevents custom eyes models, one that prevents custom skins on packs/eyes (this doesn't work yet, needs fix).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-01 15:21:14 +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
Molgrum 82fcde59e1 Cleanup. Fixed the last warnings in GLDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2719 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 19:10:43 +00:00
Molgrum 9893099eb6 Fixed errors and warnings from the last commits.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-18 01:08:49 +00:00
Spoike 9af1ba84cc A few things... f_ruleset stuff, 64bit qvm compatability, added cvars so you can put the built in http server on a custom port, added #warnings to annoy molgrum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-17 20:35:39 +00:00
Spoike 8a63e785b8 Added some anti-cheat measures, still needs lots of work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2610 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-23 21:25:18 +00:00
Molgrum 75d9afc8c7 Fixed _alot_ of warnings, happy reviewing!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-06 21:13:15 +00:00
Molgrum f94c5290c5 Added some functions from cl_cam.c to reduce warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2568 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-04 14:35:22 +00:00
Spoike 5fc1d3fdea Added bugs relating to scr_scoreboard_* cvars, broken indepphysics, and generally screwed up
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2547 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 18:52:11 +00:00
Spoike dcec305bd9 Fixed Ogg support a bit. Enhanced DarkPlaces/Nuxuiz compatability. Fixed a couple other minor bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-20 00:02:54 +00:00
Spoike b95f1f3c76 Fixed Molgrum's speed cheat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2504 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-26 00:39:03 +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 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 15fac4ad44 optimization to dlights, slight FPS increase
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-11 03:14:41 +00:00
TimeServ 75648fd2ff fix warnings, add cvar flag to force renderer callback on vid_restart, switched a few cvars from modified checking to callback usage
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 00:17:02 +00:00
Spoike 7d89845224 Some fixes for Quake2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 20:09:39 +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
TimeServ 973d2830a0 use stringtorgb and stringtoindex functions for crosshaircolor and r_menutint
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 00:35:56 +00:00
Spoike 2046931e26 gameclock, roq/avis can play on shaders (sound is wrong though, so that's fine with avis!), snprintf changes (this is the bulk), up2's mcharset
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 01:41:09 +00:00
Spoike d0661cdc47 An alternate server browser, accessable via menu_servers2.
Needs tweeks. A good base for killing off the origional browser. Mouse driven. Needs keyboard input to actually connect still.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-28 00:46:04 +00:00
Spoike 38c36360f6 Mostly colourmod stuff. A few fixes for q3 menus, some gamma fixes for q2, more verbose messages for pngs, and hopefully a gamma fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-27 00:42:25 +00:00
Spoike f8a1789089 Allow longer skin names, and get q2 using 24bit player skins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2005 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:43:59 +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 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
Spoike ba789a5446 I've been fixing up client downloading. Hopefully we're a little more robust.
requiredownloads 0 can possibly cause problems though, with missing maps and such.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-04 00:44:34 +00:00
Spoike 19ab4fd050 Meh, I'm just going to commit everything.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 23:01:54 +00:00
TimeServ a0498dcb3c fix GL builds (as much as I screwed it up anyway)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1739 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-23 01:29:55 +00:00
TimeServ 6dd7ddd353 palette remap per entity for sw
minor change to qclib for hexen2


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-22 20:35:04 +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 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 9355c7dda5 makeconfig.sh - the shell script that generates config.h either automagically or through prompts, use it through make
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 03:02:55 +00:00
Spoike 04061b1cb8 Extra info for a more compleate q2 client.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1479 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:51:40 +00:00
Spoike 2f5a4ddfc5 Fixes a couple of warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 02:06:33 +00:00
Spoike 4366f644e5 A few tweeks here and there.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-01 03:09:17 +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
TimeServ a6bee2bc12 text parsing fixes
increased emit rate for explosionsprite


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 08:10:06 +00:00
TimeServ a49ca96a5a cl_parsewhitetext (rid#1239249)
non-standard text messages should be much better for use
server voting fix


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-07 14:55:25 +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