1
0
Fork 0
forked from fte/fteqw
Commit graph

76 commits

Author SHA1 Message Date
Spoike
fa0c73d33b Fixed crash from too many csqc entities (reported by shpuld)
Added .psd, .pbm/.pgm/.ppm, .pfm, and .hdr image formats. Extensions NOT added to r_imageextensions.
png (and the above formats) can now be loaded as RGBA16, instead of being truncated to RGBA8 (8bit pngs not affected).
r_imagelist will now show images from memory, instead of potentially loading new/different ones from disk.
Fix serverbrowser bug being too eager to join the server (eg from alt+tab).
Don't send ipv6 packets to qw/q2 masters. They won't be able to report ipv6 addresses anyway, and this reduces warnings when a host STILL has no ipv6 (my ISP sucks). this does not affect q3/dpmasters, for people without ipv4 addresses.
Tried to improve compat with Bloodshot's particle effects.
Fixed a couple of issues with R_AddTrisoup.
Fixed string tokenizing bug where it was using the wrong buffer size values.
Don't show link-local/localhost addresses in eg the status command (unless developer).
qtv-rel is now an easier target, for new qtv releases.
qtv warning fixes.
added a nailtrail effect to 'high' particles.
fixed terrain shaders.
fixed fogged water issue (on one of bal's maps).
first attempt at gltf2 format support



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5400 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-16 19:09:07 +00:00
Spoike
a4942abf52 finally got around to updating qtv to add a few common protocol extensions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-06 17:39:32 +00:00
Spoike
2bf193001b implement pcma+pcmu codecs for voip for xmpp compat, because they're fairly simple and I can.
remove MAX_MAP_LEAFS limit, although its still checked for sanity (just MUCH higher). You may need 64bit processes on account of the pvs+phs memory required.
integrated my fork of frikdec into fteqccgui. Just associate .dat with fteqccgui and it'll decompile the progs (compiling will then embed the decompiled source into the resulting .dat to avoid repeated decompilation). Be sure to back up first... not tested as a 64bit process.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5114 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-06-21 01:24:25 +00:00
Spoike
906b705bf0 after much breaking, the webgl port now utilises the browser's ogg/mp3 decoder, and the browser's png decompresser. pngs/jpegs do not provide size information.
fixed non-browser ogg decoding and openal logic. should finally be fixed, I guess.
wasted some time on an ezhud plugin, along with ensuring certain info is available to the plugin. this is still a work in progress however.
non-web builds are now able to download images from urls.
download progress does not display for uri_get/uri_post builtins, nor other non-saved things.
q1qvm logic now uses pr_maxedicts cvar. the gamecode api still provides no way to tell how many are permissable, so set at own risk.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4852 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-21 04:12:00 +00:00
Spoike
f118bccc6a fix some glsl issues.
fix gles+q3bsp black lightmaps bug.
enable q3bsp support in webgl port.
enable uncompressed pk3 support even if zlib isn't available.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-09 14:39:54 +00:00
Circlemaster
83f40b8c49 Is this better? srand only called once...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4793 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-23 22:56:37 +00:00
Circlemaster
a38b2d607e Support directories with only one demo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4792 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-23 22:44:35 +00:00
Circlemaster
4f717b53f4 Fix to ignore non .mvd files in the directory.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4791 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-21 22:27:42 +00:00
Circlemaster
6c74368870 Added 'dir' command to play a directory of demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4790 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-21 18:10:29 +00:00
Spoike
332945dbba make sure RECONNECT_TIME_DEMO is enforced properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4789 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-21 15:11:48 +00:00
Spoike
c6c3d3f4e0 Trimmed some dead files.
Quick hack preliminary d3d11 renderer. I'm not likely to touch this again for quite some time.
Sys_Error works properly on android, with an error message shown. Should be less of a stab in the dark if you get errors. Seg faults are still instantly fatal. Not much I can reliably do about those - most of the juicy ones will likely occur within the gl drivers (even if its my fault) and java will still call in to it.
Stereoscopic (quad-buffered) rendering is in the gl renderer. You'll likely need a quatro to use it despite it being a gl 1.0 feature. No idea about ati. See r_stereo_method for non-quad-buffered alternatives.
Tweaked networking to not overflow so much. Needs testing against other qw clients.
Fixed an issue with surface numbers > 32k on limit-breaking maps.
Fixed a preparse issue resulting in QW clients dying with the ne_ruins map's progs.
Support for the DP-variant of BSP2. The depricated RMQ variant is still supported.
QTV proxy now uses ipv6 hybrid sockets where possible. Preliminary pext support.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4105 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-09-30 05:52:03 +00:00
Spoike
3da350a3ed NQ-related bugfixes.
Added new project/target for easy integration into NQ engines - read nq_api.c for guidelines.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4024 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-23 04:37:33 +00:00
Spoike
6385756e75 work around eztv newline bug.
Websocket support.
Better IPv6 support (at least as a server).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4019 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-20 14:41:40 +00:00
Lance
4943723a8b socket/tcp/udp errors more verbose (strerror)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3872 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-14 09:18:04 +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
0e3193a3ef Broken more stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 23:40:06 +00:00
TimeServ
1805f13b23 changed #warning to comments so vc2005 would compile everything
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-01 06:13:30 +00:00
Mark Olsen
85c9f289a9 Use strlcpy() instead of strncpy().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2826 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:21:24 +00:00
Spoike
6006580d8a Knocked up some commands and stuff to make qtv not forget about streams that failed. Finally implemented the commands command. Added commands to enable/disable streams.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2812 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-12 11:17:18 +00:00
Mark Olsen
9847a8213b Fixed some speeling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2810 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 16:09:18 +00:00
Molgrum
2fda3fbb99 Spelling + more verbosity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2790 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-18 14:55:27 +00:00
Molgrum
3098def6c2 Add more verbosity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 18:26:10 +00:00
Spoike
944d4db18c Added more molgrum-style verbosity. Hopefully finally fixed the reason why he gets 'silent' disconnections. Added printf-style warning checks for gcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2786 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 14:53:45 +00:00
Molgrum
e1bd95d392 Changed the "connection established" message to include stream ID too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 01:23:14 +00:00
Molgrum
868c81db4f Fix from Spike. Increase some buffer sizes to solve the "invalid mvd length" messages. FTEQTV still loses connection at mapchange on certain versions of MVDSV.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2784 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-15 21:19:52 +00:00
Molgrum
3a156266a4 More verbose error messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2781 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-09 17:34:51 +00:00
Molgrum
9815dec585 Got rid of an annoying printf, added a #warning instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-31 21:14:40 +00:00
Spoike
693a184261 Molgrum found a bug with how early-parsing interacts with the rest of the code. This should fix that bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2771 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-30 14:26:03 +00:00
Molgrum
ff17d664ce More verbose error messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2770 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 20:07:13 +00:00
Molgrum
efb447ee5b It now compiles. Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 14:48:13 +00:00
Molgrum
26bc0b94e2 No #warning directives in MSVS please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2677 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 22:42:44 +00:00
Spoike
1bdbb0d8b4 mol#1 fixed. .disconnect lets the server know, also removed the annoying debug spam
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2652 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 18:44:55 +00:00
Spoike
5a16c2f01d Some changes to the way the proxy works, now the player will get the aliases
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2641 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-08 20:15:59 +00:00
Molgrum
a0b26fe44a Fixed some more void * problems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2563 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-03 14:33:40 +00:00
Spoike
9b24dd1871 Cleaned up a little
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 10:53:59 +00:00
Spoike
70b55a446c Support for reverse connections, and added a few stdout cleanups. Added two svcs which can happen in single player/coop.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2512 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-28 02:31:48 +00:00
Spoike
e6c12cc324 Two fixes for two bugs reported by qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2489 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-11 19:46:55 +00:00
Spoike
5845dc7e35 routing is more obvious / usable now (beware some 'cmd cmd new's are required).
reworked the menus (could be a little better).
added qqshka's invisible player fix.
de-spammified the centerprint menus.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2483 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-18 05:07:10 +00:00
Spoike
f137242b51 Shifted some stuff out to a new file to clean stuff up.
Tweeked the admin page so it doesn't look horribly out of place.
Code for permitting downloads from the http server is in place, but not activated. I first need to address the security issues with being able to do this.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2480 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-16 04:05:01 +00:00
Spoike
6210ed87be Some tweeks to stop qqshka from moaning. Also added qtvlist and qtvdemolist commands. Tweeked the webpage generation to be more informative.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2472 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-03 21:39:06 +00:00
Spoike
4175b342ea Some bug fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2471 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-03 18:46:43 +00:00
Spoike
6920e14fde Fixed a remote crashing bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2465 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-11 22:07:18 +00:00
Spoike
f321ee32ee some bugs have been spotted. one serious one regarding demos and small downloads and reading configs. a couple of minor ones, and a minor cleanup too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2464 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-09 05:24:03 +00:00
Spoike
15a38d3726 Changed tracking and commentry a little so it works in ezquake/fuhquake as well as just fte. Additionally forced tracking of leader when the victim has left pvs in udp games.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2462 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-08 03:15:37 +00:00
Spoike
47f9440a30 cameras start at intermission spots, stream change messages for other users, cleaned up the menu code a little
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2458 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-06 09:46:32 +00:00
Spoike
55f5344510 Rewritted entity parsing, so should work fine with .join now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2451 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-12-26 21:26:10 +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
22360e35dd Small tweek so you can stream demos off a different proxy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2436 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 16:12:07 +00:00
Spoike
bce372f236 Fixed a couple of rerouting issues,
Warning: RAW mode is not requested, this will break compatability with the origional qtv protocol, including with mvdsv.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2435 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-27 13:41:27 +00:00
Spoike
36c6537847 Added timeouts to viewers, added a cleanup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2424 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-22 19:18:15 +00:00