Commit graph

339 commits

Author SHA1 Message Date
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
Spoike
cf73c8b81e Copyable console, and up2's demand for aliases like fuhquake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-06 01:06:17 +00:00
Spoike
8b3c4d9071 Fixed some bug type thingos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1934 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-05 22:53:59 +00:00
Spoike
6b2b084b76 don't look for qwprogs quite so much in single player.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1923 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:34:24 +00:00
TimeServ
4c88713050 typo
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1908 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-29 00:47:54 +00:00
Spoike
fdb5cf3aff Fixed mvd playback as correctly as I can think how.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 19:04:13 +00:00
Spoike
9620a98dc2 Removed moodles' infokey stuff which was totally wrong anyway.
Enabled the prototype warnings. Looks like we need them.
Fixed a few warnings other than the prototype ones which I just enabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 02:35:40 +00:00
Lance
20ef474862 fixed msvc6 warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 08:06:48 +00:00
TimeServ
8f550d6d1f half-alpha character rendering for software
changed background to not blink
added BX_COLOREDTEXT extension (although the FTE extension conflicts)
fix to console clearing which should hopefully speed things up a little bit


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1886 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 03:10:16 +00:00
Spoike
e3cb464de9 Some bugs fixed. I wonder what I've broken.
Oh yeah, hud scoreboard stuff works now.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1883 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 00:06:49 +00:00
Spoike
e4096f4e70 stop the server from requiring csqc without csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 20:29:34 +00:00
Spoike
e1caf72792 Added an FTE_SV_REENTER extension and fixed a bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1857 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:27:56 +00:00
Spoike
4b877b1090 Fixes saved games.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1843 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-11 22:25:46 +00:00
Spoike
bc745ba504 For completeness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-11 22:21:35 +00:00
TimeServ
664467e41c fix to sw colormaps (MSVC is stupid)
fixed clear command from crashing
added ^h for toggleable half-alpha (still not rendered yet)
added ^&?? for extended fg/bg colors: (poosibly temporary?)
- first ? corresponds to foreground
- second ? corresponds to background
- valid characters for ? are 0-9, A-F and -
- hexadecimal number represents a color from CGA RGBI colors
- -(dash) represents default color for FG, clear for BG


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1838 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-11 07:23:31 +00:00
Spoike
a94b2f19c9 Small pointless cleanup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-10 18:47:19 +00:00
Spoike
3d5b4225db seems to fix the problems with server sending csqc ent packets when there are no csqc ents.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1810 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-06 23:57:54 +00:00
Spoike
24c2bf2d03 Allows us to transfer between levels in an ugly hacky way.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1809 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-06 23:57:03 +00:00
Spoike
1c842b0a1e A small bugfix, courtesy of bigfoot. it used to be possible to have two players with the same name, if they joined close enough.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1786 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-04 00:46:51 +00:00
Spoike
4e42ac6395 Send the player's datagrams... is this bad?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-03 21:31:56 +00:00
Spoike
3c03fd6ea8 Fixed a new line.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:40:40 +00:00
Spoike
a1d78aece3 log builtin now uses vfs. And a newline fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1766 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:39:59 +00:00
Spoike
f187acc6c1 Added a -noreset commandline parameter that should help some server admins that have complained.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1765 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:36:12 +00:00
Spoike
9220034213 Trying to get some sv_pure stuff working, preliminary stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1764 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:34:25 +00:00
Spoike
39ad9338b9 Cleared up some fs mode stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:33:23 +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
Spoike
8ef3ae1182 Gibfilter now no longer initialises in q2. This means it no longer crashes q2 servers, but also doesn't filter q2 gibs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1749 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-01 04:14:41 +00:00
Spoike
06b2836ecc Fixed the old fs stuff here, to use the vfs thingie.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1737 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-23 01:23:03 +00:00
TimeServ
55f788ef0d removed Draw_PicFromWad so we only use the "safe" version
killed some Sys_Errors
transtable loading to vfs
log rotation fix
server cosmetic changes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 07:00:33 +00:00
Spoike
503eff6421 Reworked the filesystem. We now support a virtual filesystem. Many places accept stream usage, although many formats do not support this.
I'm not sure if this will break anything. It shouldn't do, but it might.

Not everything is ported over yet. Ideally there would be no more use of fopen anywhere else in the engine, and com_gamedir would be made static to fs.c
There are a couple of other changes too.

http/ftp stuff is currently disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 03:07:33 +00:00
Spoike
db19960aaf Floodprot-ed the kill command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-16 17:14:06 +00:00
Spoike
1a861e52ed Standardised formatting.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-16 17:12:57 +00:00
Spoike
12bef1befc Stop fussing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1715 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-16 17:12:11 +00:00
Spoike
42648d0fab Fixes the bug with tf2003
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1714 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-16 17:11:17 +00:00
Spoike
13d0a98133 cygwin, mingw should compile, plugins in dedicated servers, and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:15:39 +00:00
Spoike
eda6e0c0fd A bugfix type thingie.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1707 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-14 22:05:07 +00:00
Spoike
f01489b7f4 Team chat sounds, a download bugfix, and a correction to the standard nq entity limits
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1704 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-13 02:31:57 +00:00
Spoike
659c97580d Fix for ktpro teams not changing if you connect with a blank team
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1686 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 23:33:59 +00:00
Spoike
34ea2f2292 Fixes a bug where ktpro wasn't being given the correct strings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1685 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 23:32:06 +00:00
Spoike
a8de363078 hopefully fixes a couple of things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1669 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:17:55 +00:00
Spoike
48dbcfa193 hopefully fies a couple of things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1668 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:17:27 +00:00
TimeServ
81188d622a you didn't see this
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1667 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 01:38:31 +00:00
TimeServ
9a4a8aa411 remove superfluous extension
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1666 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 01:18:47 +00:00
TimeServ
87d4c83abe logging now shuts off after a bad write
colormapping made more generic (more with that later)
small stat fix


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-05 16:47:29 +00:00
Spoike
aaf1a31b05 Fixes the sockettcp issue without TCPCONNECT.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1650 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 01:51:47 +00:00
Spoike
339d478659 I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
Mark Olsen
b3b3a7a83a Renamed vector to _vector to avoid name clashes on Altivec systems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1623 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:30:20 +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
Mark Olsen
5fd77bb31c Renamed timer to mytimer to avoid nameclash with system function of same name
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1617 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 11:30:13 +00:00
Spoike
806c2eb85b Slightly better ktpro support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1613 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-28 00:14:32 +00:00