1
0
Fork 0
forked from fte/fteqw
Commit graph

297 commits

Author SHA1 Message Date
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
Mark Olsen
aac111c7b0 Use netinc.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1624 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:32:15 +00:00
Mark Olsen
48c1f94425 Common includefile for platform specific network thingies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1619 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:12:45 +00:00
TimeServ
8728f3abbb pe_defaulttrail junk for Q1/H2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1595 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 23:11:19 +00:00
Spoike
9355c7dda5 makeconfig.sh - the shell script that generates config.h either automagically or through prompts, use it through make
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 03:02:55 +00:00
Spoike
cdb82f3316 small cleanup and bugfix for zlib->abail_zlip
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-21 21:09:11 +00:00
Spoike
35192beb47 More tweekable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1569 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-14 01:32:21 +00:00
Spoike
3818c9342b Fix for uninitialised CB stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1565 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-14 00:58:29 +00:00
Spoike
3e8029a0f8 This fixes the 64bit sv_mapcheck issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1560 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-05 21:24:46 +00:00
Spoike
c62c5cfd30 Trying to fix an amd64 wierdness where mapchecks fail.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1556 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-03 23:46:31 +00:00
Spoike
d9370fb715 Small tweek that just makes it look better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-03 23:43:13 +00:00
Spoike
64fdee9482 -usehome should work properly, there's also an extra option to restart the filesystem, flushing pak files without reloading them, but it might not work properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-31 00:52:03 +00:00
TimeServ
210cb2e959 serverinfo fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1543 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-30 01:21:42 +00:00
Spoike
e8fe89ba18 This is a cheap way to get the mingl target compiling again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-21 23:42:57 +00:00
Spoike
7e2be93b05 Fix a compile error on dedicated builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1525 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-21 15:52:05 +00:00
Spoike
b606b001a0 always dump configs into quake/fte
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 22:43:10 +00:00
Spoike
bab78c82a5 This may or may not be needed for the download menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1521 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 22:26:11 +00:00
Spoike
436721468a Small cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 20:01:17 +00:00
TimeServ
6412c5d141 temporary fix to init crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1500 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-18 04:38:22 +00:00
Spoike
34b6814743 Trinca gave me an insanely sized map, lots of surfaces and things.
Stupid load times.
They're MUCH quicker now. Hurrah!
And yes, r_shadows 1 was a mistake when trying this map. ehe.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1496 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 15:22:27 +00:00
Spoike
aeff202074 Added an option to restart the filesystem (to add pak files etc).
This will be used by the various download functions.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 12:49:15 +00:00
Spoike
293cacfca4 Fixed an assumption where all lit q1bsp models are cl.worldmodel - we use currentmodel instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 04:03:13 +00:00
Spoike
92cbddb20c Host_Error instead of Sys_Error when we try using q3bsp in sw.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:58:50 +00:00
Spoike
f024485827 fixed up the flocate command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1474 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:47:26 +00:00
Spoike
fb387ad41a it's a cosmetic thing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1473 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:46:33 +00:00
TimeServ
e47090201b pe_defaultrail, like pe_default but for trails, works mostly with q2 for now though
additional Q2 TE_s supported
a few other particle fixes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1454 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-08 22:35:20 +00:00
Spoike
eaf3cb3c6a A header file for the common builtins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1450 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:33:28 +00:00
Spoike
d4d365175d I've been fixing warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:27:20 +00:00
Spoike
08de916232 e2m2-stuck-on-plat bug fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1447 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:21:54 +00:00
Spoike
cb7acda2dd Fixing a couple of warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1446 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 02:14:22 +00:00
Spoike
702f89dbad This fixes a couple of physics bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1443 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 02:10:56 +00:00