Commit graph

327 commits

Author SHA1 Message Date
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
6f98f6f108 fastarrays works properly now.
changed stereo -> numchannels in the sound code
added/tweeked the download menu
fixed a coupld of fs functions
switched the key config menu to mouse-driven
right click now closes menus


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 06:41:20 +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
Lance
88dfd74e81 unfixed static stuff, and put #pragma warning(disable:4701) where msvc complains
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1893 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 03:22:45 +00:00
Lance
e9d294191a fix msvc warnings, hopefully I dont break anything
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1892 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 03:05:33 +00:00
Lance
ed4dbcb903 fixed msvc warnings with #pragma warning(disable:4701)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1891 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 02:45:16 +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
d6c9c70108 A couple of bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1863 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 20:28:46 +00:00
Spoike
f0feb82b90 rjlan wanted mingl to compile again, and moodles reported a demorecording bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 06:27:18 +00:00
Spoike
af116fcf86 Fixes a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1852 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:21:32 +00:00
Spoike
1d437c5023 VFS_GETS is implemented now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-11 22:28:09 +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
TimeServ
afb9ec7a08 fix for RID #1394691 (boss2 at least)
added r_drawviewmodelinvis
Spike needs to fix heightmaps, they have a similar issue


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-09 01:49:06 +00:00
Spoike
ba789a5446 I've been fixing up client downloading. Hopefully we're a little more robust.
requiredownloads 0 can possibly cause problems though, with missing maps and such.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-04 00:44:34 +00:00
Spoike
33eadf8739 Fixes my logic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-03 21:29:47 +00:00
Spoike
975a0a2cc4 Trying to fix some downloading vfs stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1779 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 23:46:44 +00:00
Spoike
19ab4fd050 Meh, I'm just going to commit everything.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 23:01:54 +00:00
Spoike
03acc70202 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1776 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:59:05 +00:00
Spoike
44d7f0d5c9 vfs fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:58:16 +00:00
Spoike
45e1818911 Hopefully this will get people to report more useful crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:57:18 +00:00
Spoike
758a8ab98a Fixes a crash on +setrenderer dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:55:56 +00:00
Spoike
b703cf0d85 Some more vfs changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:53:29 +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
41fdeb5678 sys/param.h is such a boring thing to include. Also, define INADDR_LOOPBACK for systems which don't have that define.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1744 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-31 13:33:10 +00:00
Spoike
7bce2a6426 Urm, a small fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-23 01:23:44 +00:00
TimeServ
6dd7ddd353 palette remap per entity for sw
minor change to qclib for hexen2


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-22 20:35:04 +00:00
Spoike
054663b990 ftp/http stuff should work again. the download menu is still out of action, however.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-22 02:29:11 +00:00
TimeServ
a32c1af46d kill some unnecessary Sys_Errors
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 08:34:34 +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
TimeServ
1d13030916 quick hack to vfs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1729 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 05:25:43 +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
62f7ed5108 for plugins, mostly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1726 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-20 23:33:20 +00:00
Spoike
487865b83e blarg.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:45:04 +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
972a4f08b2 added sin, cos, atan2 builtins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1695 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-10 00:21:45 +00:00
Spoike
80df004c4d A new builtin, for drawing lines.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1690 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-09 19:08:08 +00:00
Spoike
55517b7257 Stop the random crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1680 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 15:39:57 +00:00
Spoike
c6b27d0b81 Fixes all that tests for relative file depths.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1674 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:21:56 +00:00
Spoike
89a52c4a5a fixing flares
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1673 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:21:28 +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
TimeServ
283c7f8454 fix to loading maps/models with fullbrights (sw)
fix a rare crash with HLBSP textures


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1660 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-02 02:38:10 +00:00
Mark Olsen
87bf121760 Build fixes for non-Win32
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-02 01:14:20 +00:00
Spoike
2c10084b45 Fixed a syntax error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1645 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 01:21:38 +00:00
Spoike
bb1c73658c Added memset, memcpy, and memmove for efficency (rather than implementing them in a qvm).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 01:21:08 +00:00
TimeServ
e13c3d5e07 %i to %p
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1638 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 05:05:50 +00:00
TimeServ
61ea1d4429 plug_list enhancement
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1637 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 05:01:43 +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
d0c1d4911f MacOS X defines
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1626 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 23:20:02 +00:00