1
0
Fork 0
forked from fte/fteqw
Commit graph

405 commits

Author SHA1 Message Date
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
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
Spoike
9d5d7d8021 Fixing some warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1442 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 02:10:27 +00:00
TimeServ
2a8a405446 die SEEF die
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1425 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-05 02:11:24 +00:00
TimeServ
8246a4b9fb don't use black text
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1424 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-05 02:10:54 +00:00
Spoike
8ca97dc86b Getting rid of the version number, now using build numbers only.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1418 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-04 21:08:06 +00:00
Spoike
4366f644e5 A few tweeks here and there.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-01 03:09:17 +00:00
Spoike
1460649835 Blah
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-29 23:49:24 +00:00
TimeServ
5f55ba34bf moved log junk to seperate file
will move fraglog junk later
up to Spike to fix the dsp...


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1380 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-27 04:05:32 +00:00
TimeServ
ad3f2c26ac warning fixes
log_* cvars (readable translation, cycling, custom dir/file, developer, etc)
cl_standardmsg (like cl_standardchat, colors names in standard net messages, defaults to 0 to annoy people)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-26 08:07:26 +00:00
Spoike
d697b1ca2d Some small tweeks, and a new matchclientname extension. Woot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-26 03:40:09 +00:00
TimeServ
b63737c08b constblock memory stuff
added condump, dumps current console contents to file


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-21 01:14:04 +00:00
Spoike
01d92fdaf2 make dedicated servers build again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-17 17:05:21 +00:00
Spoike
a17335870b Hopefully the fix for TimeServ's memory leak report: 'cmd.c, 1844, 18 bytes every map load'
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-17 16:49:21 +00:00
Spoike
c890800e0e Fixed a rare compile error and a warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 16:56:59 +00:00
Spoike
2b09279b12 Updated some defines, Fixed the website renference..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:21:02 +00:00
Spoike
c2885176f3 Added an emergency escape route if you somehow run an alias that loops infinatly. You're still an idiot if you do so, but shift+ctrl+alt at the same time will abort the alias. This may change at some point.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:20:19 +00:00
Spoike
a8dfe93350 Small warning fix. I should really fix all of FTE's warnings some time.. :(
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:18:05 +00:00
Spoike
86e1757e65 Added a couple of prototypes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:17:20 +00:00
Spoike
568eaa66e5 This fixes a few quirks seen in q3bsps. We no longer depthsort textures, but sort by shader instead. this is more similar to how q3 works. models are still going to be wierd though.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:16:36 +00:00
Spoike
348a1024be Now compiles and works fine in linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-09 23:40:55 +00:00
Spoike
347311db8c q3 fixes and misilaneous minor changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 22:52:46 +00:00
Spoike
f5f36c88f4 bracketed a few of the parameters to vector macros.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 01:57:09 +00:00
Spoike
158163b29c renamed some parameters, and made them optional. if you don't provide the syscall function pointers, you can't load the vm as either dll or qvm (handy for when sv_pure stuff works properly)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 01:55:56 +00:00
TimeServ
a49ca96a5a cl_parsewhitetext (rid#1239249)
non-standard text messages should be much better for use
server voting fix


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-07 14:55:25 +00:00
Spoike
79022ea924 Don't generate absurd decal fragments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-07 01:05:27 +00:00
Spoike
2bc6beda82 fixed slope issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1262 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-28 19:43:50 +00:00
TimeServ
b2494e4bc6 fs_cache fixed again, hopefully
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-27 06:43:12 +00:00
TimeServ
acf77a47eb cvarreset enhancement
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-27 04:24:38 +00:00
Spoike
c0ff57d388 small fixes to make stuff nicer, and more likly to build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 23:55:09 +00:00
Spoike
1130dea569 Rewrote a few bsp tracing stuff (primarily for heightmap things).
Q3 client and server support is in.
heightmaps are in.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:56:51 +00:00
Spoike
2f4161ced8 FTE's filesystem has migrated to outside common.c
Note also the addition of q3's sv_pure stuff - which isn't yet compleate (or ethical).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:52:26 +00:00
Spoike
5e5973fc35 common stuff for q3 client/server. netchan, shared field info, etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:51:20 +00:00
TimeServ
3a0181d5ca exec permission demote
fix to r_explosionlight
few sound fixes to csqc standard effects (not done yet)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 21:59:36 +00:00
TimeServ
ba4e46bf9f cvarlist changes, cvarreset added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-23 03:25:22 +00:00
TimeServ
5e20d80817 cvarlist enhancement.. should we do more commands this way?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-22 22:21:59 +00:00
Spoike
cd19c7ac80 It should be stable now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-21 04:50:16 +00:00
Spoike
676cd47bb2 Disabled 'chunked' downloads. It was causing issues. There's a bug there somewhere, but it'll be too hard to find. Fall back to standard qw downloads.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-12 01:38:19 +00:00
Spoike
bd4c05706b Fixed fastcall calling convention issues with GLRelease/mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-12 00:22:38 +00:00
Spoike
83a2f3aa06 Getting ready for qexpo. CSQC is in final dev stages. Everything else should be working well enough too, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1217 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-11 04:14:33 +00:00
Mark Olsen
b17bedde4a That's #ifdef HUFFNETWORK, not #ifndef MINIMAL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-10 22:39:56 +00:00
Spoike
5dce02d558 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 18:08:13 +00:00
Spoike
d1d0989ab3 Small tweeks. The stack is always aligned now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 13:21:48 +00:00
TimeServ
83cc102208 m_accel/m_accel_noforce/m_threshold_noforce added, m_filter fixed up
added particle fields inwater and spawnchance
changed particle field timelimit -> spawntime
emit state is now kept (fixes rid# 1015648 FINALLY)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-06 22:39:28 +00:00
TimeServ
c30d79eb31 fix to sw character drawing (should speed SW up)
gl_blend2d (hackish cvar to get 2d blending, should work?)
fixes to pluginless compile
few other small changes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-06 07:18:29 +00:00
Mark Olsen
eb69ef9547 Endian fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1199 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-05 18:50:07 +00:00
Spoike
7903310326 Lots of small changes. q3 player models are working and things, though csqc. md5mesh is supported (md5anim through an alternate 'format' to specify model name and a list of md5anims).
Lots of cool stuff.

r_shadows is still broken due to depth sorting of model (and thier depth value being written too late).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:14:59 +00:00
Mark Olsen
091aa86c94 Some MorphOS plugin stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 13:21:43 +00:00
Mark Olsen
625f6b8527 Added the MorphOS platform.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1184 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 14:21:46 +00:00
Mark Olsen
b171e40621 Stuffing some MorphOS code on CVS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 14:17:27 +00:00
Spoike
63ff3fd453 Small bugfix, bug reported by Moodles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 12:35:16 +00:00
Mark Olsen
3113fcad9e Fixed some NQ protocol related endian problems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-29 22:26:43 +00:00
TimeServ
ea9c3b0360 software transtable rewrite, sw additive support for sprites/blob particles/line particles (no models yet), AddBlend/Trans functions need optimization
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-29 01:12:09 +00:00
Mark Olsen
c5c278da85 origional -> original.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:52:31 +00:00
Mark Olsen
46c05df0ea allways -> always.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:33:27 +00:00
Mark Olsen
19476733cb allready -> already.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:22:15 +00:00
Mark Olsen
20880b07be Fix use of uninitialised variable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1159 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-25 13:35:14 +00:00
Mark Olsen
b5d6325fe3 Redid COM_StripExtension to only strip from the first dot after the last slash in a filename.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1158 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-25 13:23:42 +00:00
Mark Olsen
1455020790 Added newline at end of file to shut up GCC.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1154 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-20 20:21:10 +00:00
Spoike
50a59ff11f rewritten vast chunks of code to support MOVE_HITMODEL as well as clean some of it up a bit. Dedicated server should build now.
A couple of minor bugs fixed too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 00:53:08 +00:00
Spoike
f1ea7c0c06 Q2 works, models are depth sorted (the same time as particles).
some extra macros added. We have a full set of dp te effect builtins (but not parsing them all yet... so not advertising them either).
Dedicated server does not build. I need to add some functions to svmodel.c
sound should work properly with roq/cin/avi playback.
gl_detail should work like in ezquake. there's also a new gl_detalscale cvar
bss size should be a small ammount smaller.
all the dp te builtins will send something. But fte can't parse all of them yet.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-14 01:57:34 +00:00
Mark Olsen
c428a29469 More endian fixes, Q3 maps work on big endian machines now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-09 17:14:55 +00:00
Mark Olsen
78390adbfa Some byteswapping for Q3 maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1142 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-09 16:36:26 +00:00
Spoike
86b651132e Annother day of hacking finished.
Time for bed.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1137 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-08 00:37:52 +00:00
Mark Olsen
09d65658b4 Fixed to work on big endian.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1132 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-05 16:55:59 +00:00
Spoike
7e9bbc3fac ktpro should work better now woot. a few other things too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-03 15:16:20 +00:00
Spoike
f85340b9a2 Big huge mega-whooping commit.
I wonder how many things this'll break...
On the plus side, nexuiz works well, and ktpro works as well as in mvdsv. Hurrah!


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-01 19:23:00 +00:00
TimeServ
d63bedbad1 -basegame fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1118 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-25 03:03:32 +00:00
Spoike
39990c213d I wonder how many things this will break...
Anyway, made the renderer more modular (multiple gl renderers in the same binary, supported properly - menu still needs work).
Rewrote parm1-16 handling, and added support for 17-32.
Lightstyle smoothing cvar: r_lightstylesmooth


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-22 17:10:13 +00:00
Spoike
c920170d2a Bugfix: fix crash with no active game paths...
Shouldn't really happen anyway.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1110 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-21 14:41:37 +00:00
Spoike
b172d60b88 Fixed some plugin problems.
loading/closing is more verbose (and a tiny bit easier)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 23:54:34 +00:00
Spoike
abc205c2e5 This is subtly more correct.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1101 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 23:53:21 +00:00
Spoike
dfd8e1aaed Redesigned sound code for greater modularity.
Added support for dp6/dp7 protocols (ents are still broken).
md3 tags should work properly (still suffer from origin-of-parent interpolation bugs)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-14 04:52:10 +00:00
Spoike
d2954819d4 Fixed a linux/ip6 crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1082 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-07 17:30:40 +00:00
Spoike
c2930803d4 hopefully, everything will work that little bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 04:20:20 +00:00
TimeServ
90725afe20 minor trailstate fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-30 11:05:44 +00:00
TimeServ
86f3912654 new trailstate system
te_lightning? and similar, and trail emit is no longer fps dependent
timelimit particle field added
te_*_end is still frame dependent and needs a resonable fix


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1062 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-30 04:34:47 +00:00
Mark Olsen
55fba7d181 Removed unused #include "glquake.h"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 17:59:56 +00:00
Spoike
1534fee1ae Small fixes. Compiles in mingw and allows fte clients to connect without confusing them.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 05:41:07 +00:00
Spoike
95948b35ec Rewrote FTE's NQ-compatable networking code. The nqnet functions have gone, as we support both udp and ipx through the qw code.
cl_netfps has also had some work.
Added polling of http-based master servers (gameaholic).
Lots of darkplaces compatability things added, for nexuiz.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-26 12:55:34 +00:00
Spoike
077fb0d98a q2/q3 clipping fixed (hopefully finally except for bsp objects, that is)
q2 server should work.
added support for addative (and things) blends from menu.dat


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-19 02:53:03 +00:00
Spoike
fcd206e295 That should fix the excessive ping/pl on dedicated posix servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1033 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-19 02:40:18 +00:00
Mark Olsen
0fc98d5021 Note to self: Do it right the first time next time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 23:52:55 +00:00
Mark Olsen
d38f681655 Missing newlines in error messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1029 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 23:40:13 +00:00
TimeServ
2c175ab870 t_ beam effects to te_
type field added (normal, beam, decal)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 23:15:58 +00:00
Mark Olsen
e294a337fa Endian fixes to Mod_LoadWall()
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1027 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 23:01:51 +00:00
Spoike
4a0c02b685 Hopefully, the server will now run on 64bit archetectures.
Also, a piece of unitialialized memory should now be fixed.
there's a con_centertext cvar added
an extra default particle texture.
further dp protocol compatability stuff.
EF_ADDATIVE works on models and supposedly sprites. will do sw sprites too at some point.

Linux makefile needs work still.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-17 02:36:54 +00:00
Spoike
98bbcc2c94 big-endian network compatability.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1016 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-17 02:00:13 +00:00
Spoike
7c418ca423 qc string_t is now an int instead of char *, stringtable is char * instead of int.
Some fixes and extra stuff for nexuiz, but it took a protocol extension, which is currently assumed instead of queried.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-15 18:49:04 +00:00
Spoike
e348dc30a2 Changed vec4_t down to vec3_t, got the server browser integrated with the menu.dat. csqc is having fun, and nexuiz should work better. Enjoy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-13 10:42:48 +00:00
TimeServ
b93695279c prerel, sw fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-08 03:41:24 +00:00
Spoike
a9d9293fc1 Changed spikeset.
Some csqc tweeks, bugfixes, additional work (yay - prediction, keyboard input!)
Some teamplay tweeks, supports much more fuhquake-compatable teamplay stuff.
Changed the texture naming scheme a bit.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-26 16:04:12 +00:00
Spoike
4b48999fdc Preliminary RBSP support.
Q3 needs retesting.
With regard to lightmaps. It currently uses only the first lightmap on the surface, and doesn't yet respond to lightstyles. This can result in some fairly patchy edges, and is a bit darker in those areas. I need to rewrite a few other areas to get the rest to work properly (like how lightmaps are drawn...). Everything else should work fine (this doesn't include working gamecode of course).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@974 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-21 00:02:01 +00:00
Spoike
638fad7d95 Give JK2 paths a go too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-20 23:46:20 +00:00