Commit graph

2462 commits

Author SHA1 Message Date
Molgrum
004ffebb66 Patch from Spike to toggle impulse-queueing. Only Hexn 2 would require this to be 1.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-22 17:00:05 +00:00
Molgrum
8a7f755c72 Changed name of ruleset to 'nqr'. Allowed playercount in 'nqr'.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2866 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-21 08:41:59 +00:00
Spoike
54590f015f Is molgrum never happy? Smile! I dare ya!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2865 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-19 14:10:18 +00:00
Spoike
cc14795cba Model clamping finally implemented. Please test :)
Moved the call to PreNewMap to a bit earlier.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-19 05:59:00 +00:00
TimeServ
ae54e4712f surround netquake stuff around NQPROT defines so minimal GL can build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2863 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 06:36:24 +00:00
TimeServ
d46a2ca5d5 remove GL_Smoothfont_Callback in reinit
set gl_smoothfont as CVAR_RENDERERCALLBACK

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 04:57:44 +00:00
Spoike
67f89fa7f0 Expanded the maximum length of frame macro names to 64-1 characters as per LordHavoc's patch. Also added a message when a frame macro name is too long.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2861 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 03:43:53 +00:00
Spoike
4dcbbf5054 Fixed bugs regarding reading the pcx file format for player skins.
Fixed a bug in the colour-mapping code regarding player skins with sizes smaller than the player's model's skin, and optimised the uploaded image size when small skins are used.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2860 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 03:19:14 +00:00
Molgrum
01483e5e89 Patch by Spike, don't let gl_texturemode2d affect the console font.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2859 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 00:27:28 +00:00
Molgrum
28a7f7165e More consistent archiving.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2858 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-15 19:24:28 +00:00
TimeServ
9f09a30019 r_fastskycolour accepts rgb format
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2857 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-13 05:05:30 +00:00
TimeServ
ec41df875c terrible workaround for optimization floating point compare problems
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2856 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-13 00:25:06 +00:00
Molgrum
6b32d0558c Fixed point-algorithm by Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-12 03:33:59 +00:00
Molgrum
c0e1da76db Compress the scoreboard to fit team names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2854 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-12 02:52:33 +00:00
Molgrum
93ee9cba84 Patch by Spike to make pings update correctly on the scoreboard.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-11 15:22:18 +00:00
Spoike
776faf1bc4 Added initial support for eztv extensions. This is the bulk of the changes. Downloading isn't implemented yet though. Also fixed some demo playback sbar stats, and fixed NQ demo playback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2852 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:52:31 +00:00
Spoike
e7b74777f3 Small fix for d3d-only binaries.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2851 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:40:23 +00:00
Spoike
aeef86dc62 New cvar, vid_preservegamma. Set it to 0 to obliterate your old gamma settings when you leave FTE. This mimics the use of quake3 to reset your gamma settings should FTE crash on you. The default is to restore gamma settings to how they were when you first loaded FTE, the same as before. You can now use FTE to reset your gamma if FTE crashed and broke it. Only applies to the windows version so far.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2850 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:37:17 +00:00
Spoike
e00f927c48 Report EOF only on eof, rather than if the user requested to fill a buffer that was already empty.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:33:06 +00:00
Spoike
bda148a084 Fixing up my paranoia. Only fill in some of these fields if the entry is actually going to be fully used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2848 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:31:18 +00:00
Spoike
b583f3ce6d Nicer indentation. Nothing else.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2847 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:29:05 +00:00
Spoike
2c1bb8ea73 Link engine viewmodels if the specified draw mask is specified. This matches DarkPlaces behaviour, but can result in a bit of wierdness for existing fte-specific mods. This greatly simplifies the addition of viewmodels in csqc (although it was possible before, bigfoot!)
I apologise if you get bitten by the behaviour change. r_drawviewmodel 0 will mimic the old behaviour.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2846 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:27:59 +00:00
Spoike
35176c44b3 Finally fixed lightning beam origins for spectated players.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2845 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:22:13 +00:00
Spoike
88c32fb291 The ultra-lazy guaranteed-to-work solution to static beams.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-08 23:34:41 +00:00
Spoike
bd6e6cb2b8 More meaningful name for unnamed clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2843 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-08 19:36:30 +00:00
Molgrum
8e31e97f60 Screwed up here, this is supposed to be code for two cases. Thanks qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2842 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-05 12:29:23 +00:00
Spoike
216ca421af Added a 'newalias' command. Exactly like alias but does nothing if it already exists.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2840 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-05 09:58:55 +00:00
TimeServ
463a172753 forgot pthread include
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2835 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 20:12:50 +00:00
TimeServ
16caf0e1da added another thread call and fixed up some thread creation logic
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 20:05:49 +00:00
Molgrum
776980a491 Changed sound cvars, backwards compability using the name2-field.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2833 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 19:01:43 +00:00
Molgrum
69ca88da5c Basic ezQuake color code stripping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 19:00:48 +00:00
TimeServ
a6617581c8 thread creation/mutex stubs, code is probably wrong but everything is surronded by #define MULTITHREAD so shouldn't break anything
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2831 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 00:09:34 +00:00
Mark Olsen
fa9ffe86b4 thier -> their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-23 20:28:40 +00:00
Molgrum
e855f380cd New default rate by Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2817 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-18 16:05:02 +00:00
Spoike
7c312dc581 Small code clean up.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2816 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 18:51:34 +00:00
Spoike
5bfa1829d6 a qtvplay bug fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2815 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 18:45:40 +00:00
Spoike
9d5b7f8d63 d3d renderers actually render stuff now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2814 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 17:16:01 +00:00
Spoike
81b91a422d Fixed a couple of qtvplay bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2811 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-12 11:04:04 +00:00
Lance
c413839e56 A proper fix for the setjmp bug converning non-jpeg's being passed to
the jpeg library, for the "Bad 
number of componants in jpeg" console print.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2804 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 15:11:13 +00:00
Lance
1224b3ea42 Changed the RELEASE_CFLAGS from -O6 and the other wierd optimizations to
just: -O2 -fno-strict-aliasing


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2803 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 13:34:37 +00:00
Mark Olsen
17a004d9c5 Really funny. Random stack values always are.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2802 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 11:40:18 +00:00
Mark Olsen
bd10f65dfc Someone forgot a static keyword in Sys_Milliseconds(), making the comparison base always a random stack value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2801 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 11:38:58 +00:00
Mark Olsen
ea76477982 Don't use Host_Error() here. Use VFSTCP_Error().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 11:08:56 +00:00
Spoike
c77d0a981a Fixed qtvplay, added a workaround for eztv proxies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-01 05:55:44 +00:00
Spoike
1c85bc472b stringtonative knows better
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2798 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-30 22:58:16 +00:00
Molgrum
925987dfbe Security measures to prevent cheating with instant-join.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2795 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-23 18:27:30 +00:00
Molgrum
ed83fb0fc4 Duplicate.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2794 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-23 14:18:18 +00:00
Molgrum
51bb724964 Fixed faulty logic regarding allow_luma. Added a rule to allow everything when you're spectating.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2793 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-23 14:15:27 +00:00
Molgrum
dbb78b3825 Spike's fix to prevent a crash due to particles being loaded before the map.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2792 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-22 17:08:18 +00:00
Spoike
bc19d31dc3 Some implementations ignore 0x prefixes in atoi
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-09 21:21:21 +00:00