Spoike
d591079731
Fixes Black's latest bug. Ensure saved return values are in a locked temp, and not corrupted by the following function call.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 15:54:36 +00:00
Spoike
433ade6f5c
Updated the pcx loader(s), to ensure that min offsets are handled correctly and consistently.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2873 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:41:25 +00:00
Spoike
18ee105ed5
Make playqtv slightly more robust. Only slightly. There really should be a better fix for this.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2872 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:36:51 +00:00
Spoike
b6fc3c7668
Changed the default build location of fteqccgui debug builds, to a relative path which is likely to exist on more computers than just my desktop.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:34:21 +00:00
Spoike
b51530886e
Seeing as this is the only csqc example on fte's svn, I'm updating it to support the recent clientstat standardisation.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2870 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:32:20 +00:00
Spoike
7584ae2e34
Changed the pf_clientstat function and parameters to match the ordering originally documented in the ext_csqc extension I posted on wiki.quakesrc.org, as per krimzon's recommendation. Updated qclib to support querying fields based on their offset rather than purely a name basis, to support the clientstat change.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2869 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:31:01 +00:00
Spoike
ae0a8461b7
Black's fix for #define macro parameters in fteqcc.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2868 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 00:37:56 +00:00
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
Molgrum
7178261e39
Enable teamoverlay without using setinfo.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2841 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-05 10:18:02 +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
Molgrum
482f37dc5c
Another Spike-miss detected by qqshka.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-03 23:30:08 +00:00
Lance
90c8efe4dd
Apple GCC doesn't like a space between -L and the directory name
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2838 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-02 13:54:26 +00:00
Mark Olsen
cea7541e7d
Microsoft suck.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2837 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-02 13:41:57 +00:00
Lance
7827db0dfb
Fix for MacOSX gcc compiler
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2836 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-31 13:03:08 +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
Molgrum
bc41311478
qqshka noticed that the demolist in linux doesn't care about array sizes
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2830 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-28 00:13:22 +00:00
Mark Olsen
ac82538714
Less undefined operations.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:31:27 +00:00
Mark Olsen
868ef2aa33
Only build this code when building for Windows, just to make grumlgrum happy.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2828 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:28:45 +00:00
Mark Olsen
391b3d2057
Removed Q_strncatz() and Q_strncpyz().
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2827 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:21:47 +00:00
Mark Olsen
85c9f289a9
Use strlcpy() instead of strncpy().
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2826 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:21:24 +00:00
Mark Olsen
811fb3db90
Use strlcpy() instead of strncpy().
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2825 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:20:24 +00:00