1
0
Fork 0
forked from fte/fteqw
Commit graph

567 commits

Author SHA1 Message Date
Spoike
01c3544aeb Don't crash when trying to use d3d.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-12 17:06:55 +00:00
Spoike
0ad239ca6a Fixed all warnings in MDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 14:51:36 +00:00
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
bc1f25a11b A bit of fun with gamma.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 02:05:15 +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
bb67cd181e Fixes the skybox in d3d.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1922 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:32:39 +00:00
Spoike
48d07feec4 vid_wait_override stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:32:30 +00:00
Spoike
d09c73dfeb Fixes mouse + sbar_edit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1920 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:21:16 +00:00
Spoike
52ddfccfaa Removed moodles' multisample stuff. That's not how it's done.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1907 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-29 00:18:27 +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
TimeServ
f3f02e5353 fix warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1900 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 02:43:10 +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
Lance
e713a9b5ab Better anisotropic filtering support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1878 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-16 06:22:18 +00:00
Lance
dc53b0aae4 I spelt anisotropic wrong
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-16 06:20:43 +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
15a7211e20 Fixes something with skeletal animated frame groups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:25:15 +00:00
Spoike
1ac26032f6 Use the pink checkerboard instead of pure white. This makes it obvious that the texture is missing, hides an ATI driver bug, and generally looks a bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1854 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:24:06 +00:00
Spoike
840ab4682d *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:23:03 +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
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
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
6f52e8ea5a Fixes the fog shader on q3dm4 and similar shaders (they do occur elsewhere in std q3).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-27 16:54:28 +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
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
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
TimeServ
96de3b78c3 added partial r_stains
changed default of r_stains to 0.75


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-17 21:51:42 +00:00
Spoike
2cd3740b2f This *WILL* boost fps slightly. By as much as 50 perhaps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1722 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-17 20:16:49 +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
0ed3044f0f Use skin files to replace the skins, instead of add.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1698 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-12 01:58:15 +00:00
Mark Olsen
df41c9461d Let's try not to fuck it up for little endian next time :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 21:52:38 +00:00
Spoike
b14f789fbe Convert q3 flares to dynamic flashblendable lights
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1672 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:20:11 +00:00
Spoike
688bae5fdb Fixes taskswitch bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:19:22 +00:00
Mark Olsen
4120541f06 Reenabled the XCloseDisplay call as things fuck up without it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1665 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-05 21:22:36 +00:00
Mark Olsen
2e22b57fc2 Fixed big endian support for Linux/GLX
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1664 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-05 20:51:18 +00:00
TimeServ
1b2dfa9701 fixes to stainmaps (project options got screwed up so I didn't catch the glitches)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1658 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-02 00:49:20 +00:00
TimeServ
bc44aaf54b stains are multiplicative instead of additive
get rid of infokey usage in cl_ignore
reduce sw stainmaps from int to unsigned char


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1657 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 22:36:01 +00:00
Lance
79d122b3cf Anisotropic Filtering take 2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1656 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 15:52:36 +00:00
Lance
a42d9dac20 Anisotropic Filtering
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1655 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 11:40:45 +00:00
Lance
96c5dd71ec Anisotropic Filtering
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 11:22:20 +00:00
Lance
eae50d7bf6 Anisotropic Texture Filtering
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1653 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 11:20:19 +00:00
Spoike
77474af3b2 Stops a recursive error when the MessageBox function tells us that it's appeared, over and over and over again, causing more MessageBoxes... Grr.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1647 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 01:24:07 +00:00
Spoike
6f6b337428 fix for dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1640 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 21:35:43 +00:00
TimeServ
18b062a0fe also look in charsets for quake character sets
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1636 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 02:53:08 +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
a481295083 Fixed some newly added endian bugs. Quake 2 support works again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1618 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 11:57:02 +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
ebcaac9a08 This should fix the recent windows gamma issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1591 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 21:13:45 +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
277d0b6960 small tweeks and hacks for better integration with kde
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1575 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-21 21:07:45 +00:00
Spoike
de5dd89b74 Tweeked automatic generation of shaders, we now search for shirt/pants textures for default skin shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1570 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-14 01:33:25 +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
6b8551e8b9 Added a flag that can disable looping of animations, used by some zyms.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1568 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-14 01:31:14 +00:00
Spoike
06f02a2765 don't light alias models, and use shaders on md3s again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1520 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 20:02:33 +00:00
TimeServ
dbf8fee5d2 gl_blend2d fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1517 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 18:16:32 +00:00
TimeServ
3d861b61e3 fix to gl crosshair
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1514 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 04:32:51 +00:00
TimeServ
3d531e6f45 added vid_desktopgamma
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-18 04:42:13 +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
0c2beaafa8 Push the skybox back if the user set the gl_maxdist to infinate.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1488 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:59:45 +00:00
Spoike
e3e01642bc Use q2-style skybox rotation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-15 20:08:50 +00:00
Spoike
65c00d62b5 Fixes the seams, allows the mapper to specify a skybox.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1469 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-15 20:06:34 +00:00
Spoike
04181ac219 Fix sprites and particle effects.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1464 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-10 23:17:35 +00:00
TimeServ
fbf48a84dc fix to radomvelvert
rehashed particle sets (spikeset, faithful, and highfps are now complete sets), added minimal
fix to gl crosshair...


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1458 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-09 22:06:52 +00:00
TimeServ
6523dc2235 more stupid errors...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1452 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-08 05:05:09 +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
b73f794d7d Just fixing some warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1445 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 02:13:15 +00:00
TimeServ
e2f76d2861 fixed stupid mistake
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1430 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-05 02:23:30 +00:00
TimeServ
dcabb778f6 fixed crosshairimage w/ crosshaircolor
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-05 02:12:49 +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
953e87faaf -dedicated server crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1412 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-04 18:07:32 +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
TimeServ
95a9c06645 $#!*()$#!)@$!@)#(@!)(#
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1405 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-30 03:20:19 +00:00
TimeServ
690bb8cb0a crosshair correction, again...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1404 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-30 03:17:51 +00:00
TimeServ
81e7b2020d crosshair position fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1403 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-30 03:12:01 +00:00
TimeServ
11fa1bfbef small r_menutint fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1402 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-30 01:29:27 +00:00
Spoike
e91c945952 A bugfix and a slightly more efficient rendering thingie.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-29 23:33:26 +00:00
Spoike
710d7aa3ed r_waterwarp -1 warps the fov, not a post-processing pass.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-29 23:32:22 +00:00
Spoike
4a15a60ab1 You don't need shaders for blending 2d images.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-29 23:31:08 +00:00
Spoike
bcc1f2c081 Fix the shineyness, so it actually fully matches q3.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-29 23:28:53 +00:00
Spoike
fe6158f8a9 More correct.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1395 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-29 23:28:08 +00:00
TimeServ
12a172bc95 r_menutint added, changes background tint for gl and sw
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-29 23:20:29 +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
c86db94c76 Added alternate replacement texture names for compatability. (as requested by rjlan)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1351 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-22 12:59:34 +00:00
TimeServ
b7318bfaf4 warning fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-21 01:21:35 +00:00
TimeServ
e9a0c2edc3 r_shadows fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1348 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-21 01:14:58 +00:00
Spoike
3e7a823089 A fix for TimeServ's memory leak report: 'gl_draw.c: 3507 zone difference is 2600'
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-17 16:48:47 +00:00
Spoike
13cade8fe9 fixed some minor issues
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-15 05:55:43 +00:00
Spoike
f1ec9f4952 Added new rendertypes for q3.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:29:22 +00:00
Spoike
e08dc42386 Due to a few other commits today, we can fasttrack shaders slightly.
Also added extra q3 entity types. We now see lightning and railgun beams.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:27:20 +00:00
Spoike
a294161ce5 upload deluxemaps only if we're actually using bumpmapping. This might help drop texture memory and boost fps slightly. Probably not by much, however.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:25:10 +00:00
Spoike
8c38072cbb Fixed some mipmapping, so we probably get higher fps now, yay. :p
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:23:54 +00:00
Spoike
ac99836c88 just made some of the coding style more readable, a cosmetic whitespace change only.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:23:18 +00:00
Spoike
7e3bc6a2e1 new cvar to disable ^b, especially with people's names on the hud..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:22:17 +00:00
Spoike
7f993dfb75 Fixed a couple of warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:21:32 +00:00
Spoike
3d3199eeda And dedicated server compiles too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1301 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-09 23:54:54 +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
TimeServ
eb06704511 fixes to particle emitting (temp?)
build fixes to SW
parsing fixes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-09 02:01:30 +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
2486c48927 Added dpm support, and a mod_md3flags cvar to disable reading flags on md3s.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1292 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 02:02:09 +00:00
TimeServ
c3219a8ba5 linux fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1285 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 01:47:48 +00:00
TimeServ
6c49205520 Q2 fixes
minor input fix


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-04 05:48:26 +00:00
TimeServ
398e6b23cf r_rocketlight should be variable
maybe some fixes to dlights?


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1261 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-28 05:21:25 +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
33542049b2 still needs tracing to be rewritten
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:49:36 +00:00
TimeServ
bc6d871f37 gl_blendsprites hack added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-23 23:36:04 +00:00
Spoike
9a4e707fda Fixed some precompiler constant usage.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-19 16:35:49 +00:00
Mark Olsen
9b822244ee Fixes to minimal build.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-19 15:46:31 +00:00
Mark Olsen
467f564f1a Fix for minimal build.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-19 15:42:56 +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
Spoike
f4a3068ae2 dedicated server should compile properly now, yay.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-10 17:22:49 +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
48fd9285e7 Fixes skinning issues with multiple surface models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 13:16:20 +00:00
Spoike
887d613984 Fix rgbgen topcolor and rgbgen bottomcolor
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1205 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 13:11:23 +00:00
Mark Olsen
4cf65db4b7 Endian fixes to the Q3 model loader.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 02:21:20 +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
Spoike
a3c6317802 make d3d compile again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-06 00:36:55 +00:00
Spoike
7900f2b598 Make fov change view size in isometric.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-04 11:42:15 +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
c43ca67df6 Only include glquake.h if we're actually building a GL renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 22:35:11 +00:00
Spoike
e8e35a4a19 Why do compilers have to be so fussy ?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1189 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 16:55:42 +00:00
Spoike
16ca2a1cc8 Small, easy fix for a stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 16:51:12 +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
TimeServ
b43869f191 fix to q1 model loading
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 00:13:06 +00:00
Spoike
4fad5d02bc work, dammit!!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1149 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 17:04:36 +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
Spoike
83bf982654 Small tweeks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-09 15:47:20 +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
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
0a25f2084f Windows XP raw input support (should fix rid#1217412?)
enhanced con_ocranaleds


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1120 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-29 21:20:34 +00:00
TimeServ
ed8f285738 con_ocranaleds preliminary (should obsolete rid# 1215521)
conwidth/conheight set to CVAR_ARCHIVE


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1119 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-26 12:31:56 +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
f64645ff6d Fix d3d renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1112 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-22 16:38:49 +00:00
Spoike
2c5eeb9fa4 Fix for colourless models after a vid_restart (or a flush, it turns out)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1099 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 23:50:18 +00:00
TimeServ
e5b76314ac - Q3 UI IS NOW BROKEN -
mouse5/6/7/8 attempt (rid #1217412)
DX3/DX7 dual compatibility (hopefully, needs testing)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 22:30:57 +00:00
Spoike
92c6acd4ec *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1091 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-15 04:36:20 +00:00
Spoike
def6f6fa60 So that sdl compiles
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1090 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-15 04:36:06 +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
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
Spoike
87b0e0aa80 Fixed the shadow related bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 01:58:17 +00:00
Mark Olsen
3190345f6e Moved up #ifdef RGLQUAKE so glquake.h isn't included for sw only builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 17:58:27 +00:00
Spoike
76350b3463 Added gl_motionblur cvar.
>=1 and <= 0 are bad values.
experiment to find a value you like.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1057 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 08:24:31 +00:00
Spoike
7ca1642488 Fixed r_shadows. Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1056 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 08:22:56 +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
922a876cd4 bigfoot's code doesn't compile very well in windows. Heh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1052 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-23 05:32:55 +00:00
Mark Olsen
16d52bd692 Multitexturing is now enabled even if you haven't got glMultiTexCoord3fARB.
Added glDrawRangeElements "emulation" using glDrawElements for systems without
glDrawRangeElements.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1044 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-21 01:33:58 +00:00
Mark Olsen
decafeddd3 Fixed clearing of qglClientActiveTextureARB if multitexturing couldn't be enabled.
Moved printf to tell the user that multitexturing is enabled to make it really only say
that if it was. Before it would say so even if the addresses of the MT functions
couldn't be found.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-20 12:48:06 +00:00
Spoike
979df82f05 Support DP style skin files on zym models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-19 02:43:11 +00:00
TimeServ
641986a0ee r_lightmap_saturation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1024 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 01:40:01 +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
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
9a628f626b don't redefine vec4_t
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-14 23:10:38 +00:00
Spoike
9a4633b19f Compile dammit!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1012 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-14 18:30:06 +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
ae19812e92 jk2 shader path added (which is also a cleaner name anyway...)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@973 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-20 23:54:54 +00:00
Spoike
9d65df9b4d Byteswap the palette (for macs).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@972 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-20 23:51:56 +00:00
Spoike
545b457f02 Trying to improve portability.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-19 21:09:29 +00:00
Spoike
d03c99b3eb Fixed SDL stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@967 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-19 19:31:15 +00:00
Spoike
ba70042981 Trying to fix some gamma ramp sizes. :/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@965 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 17:31:53 +00:00
Spoike
b8eca23cfb *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 17:12:18 +00:00
Spoike
ee02371019 Added an option to compleatly disable gamma ramps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@961 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 05:41:39 +00:00
Spoike
998efee8c3 Trying to fix bsd gl support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 05:35:23 +00:00
Spoike
f43b221896 Stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-16 16:21:27 +00:00
Spoike
1baee5fbe1 A small speedup, and more memory efficiency too. Won't shadowalker be happy. :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-29 03:17:17 +00:00
Spoike
d7bb31a516 Some changes. QC execution has been tweeked a little. It needs further work still.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-28 00:11:59 +00:00
Spoike
5926f9f4cf *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-23 22:14:08 +00:00
Spoike
7e1ab9e29b *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-20 02:57:11 +00:00
Spoike
2000d01334 Small changes, a few bugs fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@905 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-18 06:14:33 +00:00
Spoike
d4e494488b *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-12 23:40:42 +00:00
Spoike
ce3c561cfe CSQC is standard now, and secure via the same md4 as a map currently has.
Particle system functions renamed a bit, a few other cleanups in that area.
Console handling tweeked. Better rules for subconsoles and plugins. Commands are coloured if it'll be execed, which should help reduce occurences of chat being commands. tab compleation tweeked, partial compleation no longer changes the suggestion.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-10 03:55:18 +00:00
Spoike
2621cc6aad *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@894 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-07 08:58:26 +00:00
Spoike
9ae7e2621d SOFTWARE RENDERING IS BROKEN: DO NOT USE ASM VERSION.
Lots of changes.
CSQC should be functional, but is still tied to debug builds. It WILL have some bugs still, hopefully I'll be able to clean them up better if people test it a bit.
Precompiled headers are working properly now. Compile times are now much quicker in msvc. This takes most of the files this commit.
Restructured how client commands work. They're buffered outside the network message, some multithreaded code is in. It needs a bit of testing before it's active.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-28 07:16:19 +00:00
Spoike
9fbeb58384 Fixing v_cshift with hardware gamma on winnt. winnt sucks.
flashbangs are non-cheatie now.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-17 03:30:24 +00:00
Spoike
acde8ade44 CSQC support changes and some small bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-12 18:56:04 +00:00
Spoike
cb487034e9 csqc is now working in some ways. Hash tables use renamed functions, and a few other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-09 19:32:09 +00:00
Spoike
90bd03f65e Small cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@868 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-06 13:54:36 +00:00
Spoike
95eafd7427 some bugfixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-06 02:47:36 +00:00
Spoike
936ecea483 Try to reduce blending artifacts at edges
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@859 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-29 02:15:59 +00:00
Spoike
545c635ae4 Added gl_lerpimages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 04:28:07 +00:00
Spoike
a952965761 Someone's header file doesn't include these.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@848 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 04:27:44 +00:00
Spoike
ec2d561ffd minimal sw needs this fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@847 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 04:27:17 +00:00
Spoike
2240c8983a okay, not sure why those were issues...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 01:16:40 +00:00
Spoike
4fe170410d gl_2dscale removal for windows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@837 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-27 20:45:24 +00:00
Spoike
1a14d41488 Improved video menu and 2d scale.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-26 18:56:49 +00:00
Spoike
7dfa8ee86c Asm rendering of alias models is back in now - and it works
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@833 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-26 17:16:08 +00:00
Spoike
8233e58472 mvdplay should be run fine now, once in. You can still hijack scoreboards though.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-26 03:39:47 +00:00
Spoike
51da6d3abf Fixed some warnings and stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-24 23:47:32 +00:00
Spoike
a1b3f4746e Added hardware gamma, fixed alt-tab issue where alt was still held.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@826 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-24 03:07:16 +00:00
Spoike
28fda441c8 Reworked quite a bit of 2d code... well, fps, speed and clock at least
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@824 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-23 17:49:42 +00:00
Spoike
adbd57f02c Crosshairs should be working fine now, apart from the text-based ones at least, which arn't implemented
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@820 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-23 17:42:06 +00:00
Spoike
33e1f445ba Those function pointers arn't needed
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-19 14:15:06 +00:00
Spoike
f1ae971486 Disabled GL_SGIS_generate_mipmaps. ATI driver bugs (on other peoples cards).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@816 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-18 21:10:24 +00:00
Spoike
1a50a9c85a I got annoyed at the number of messages. Made em developer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@815 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-18 21:06:46 +00:00
Spoike
569c088bcc works on ATI cards now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@814 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-18 21:05:43 +00:00
Spoike
8b0f803512 gl_shadeq1 stuff. q3 shaders on q1 maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@813 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-18 21:03:46 +00:00
KrimZon
4e2299ef64 OpenGL Shader Object Waterwarp:
Fixed to use textures for warp, and for determining distance from the edge of the screen. The second siginificantly improves performance over calculating it in the shader.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@808 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 18:06:45 +00:00
Spoike
2cc4209738 glBlah is evil. Use the realy qglBlah stuff instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:45:31 +00:00
Spoike
23dc0e4b01 Small anti-console-spam improvement.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@804 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-17 17:44:54 +00:00
Spoike
2e8ecb5dbe Removed some debug checks, added some bug fixes, should be a mite bit more robust now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@796 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:31:39 +00:00
Spoike
78e798722b Fixed application of crosshairalpha, it's now all applied properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 17:59:57 +00:00
KrimZon
a94c12c738 OpenGL Shader Object Waterwarp tidied up a bit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@777 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 17:59:29 +00:00
Spoike
9d24482f9a Well that was useless at 320
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 15:20:33 +00:00
Spoike
79dac32f14 Fixed some small bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 15:19:40 +00:00
Spoike
decefcb1ab KrimZon's water warp code works a bit better with this instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@771 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 15:18:02 +00:00
KrimZon
75c31d7223 Post Processing to do waterwarp in hardware when glslang is available
Fixed a typo creating shaders in the wrong way


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@770 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-12 22:32:09 +00:00
KrimZon
71ecb90233 Post Processing to do waterwarp in hardware when glslang is available
Currently has some kind of bug causing a program link error with no message.

gl_rmain.c
added post processing code, for waterwarp

gl_draw.c
glquake.h
initialises a texture number for use in post processing

gl_vidcommon.c
added function pointer for qglCopyTexImage2D
and its intialisation

glquake.h
put Cl before Co in the defines of gl* to qgl*

gl_rmain.c
glquake.h
gl_vidcommon.c
added a function in gl_rmain.c to init the shaders for post processing, and called it from GL_CheckExtensions


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-12 22:15:50 +00:00
Spoike
b192d3a175 SDL works a bit better now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@768 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-12 08:38:31 +00:00
Spoike
071a7cefe1 Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:16:44 +00:00
Spoike
48de667b3f that flush shouldn't be needed, and a small spot of "Changed gl->qgl".
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@762 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:14:10 +00:00
Spoike
0b4df80600 deluxmap support added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@761 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:10:11 +00:00
Spoike
f7ed8da8ef Changed gl->qgl. Preliminary csqc work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@760 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:07:50 +00:00
Spoike
d8ef0b5c2e Added mesh generation (currently as well as poly creation) Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@759 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:06:40 +00:00
Spoike
90d183cb14 Added GL only GetPalette. Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@758 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:04:42 +00:00
Spoike
8b543d0d66 Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@757 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:03:56 +00:00
Spoike
5530ac045f Added shader path for the r_drawflats. Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@756 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:01:24 +00:00
Spoike
88424fd924 changed gl -> qgl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@755 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:59:56 +00:00
Spoike
32f4b79893 Added support for deluxmaps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@754 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:54:59 +00:00
Spoike
9528e73c96 Converted gl -> qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:54:22 +00:00
Spoike
478d42c441 Removed some obsolette comments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@752 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:51:40 +00:00
Spoike
933de315ea Removed the old forms of the specular fragment program.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@736 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:13:54 +00:00
Spoike
6b17c2f8c3 Run without gamedata (server list works at least)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:12:46 +00:00
KrimZon
4b60b739f7 Added GL_ARB_shader_objects extension code in glsupp.h
Added init of the used functions to GL_CheckExtensions and some functions for the simplifying api to gl_vidcommon.c
Added the function declarations and other defines for that interface to glquake.h


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 23:34:42 +00:00
Spoike
6cc587e8e8 Make sure colour 7 is used if the server said an empty lightstyle.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@715 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 08:16:52 +00:00
Spoike
925edaf345 Hmm. Looks like that function wasn't used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@698 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-29 03:22:49 +00:00
Spoike
b49714565c Added some extra validation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@697 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-29 03:22:09 +00:00
Spoike
3e9ce35b49 Fixing colour forcing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@696 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-29 03:20:42 +00:00
Spoike
4b0395e079 Lots of stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-24 08:45:56 +00:00
Spoike
2976ca471e raz0 pointed out that gl was crashing on his computer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@681 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-22 13:47:57 +00:00
Spoike
835a7ea700 That's simply not needed any more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@669 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:35:19 +00:00
Spoike
5baf239a6d Tiny speedup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@668 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:34:58 +00:00
Spoike
26a1533f97 This was causing issues with q3uis.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@667 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:34:21 +00:00
Spoike
2216d9c0c0 gl schematics 2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@666 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:33:45 +00:00
Spoike
47afae3dfe Fixing tags.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@665 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:32:34 +00:00
Spoike
9db52890b2 Added profiling code, added schematics, drawflat, and stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-15 19:53:30 +00:00
Spoike
0202601875 glPolygonOffset added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@632 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 16:45:38 +00:00
Spoike
3995f947d3 Byte swapping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@631 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 16:44:36 +00:00
Spoike
2eb8db11d0 parse lightstyles for real-time lights.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@629 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:46:37 +00:00
Spoike
f6255c4713 For compleateness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@628 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:45:47 +00:00
Spoike
f43b24da6b added code to make sure we've got the right texture unit selected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@627 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:44:40 +00:00
Spoike
f20af5d236 Hmm. small speedup. :/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@620 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:31:37 +00:00