Commit Graph

647 Commits

Author SHA1 Message Date
Spoike ce07219448 Fixes, workarounds, and breakages. Hexen2 should work much better (-hexen2 says no mission pack, -portals says h2mp). Started working on splitting bigcoords per client, far too much work still to go on that. Removed gl_ztrick entirely. Enabled csprogs download by default. Added client support for fitzquake's 666 protocol, needs testing, some cleanup for dp protocols too, no server support, couldn't selectively enable it anyway. Now attempting to cache shadow meshes for explosions and stuff. Played with lightmaps a little, should potentially run a little faster on certain (intel?) cards. Tweeked npfte a little to try to avoid deadlocks and crashes. Fixed sky worldspawn parsing. Added h2mp's model format. Fixed baseline issue in q2 client, made servers generate q2 baselines. MOVETYPE_PUSH will not rotate extra if rotation is forced. Made status command show allowed client types. Changed lighting on weapons - should now be shaded.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3572 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 03:36:31 +00:00
Spoike 8921e7da9f Small bugfix (maxtic 0 = ode crash).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3565 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-25 15:09:13 +00:00
Spoike fdcdfe2d5a Cache PHS for large maps, because the loading time is insane for large maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3564 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-25 15:07:19 +00:00
Spoike 0f5a25025d Fixes saved games.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3563 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-25 15:06:38 +00:00
Spoike 244c08ad04 Attempted to add support for divVerent's varlen protocol extension info. This is more silencing warnings than anything else.
Also tweeked video code to remove 6 dead sw-only functions.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3556 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 08:42:59 +00:00
Spoike 1a54e541be Fixed a potentially nasty bug that was causing nasty things to happen to QW mods.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 07:47:24 +00:00
Spoike bb807558d2 Removed that function - it wasn't used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3550 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-13 20:46:28 +00:00
Spoike e7ec40d0c8 Trying to fix some leaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3547 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-12 22:46:37 +00:00
Spoike c6f49f4ec4 Fix dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3545 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 12:33:58 +00:00
Spoike 8a6c820003 Don't let corpses move through plats by standing on the corpse.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3544 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 12:13:40 +00:00
Spoike 0b1e3020d3 Trying to kill a few warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 10:53:13 +00:00
Spoike 1e1084bed7 Changes merged from trunk. Also additional extensive changes. Q3 portals work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3541 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 02:22:39 +00:00
Spoike e6f90bea14 Tweeks to the d3d renderer. Supports various shader features now. Other changes/fixes/breakages also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-01 22:47:47 +00:00
Spoike 3b460e37b7 Reworked polyblends to use the backend. They no longer get stuck quite so much either. Added cl_download_mapsrc cvar (and plugin field) to specify an http location to download maps from (useful for demos, etc). A few other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-25 22:56:11 +00:00
Spoike c0680334c7 What could possibly go wrong?...
Multiple consoles can now be printed/cleared via extra con commands.
Fixed the tab-completion alignment, by adding support for \t characters.
Changing the download mechanisms. Don't try downloading an ftp:// file. It'll probably crash you for now.
Trying to fix load time issues on q3bsps with a lot of curves.
Fixed sprites.
Added warning prints/spam where the new backend is bypassed, thus marking things that still need to be fixed.
QTV proxy fixed to not sit on qw servers unless someone is actually watching. Will ping for status requests still.
QTV proxy now supports ipv6.
QTV proxy now attempts to use the fte browser plugin.
Reworked the browser plugin code, now uses threads instead of ugly hacks. This should make cooperation with other such plugins work. Fixes unresponsiveness of opera, and gives an API that can be used from any other bit of software you want, tbh (read: internet explorer/activex plugins).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3516 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-14 14:35:56 +00:00
Spoike 589ef03c05 FTE, now with added C support - no longer treating enums as regular ints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3509 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-06 01:25:04 +00:00
Lance a40e271c44 Spike's "sendflags" bugfix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3504 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-21 03:28:52 +00:00
Mark Olsen 8901f51133 Fixed Sys_EnumerateFiles(): Doesn't treat directories as files anymore and actually manages to figure out file sizes now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-11 18:15:42 +00:00
Mark Olsen af15a5945c Fixed the demolist usercmd to output to the user rather than the server console. Fixed all file-related functionality in sv_mvd.c to actually work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3493 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-11 17:39:56 +00:00
Mark Olsen a16e0c84e6 Don't allow duplicate bans. (overlapping bans are however still OK).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-10 15:15:20 +00:00
Spoike 051e8ff18c Fixed calling convention errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3490 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-10 13:15:06 +00:00
Molgrum b6f1cf12da Fix compile error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3468 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-18 21:21:56 +00:00
Spoike 25f3653d9f The lame but easy way to fix that error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3467 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-18 20:41:30 +00:00
Spoike 1f34680832 Random hacks, ODE works in csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3464 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-17 00:15:44 +00:00
Mark Olsen 9e3e9a7663 One parenthesis too much.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3458 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 09:26:48 +00:00
Spoike 9eabcdcd56 Lots of misc changes in an attempt to reduce ODE jitter, and make it work a little better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3456 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:20:17 +00:00
Spoike eae4caee99 Added walkmove to the qvm API.
cvar("version") now returns something.
no longer crashes when running ktx (since the wip branch started).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3455 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:16:49 +00:00
Spoike 14ed1fe230 Added fractional antilerp, and fixed a bug in the antilag stuff (potential showstopper).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3445 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 16:54:21 +00:00
Spoike 67e90812c2 ODE support works slightly better now. remember to force fixed-rate tics by setting sv_[min|max]tic to the same value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3436 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-12 08:53:10 +00:00
Spoike e6d1ae1a8f more cleanups: csqc now shares collision code with ssqc. Still lacks physics.
gl_rsurf.c has been split into gl specific and generic code - the d3d renderer can now draw the world.
ifdef removed the old server-side mvd playback which had been disabled all this time anyway.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 13:29:15 +00:00
Spoike 4c37c34c13 Fixed some stuff. Cygwin stuff compiles now, so maybe linux will too. I've not tested it though cos cygwin uses software gl rendering, and I'm impatient. Also boosted NUM_SPAWN_PARMS a little, so saved games will break.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3408 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 03:07:52 +00:00
Spoike a5d741c592 Ripped LordHavoc's ODE physics support. It'll probably crash and burn. 99.995% untested.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3406 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 01:22:27 +00:00
Spoike 66b78c0b11 Work In Progress branch.
In this version: replacement GL backend. Replacement D3D backend sharing code with GL. Lots of code reorganisation.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-04 21:16:50 +00:00
Spoike 8b16f7c7f6 Attempting to fix what I broke.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 08:12:29 +00:00
Spoike 8019ad0fae so botlib doesn't outright crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:47:07 +00:00
Spoike 2059803eb5 Fixes a few gcc warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:44:49 +00:00
Spoike d950889fda Fixes a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3395 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:43:23 +00:00
Spoike a01158a6e0 Improved name matching. Added a clientkick command to empty a specific client slot. This makes the q3 remove bot menu item work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:41:42 +00:00
Spoike 92b1572092 Removed some unused bss.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:40:15 +00:00
Spoike aadd51a94c Fixed some warnings related to errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:39:35 +00:00
Spoike e0edbe444d Fixed a warning message.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3391 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:38:42 +00:00
Spoike db66fa07f5 Warning message bugfix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3390 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:37:47 +00:00
Mark Olsen 02fd259fab Don't crash when clients disconnect, kthx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3373 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-08 14:52:32 +00:00
Spoike ee25afa861 Ensure paths exist when saving games.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:09:35 +00:00
Spoike 38d8b7189b Use the correct field names for prydon cursor.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:08:39 +00:00
Spoike 1718aae24b Should boost q3 server stability slightly, by not sending so many gibberish wrong-protocol packets.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3348 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 13:41:22 +00:00
Spoike 00cca0ea84 Fixed some client protocol bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-08 12:43:35 +00:00
Spoike cf62594631 Well that was a stupid bug. Allocate frames for the correct client type, instead of q1.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-08 12:42:12 +00:00
Spoike 10accd2908 Cleaned up GL a minor amount more.
Sounds can now be recorded while capturing to tga sequences (as raw sound). Fixed frame limits a little.
Passed the unicode key values around to a few more key input functions.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 11:05:06 +00:00
Spoike f419538b37 Added skygroup command. Also polygon offset cvars. Even though its evil - I'm not sure how long it'll stay.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 20:43:07 +00:00