Commit Graph

195 Commits

Author SHA1 Message Date
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 ef6f71a5d1 Put the javascript stuff in the parent frame.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3521 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-25 22:36:48 +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 839a2a8c06 splat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-08 00:15:06 +00:00
Spoike 041dcbe4e9 Yibble.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 23:50:02 +00:00
Spoike 5bb7c56c1a MSVC doesn't even warn about that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 23:44:13 +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
Spoike c6aca04939 Track special modelindexes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3052 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 23:10:28 +00:00
Mark Olsen bfee598a7a Yeah, so sue me!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3041 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-06 05:38:19 +00:00
Mark Olsen 0896e57367 Send a f_qtv command to the client on first connect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3040 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 16:18:17 +00:00
Spoike a8ad49db87 Fixed http url markup, courtesy of Cokeman.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3023 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-10 08:18:50 +00:00
Spoike 64c9a31e6b There. Happy now?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-25 08:29:14 +00:00
Spoike 4dfdca03f5 Fixed handling of header fields. This is a major security bug fix (omission bug). Added some additional measures to prevent client exploitation also (clients should do this themselves too). Used some snprintfs instead of sprintfs due to paranoia, but these will fix nothing as it currently stands.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3016 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-25 07:13:47 +00:00
Spoike 2c2560eef4 The buffer is not meant to be terminated by a null terminator, but instead has a length. (it is always null terminated despite this)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-25 07:09:39 +00:00
Spoike 5e166cb9ce Made the (currently disabled) http download code more secure.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2975 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 22:02:52 +00:00
Spoike 85570cc4f4 okay, that print isn't meant to be stream-specific
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2904 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-04 11:31:32 +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
Molgrum 482f37dc5c Another Spike-miss detected by qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-03 23:30:08 +00:00
Lance 90c8efe4dd Apple GCC doesn't like a space between -L and the directory name
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2838 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-02 13:54:26 +00:00
Mark Olsen cea7541e7d Microsoft suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2837 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-02 13:41:57 +00:00
Lance 7827db0dfb Fix for MacOSX gcc compiler
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2836 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-31 13:03:08 +00:00
Molgrum bc41311478 qqshka noticed that the demolist in linux doesn't care about array sizes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2830 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-28 00:13:22 +00:00
Mark Olsen ac82538714 Less undefined operations.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:31:27 +00:00
Mark Olsen 868ef2aa33 Only build this code when building for Windows, just to make grumlgrum happy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2828 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:28:45 +00:00
Mark Olsen 391b3d2057 Removed Q_strncatz() and Q_strncpyz().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2827 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:21:47 +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
Mark Olsen 811fb3db90 Use strlcpy() instead of strncpy().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2825 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:20:24 +00:00
Mark Olsen 0ecc551f45 Removed qstrncpyz() (why all the duplicate functions?), replaced usage of qstrncpyz() with strlcpy(), Made catbuffer() not braindead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2824 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:18:40 +00:00
Mark Olsen 948662ecfa Use strlcpy() instead of strncpy().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2823 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:17:33 +00:00
Mark Olsen ad7802e43b Use strlcpy() instead of strncpy() and Q_strncpyz().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2822 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:17:05 +00:00
Mark Olsen 34488b1dbb Some BSD string prototypes because the dirty GNU hippies are lame.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2821 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:16:27 +00:00
Mark Olsen fffc415fd0 Build libqtvc, link against it _after_ libc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2820 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:15:22 +00:00
Mark Olsen 178b7fb2ba Profanities for the two major C libraries.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2819 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:11:07 +00:00
Mark Olsen 203ed87b73 Don't put large structures on the stack.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2813 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-13 06:30:39 +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
Mark Olsen fbdf2d4d25 Now builds with Libnix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2809 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 15:47:16 +00:00
Mark Olsen c212c7e5e0 Because I like blaming Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2808 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 15:38:44 +00:00
Mark Olsen c0a4a2b8fe One less WTF.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2807 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 15:28:44 +00:00
Spoike d3ea7bc446 Fixed a remotly causable crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2806 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-10 03:06:28 +00:00
Spoike e1e5bf1a82 Expanded the limits to match what mvdsv/ezquake allow/expect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-10 02:02:14 +00:00
Lance e557658a34 MACOSX support, it compiles.. whether it works is another story.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2791 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-19 14:49:37 +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 5b85ffc865 Make the stream labeling in tuimenu identical to guimenu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2789 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 23:19:55 +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
Molgrum 35854f67b8 Missing linebreaks on these prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2787 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 17:30:56 +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 e46e9e48ea A better spawn point when entering the streamless state.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-09 17:41:08 +00:00