Commit Graph

69 Commits

Author SHA1 Message Date
Spoike 82542ae037 Committing this before I break it any more.
Massive terrain system rewrite.
Added a Native Client port (sound is stereo 44khz only, rendering is gles2, networking is websockets only (sv_port_tcp supports acting as a qw websockets server with non-nacl servers, filesystem is downloads-only - no saves/configs). Blame Zalon. Grr.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-09 19:12:12 +00:00
Spoike 9ee7301d32 my attempt at android multitouch (csqc can also distinguish separate mice in windows too).
playing around with fragmentation and mtus. added net_mtu to negotiate some mtu size for smaller (or larger) network messages. setting a custom mtu allows for message fragmentation too.
trying to add a reworked deltaing protocol, including all sorts of fun stuff like bbox sizes, and higher ent limits.
added support for content override entities. set the skin field to some (negative) contents value, and you get movable water with prediction and waterwarp and everything, though you likely want a custom qbsp or a shader to get backface culling.
removed some madness with model skins, fixing some weird q3 bugs.
fixed forced-pause-on-start for q2
fixed q3 server to actually accept client packets again.
fixed strftime builtin

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 05:18:31 +00:00
Spoike de29dce680 skel_set_bone_world implementation.
fix attempt to fix npfte issues.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3938 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-24 04:05:28 +00:00
Spoike 7ef66ea01a Fix missing ents in MVDs bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-21 06:42:50 +00:00
Spoike e8c1f669cc Couple of changes.
D3D now supports hlsl shaders. Much functionality is still missing, but sky and water surfaces are in.
IQM models now supported.
Engine physics code is now potentially callable from csqc, but there are some issues which need to be resolved before its enabled.
FTEQCC has had some pointer/struct/array functionality improved. Complex trees can now be navigated properly.
added r_dumpshaders command to dump internal glsl scripts for editing.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-03 03:49:43 +00:00
Spoike 261b104c09 Added a cvar to enable recording mvd files containing 'unsafe' extensions, so CSQC ents can now be recorded. This defaults to off, and is expected to be enabled for mods that are truely FTE only.
Recording qwd files works again.
Not all extensions are fully implemented, when recording both mvds and qwds, particularly the initial connection info (including model list length).
Ezquake's invalid chunk requests generate no protocol response. Ezquake should no longer kick itself after every download.
Couple of other bugs fixed.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3893 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-08-16 04:12:15 +00:00
Spoike f66110b5e6 Trying to fix mvd recording/playback a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3811 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-05 01:36:14 +00:00
Lance 0e078381b3 Fixed incorrect pointer types, and some other warning types for GCC and MinGW
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-19 13:34:07 +00:00
Spoike ca9028ef76 Lets see if this works in loonix.. ehehe.
Added win7 recently opened links, so rightclicking pinned icons gives recent servers. Perhaps not the best implementation (lol) but yay, only a little bit of horrible COM crap.
Hacked about with the scripted particle system. Classic is now the default set, but the scripted system is still active and can be used by mods or whatever if they wish.
Interpolation changes: should feel better on non-fte QW servers now. Not sure about other server types.
Added svc_setanglesdelta.
Fixed vwep+skins.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3682 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-05 02:46:07 +00:00
Spoike 540830d955 Voice activation detection for voicechat, with a few cvars for it.
Added mic level indicator.
Able to record voice into mvds.
Fixed mvd recording.
Fixed mvd player sizes.
Fixed interpolation.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3665 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-20 22:01:16 +00:00
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 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 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 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
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
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 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 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 f01514060e Fixed a crash associated with demo listings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3083 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 02:23:53 +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
Molgrum afb7e76967 It comiples in Linux, thanks to Spike for the break&fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2994 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-02 18:36:52 +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
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
Spoike 8c6bf11a10 That's meant to be a temporary error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 02:41:46 +00:00
Spoike bc19d31dc3 Some implementations ignore 0x prefixes in atoi
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-09 21:21:21 +00:00
Molgrum 239f0c9d38 I guess all of these are to be changed too, please confirm.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2779 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-04 08:21:19 +00:00
Molgrum 93c94f2b61 Just a minor consistency fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-04 08:16:23 +00:00
Molgrum 0f02f12b8b s/compatable/compatible (take notice that sv_compatablehulls will have a changed name too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:08:47 +00:00
Mark Olsen 5a512f2c43 Fixing Molgrum's QTV problems, part two.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2650 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 14:55:36 +00:00
Mark Olsen 12f0564d1d Fixed Molgrum's QTV lockup problem (hopefully).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2648 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 14:39:08 +00:00
Spoike afcf2e0ce8 Added some FIOBIO calls after select, apparently linux needs these (windows does not)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2636 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-04 20:54:24 +00:00
TimeServ 1c41a5c11a changed sv_demodir to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2627 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-01 01:51:34 +00:00
Molgrum 865a5a003d Fixed a few Cygwin warnings: Removed/commented unused variables, added newline at end of crc.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 17:49:35 +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 e7f6c231e7 Support for reverse qtv connections. (server can now connect to qtv to stream the game, rather than the qtv having to know about the server)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2511 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-28 02:25:32 +00:00
Spoike 9df6d335e4 Should fix molgrums 'ktpro' crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2453 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-06 09:35:16 +00:00
Spoike 9d7a3b5d2a Fixes some messages when qtv disconnects. No functional difference, just additional+different prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2441 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-03 16:03:15 +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 e0c705b4a8 again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-28 23:32:16 +00:00
TimeServ 992102c76c fix easyrecord command
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-28 23:31:30 +00:00
Spoike b5b74f2529 Rotating BSP fixes, hexen2 fixes, and a few extra bugs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-23 19:22:12 +00:00
Spoike fe607e613f mvdplay disabled. See who notices before it's finally removed totally.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2105 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-14 01:12:17 +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 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
TimeServ d245b06c91 got rid of some anonymous unions
fixed a few msvc2005 complaints


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-17 02:51:59 +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
TimeServ a8889d8f24 THIS COMMIT MOST LIKELY BREAKS THINGS.
changed conchars from 16-bit to 32-bit
added support for RGBI fg and bg colors
better support for ^8/^9 text codes
fix to echoish menu sounds
added plugin stuff for centerprints/server messages/chat messages, not finalized (?)
GL/SW color character functions improved (although neither handle transparent characters, and SW needs improvement with the palette remapping)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-01 09:01:15 +00:00
Mark Olsen d17ca9286b Use netinc.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1622 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:22:58 +00:00