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
Lance
73204d959c
Same as last commit, except this one will affect .cfg's where the default port is changed
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-15 16:31:53 +00:00
Lance
a7b0200cd6
Hack for linux, open the IPv4 TCP & UDP ports before the IPv6 ports. Whatever is loaded 2nd will still result in a socket bind error (Address already in use), at least this way the IPv4 ports will be open.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3876 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-15 16:23:04 +00:00
Lance
1a5cb4add5
Removed qplaque.lmp and p_option.lmp from appearing on connected clients (only fteqw clients saw these) which blocked the menu text.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3875 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-15 12:51:05 +00:00
Lance
be91ec36e2
Tweaked VC6 project file, added MSVC10 (dotnet2010) & MSVC9 (dotnet2008) project files. Also header fix for MSVC9 and beyond.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-15 12:41:09 +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
93aba48cdc
TA couple of fixes.
...
Meshes now have the right lighting if they were cached before rendering.
npFTE startup/shutdown/restartup is more robust and is less likely to crash browsers.
Re-added the r_shadows cvar. It now provides blob shadows.
Hopefully fixes mingw voip crash, may need mingw upgrade, sorry in advance moodles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3784 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-30 17:21:10 +00:00
Spoike
9b6ea1c114
Fix for recent timing issues, hopefully.
...
Fixed a couple of warnings.
Added voip options to menus.
GL+D3D merged builds compile, but d3d is probably broken still.
Added vid_gl_context_es2 cvar to attempt to init a gles context. Note that you also need to set the requested gl version correctly.
Changed qtv's webpage view slightly, for slightly updated npfte usage.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3714 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-04 02:56:16 +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
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