forked from fte/fteqw
1
0
Fork 0
Commit Graph

4047 Commits

Author SHA1 Message Date
Spoike 77ac72e78c bumped MAX_NAME limit. seems to not be part of any structures/dynamic allocations, so there's no super-massive memory hole added by this.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 23:16:51 +00:00
Spoike b91b32cd38 Just breaking stuff, trying to get axfte stuff working.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3916 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 19:01:33 +00:00
Lance 18179bcf48 .cpp handling in makefile added, lowercase'd an include file in sys_axfte
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3915 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 04:06:49 +00:00
Spoike a463f1c0f1 fixed getsurfacenearpoint builtin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3914 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 03:15:49 +00:00
Lance 39bb4fff81 sys_npqtv.o renamed to sys_npfte.o
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3913 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-28 17:46:38 +00:00
Spoike e5845b86a8 stub Sys_RandomBytes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3912 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-28 15:15:35 +00:00
Spoike b356dc75aa linux/gcc/general fixups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3911 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-27 16:42:53 +00:00
Spoike f33873ddb7 committing for fixes for OMC
some minor changes. Mostly bug fixes and internal reorganisation.
Added code to provide an activex control as part of the npfte.dll plugin. If the dll is registered the regsvr32 way, the plugin can be used with IE as well.
fisheye/panoramic view enable is now controlled by rulesets instead of serverinfo.
server will list all pak files it has loaded. client will probably do the wrong thing and still needs fixing properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3910 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-27 16:16:29 +00:00
Spoike 5118de8bdd committing for fixes for OMC
some minor changes. Mostly bug fixes and internal reorganisation.
Added code to provide an activex control as part of the npfte.dll plugin. If the dll is registered the regsvr32 way, the plugin can be used with IE as well.
fisheye/panoramic view enable is now controlled by rulesets instead of serverinfo.
server will list all pak files it has loaded. client will probably do the wrong thing and still needs fixing properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-27 15:46:36 +00:00
Spoike 50a8624f59 no dupe _("") stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3908 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-06 19:59:53 +00:00
Mark Olsen 12678040d4 Completely untested and not even attempted compiled MorphOS implementation of Sys_RandomBytes().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3907 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-03 09:23:34 +00:00
Lance 06d954479b npfte target now creates npfte.crx for Google Chrome
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-03 05:56:36 +00:00
Spoike f3bbed043b Some qcc changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3905 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-03 02:45:44 +00:00
Spoike 8d2cc63faf Audio support for droid. No idea how the latencies are. Probably terrible.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-22 15:57:16 +00:00
Spoike 7ef66ea01a Fix missing ents in MVDs bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-21 06:42:50 +00:00
Spoike 4b27934867 Basic Android support. Icon resources still need to be replaced. No sound, no accelerometer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-16 05:56:54 +00:00
Spoike 6236971e48 Fix a couple of recent bugs in features that noone else uses.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3900 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-06 20:59:08 +00:00
Spoike 788cce8b36 Added new cvar: sv_fullredirect.
This cvar will cause connecting clients to instead connect to the ip:port specified in the cvar whenever the server is full. Must be a full globally-routable ip and port.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3899 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-06 20:53:38 +00:00
Spoike 5a7f34bd50 Couple of tweeks, breakages, and fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-05 01:48:23 +00:00
Spoike df9dae3e5f Fix dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3897 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-04 07:07:20 +00:00
Spoike e8c1f669cc Couple of changes.
D3D now supports hlsl shaders. Much functionality is still missing, but sky and water surfaces are in.
IQM models now supported.
Engine physics code is now potentially callable from csqc, but there are some issues which need to be resolved before its enabled.
FTEQCC has had some pointer/struct/array functionality improved. Complex trees can now be navigated properly.
added r_dumpshaders command to dump internal glsl scripts for editing.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-03 03:49:43 +00:00
Spoike 261b104c09 Added a cvar to enable recording mvd files containing 'unsafe' extensions, so CSQC ents can now be recorded. This defaults to off, and is expected to be enabled for mods that are truely FTE only.
Recording qwd files works again.
Not all extensions are fully implemented, when recording both mvds and qwds, particularly the initial connection info (including model list length).
Ezquake's invalid chunk requests generate no protocol response. Ezquake should no longer kick itself after every download.
Couple of other bugs fixed.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3893 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-08-16 04:12:15 +00:00
Spoike c0e6bcfeb4 mingl fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3892 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-31 14:24:37 +00:00
Spoike 604576ae18 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3891 fc73d0e0-1445-4013-8a0c-d673dee63da5 2011-07-31 11:18:49 +00:00
Spoike 729d6181c2 Misc bugfixes, including q3bsp-rtlights and bloom. Matrix use clarifications. Working towards skeletal glsl code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3890 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-30 14:14:56 +00:00
Spoike 4dba0e3f28 fix for log files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3889 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-28 01:42:10 +00:00
TimeServ 0f31d3d7e8 bump dynamic channel count
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3888 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-22 20:49:15 +00:00
TimeServ c088ddf18e remove extra check from channel picking
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3887 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-22 20:26:22 +00:00
TimeServ 952f0557aa fix cl_gameclock formatting
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3886 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-22 18:56:18 +00:00
Lance 3ddbd0e9b1 GCC fix for my last commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-22 15:38:50 +00:00
TimeServ fb073f3507 change alot of sprintfs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3884 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-22 15:11:35 +00:00
Lance d309c3338a Mouse-over tooltips, mostly teamplay and network ones
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3883 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-22 15:05:40 +00:00
Spoike f28726af74 Trying to remove the length limit on the demobrowser filenames.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-22 13:54:42 +00:00
Spoike 8ea074e55e Fix for the script Evaron gave me yesterday. Specifically: Disable auto-repeat on triggering binds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3881 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-19 12:34:49 +00:00
TimeServ 20180cf49f fix cl_netfps sendcmd
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3880 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-18 13:23:52 +00:00
Lance 8af2750173 Added MSVC9 (dotnet2008) & MSVC10 (dotnet2010) project files for QCLIB aka FTEQCC
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3879 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-16 11:25:56 +00:00
Lance dce9fd92b6 SDL MSVC project files updated.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3878 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-16 05:02:37 +00:00
Spoike 9beb7f3b2b Hopefully fixes log files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3873 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-14 13:05:36 +00:00
Lance 7fa677ccf5 Added presence of QCJIT to the 'version' command if enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-13 13:43:20 +00:00
TimeServ 26e2638301 revert qcjit undefine..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3870 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-13 05:49:32 +00:00
TimeServ a0e7300da2 add cl_yieldcpu, fix setmodel with NULL pointer
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3869 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-13 05:48:09 +00:00
TimeServ 987a86a4ac use mmap calls for executable memory allocation on non-win32
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3868 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-12 04:38:54 +00:00
Spoike 329e5750d3 Fix for ktx crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-11 16:50:51 +00:00
TimeServ bfd94a378a don't try to find initents func on q1qvms
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3866 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-10 21:32:51 +00:00
Spoike 2ff9a3ec28 Small fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3865 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-10 19:50:34 +00:00
Lance c4c3c3f318 Mac OS X crosscompile target fixed, finally
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-09 09:43:49 +00:00
Lance eadc1d9a1e Got rid of master servers that don't exist anymore (client server browser, big speed up), added existing master servers that previously weren't being sent heartbeats
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3863 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-09 09:14:05 +00:00
Lance b92571839e Updated the master servers the client server browser uses (Q1, Q2 & Q3), and also updated the master server list the server reports heartbeats to (Q1).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-09 06:32:29 +00:00
Lance 11eb30936b Mute frogbot clan arena bot bad protocol messages
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3861 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 21:24:03 +00:00
Lance 8bc858ec94 Fixed -rdynamic detection, linux will default to linux not mingw32 when FTE_TARGET isn't specified, SDL merged and SDL d3d client support for laughs, fix my typo $(BITS) not ($BITS), more accurate regexp, possibly fix macosx speex header issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3860 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 19:43:49 +00:00
Spoike 14a0263e03 Don't send packets to the client if we already kicked them. This should fix d4rin's crash. The cause of the overflow isn't fixed, nor known, but this at least should not kill the server any more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3859 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 19:11:58 +00:00
Spoike 6dd9bab565 Apparently it wasn't heartbeating by default, due to apparently-stale dns cache.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3858 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 19:07:05 +00:00
Spoike f6856f7d2d Changed internal opcode names to always specify variable type.
The x86 jit appears to work properly after quick tests. Needs wider testing. Currently disabled still.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3857 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 18:59:48 +00:00
Lance 94debdcaf3 Win64 mingl filename fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3856 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 16:27:10 +00:00
Lance 7336070ab5 Let's hope it's correct now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 11:33:26 +00:00
Lance 88c9027cbb Speex fix for Mac OS X
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3854 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 10:57:35 +00:00
Lance 8dd6cca23e Use 64bit zlib with native 64bit, not 32bit zlib
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 10:54:51 +00:00
Lance 3b3d3fed48 Regexp tweak
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3852 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 10:38:56 +00:00
Lance a5d270b27f Combined duplicate windows entries, and more other fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3851 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 09:17:23 +00:00
Lance 2fd61d78ba Makefile fix, debugging symbols are back
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3850 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-08 05:12:03 +00:00
Spoike 61752189ad Make sure those fields are initialised.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-07 09:29:03 +00:00
TimeServ 8c17e200bb fix sdl non-multithreaded
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3848 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-06 06:02:12 +00:00
TimeServ a88b23e1f3 use colormap only for determining fullbrights, commit in sound paint funcs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3847 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-06 05:53:25 +00:00
TimeServ c6f4994293 attempt fix minimal build, add 7.1, try to fix speaker spacialization
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3846 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-06 01:40:40 +00:00
TimeServ 7f1db63765 remove defunct splash screen code, add cl_idlefps to reduce cpu usage in "idle" situations
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3845 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-06 01:01:13 +00:00
TimeServ 4a59ea5993 make threaded physics/input/whatever use generic mutex calls, fix up multithread calls and add sleep func
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-03 16:24:53 +00:00
Spoike fbec99ff9f Small workaround for excessive spam. This is not an actual fix, but more of an optimisation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3843 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-01 12:20:58 +00:00
Lance f870305702 Removed -rdynamic from MinGW targets, others are compile fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3842 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-01 07:27:38 +00:00
Lance f022d4d42b dotnet2010 project file fix, GLRelease was set to multithreaded dll, when it should have been multithreaded
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3841 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-30 16:40:40 +00:00
Lance 6a8e0d386a dotnet 2008 and dotnet2010 project files updated (botlib added as well)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3840 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-30 15:49:21 +00:00
Spoike 61e4aa96b3 removed separate trigger/solid links.
some q3 fixes.
q2 will autosave on map changes, like q2 normally does.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-29 18:39:11 +00:00
Spoike a18e83d843 These files are from ioq3 (revision 2061). A couple of header files have moved, and some variables renamed to avoid conflicts, but the logic should be unmodified.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3838 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-29 18:29:28 +00:00
TimeServ e9af82b76b version bump and version string fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3837 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-25 23:40:34 +00:00
TimeServ 1c1723d237 merge wip branch back into trunk
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3835 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-25 18:33:11 +00:00
TimeServ 346f83e974 fix line in version cmd
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-25 13:06:20 +00:00
TimeServ 62585f3a83 disable texture menu for non-gl builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3833 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-25 12:41:40 +00:00
Lance faabc498a1 Hexen2 crashfix for stmedgaz.mdl not found (medusa poison gas)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-25 12:00:59 +00:00
TimeServ d474631cd4 allow crosshairsize to scale console font crosshair
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3831 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-24 01:05:43 +00:00
Lance 803faf2cfc Spike's Direct3D crash fix for quake1 maps that have a skybox at the map's starting spawn location
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3830 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-22 13:58:35 +00:00
Spoike 75ca1c85ea Work around for what appears to be a race condition in the dx runtime.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-19 12:54:10 +00:00
Lance d545f94de0 Small fix for usage with debug DirectX9 runtimes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3828 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-19 12:50:49 +00:00
TimeServ c9186d2ab5 quick rail fix for highfps set
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3827 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-18 19:00:14 +00:00
Spoike ad1499d670 Fix for that because bigfoot is too lazy. If its not running on linux, we don't care if it crashes. or something.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3826 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-18 17:04:47 +00:00
TimeServ 58c2c63708 misc particle fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3825 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-18 15:00:56 +00:00
TimeServ c3573173ef fix sin/cos table macros
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3824 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-18 13:57:20 +00:00
TimeServ 9d87fd127c fix high fps particles on classic r_particlesystem, don't pass trailstate to fallback system, fix trail names in particle sets
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3823 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-18 13:05:14 +00:00
TimeServ 9d4586b532 delink particle states on r_particlesystem change, correctly use default trails on models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3822 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-18 12:25:36 +00:00
TimeServ 027c09bd6a cl_indepphysics -> cl_threadedphysics, properly register r_rockettrail/r_grenadetrail, fix menu spacing regression
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3821 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-18 05:41:10 +00:00
Spoike 74e9d14432 Added vid_triplebuffer to enable/disable triplebuffering in d3d (gl_triplebuffer is now an alias to this). Has no effect in OpenGL as OpenGL does not provide a way for an application to set, or even query.
Blocked vid_restart use from configs. Engines that write vid_restart into config.cfg are the antisocial engines that do not understand keeping themselves to themselves, and they can keep their half-speed startups to themselves. Even in such engines, such configs ignore the commandline.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3820 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-17 01:54:54 +00:00
TimeServ 2fe74cfda3 shameless quick menu collision hack
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3819 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-16 21:41:05 +00:00
Spoike 174ba9f64b Trying to fix lingering d3d bugs. Added support for proquake's angles extension. Various other hacks and changes and tweeks. Mostly trying to fix D3D issues. Also added con_separatechat cvar.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-16 02:03:57 +00:00
TimeServ b0124c7df5 remove cl_predict_players2, slightly more menu work
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3817 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-15 23:01:07 +00:00
Spoike 4264bb8d48 boost the default maxdrate, for slightly faster downloads.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3816 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-15 21:29:54 +00:00
TimeServ eda3ab4e6f small fixes, add teamplay settings under multiplayer
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3815 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-09 07:09:53 +00:00
TimeServ 67139b771a menu overhaul (unfinished, still need more tips, tp/cheats/other entries still need readd)
fixes to menu system, removed/corrected some cvars


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3814 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-07 23:54:58 +00:00
Spoike 78d4632097 Added -dumpstack option to catch fatal signals for stacktrace dumping. Writes to both stderr and a crash.log in the WORKING directory. Admins are expected to email a copy or something to an FTE dev, then delete it. Clients connecting will be notified, but unable to obtain actual details via quake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3813 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-06 01:41:33 +00:00
Spoike d039841d21 Does this fix anything?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3812 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-05 23:53:33 +00:00
Spoike f66110b5e6 Trying to fix mvd recording/playback a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3811 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-05 01:36:14 +00:00
Spoike 0d17471975 Tiny bugfixesish.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3810 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-04 16:11:35 +00:00
Lance 71b8797d9e More MinWW64 warnings addressed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3809 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-04 12:56:45 +00:00
Lance 92451a8305 Removed unnecessary defines I added to detect 64bit compilers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3808 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-03 03:10:39 +00:00
TimeServ f5410d86af es shader fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3807 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-02 15:16:05 +00:00
Lance 950f914180 More GCC warnings gone (32 & 64bit)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3806 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-02 05:16:44 +00:00
Lance 21860bd9dc Fixed more GCC warnings, alot of 64bit portability things mostly. Minor PNG header fix. Changed instances of errno to strerror(errno).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-01 13:21:54 +00:00
TimeServ 8464020053 remove gl_lightmap_shift, fix shader to match gl_overbright, es2/egl fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3804 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-30 21:48:32 +00:00
Lance fc421a05bc Added parentheses around some assignments (where they're meant to assign instead of compare in an if statement) which GCC was giving this warning "warning: suggest parentheses around assignment used as truth value"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3803 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-30 13:36:44 +00:00
Lance d33090b7ee My bad usage of Con_SafePrintf, replaced with normal Con_Printf so dedicated server can build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3802 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-30 04:44:04 +00:00
Lance 4b93855ff8 Handling of return values of filesystem functions (fread, write etc) by printing to console when the return value isn't equal to size of the data being read/written
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3801 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-30 04:32:04 +00:00
Lance afa29b36fb Wrapped #pragma comments()'s with MSVC specific macros so GCC can be read more easily. Also undeprecated edict_size in world.h.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-29 04:26:29 +00:00
Lance b56a25ba9e MinGW32 + MinGW64: libpng upgraded from 1.4.4 to 1.5.2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-29 03:31:41 +00:00
Lance d66ee38d9f Minor fixes to libpng to support the 1.5.x series (previously deprecated things that were removed/renamed)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3798 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-28 13:43:11 +00:00
Spoike ccc0750de0 Trying to fix bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3797 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-27 17:59:31 +00:00
Spoike 646fd03f44 Trying to fix stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3796 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-26 16:46:43 +00:00
Spoike 39cec13461 fix dedicated servers
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3795 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-26 15:01:32 +00:00
Spoike d5ab16befc heightmap semi-functional again, but still useless.
A few bugs fixed.
Slightly better compatibility with DP.
Added breakpoint_csqc command to set breakpoints in csqc to better debug csprogs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3793 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-20 04:10:46 +00:00
Lance 9c0a84e3aa SDL again, previous rev (3720)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3792 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-19 16:26:50 +00:00
Lance f32d19e0f9 Reverted back to previous revision (3401), SDL miscommit by me
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3791 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-19 16:24:59 +00:00
Lance a2fa186921 Reverted back to r3711, miscommit on my behalf
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3790 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-19 16:09:33 +00:00
Lance f6a334e87e Slight modification to my last commit, so MSVC can still compile it
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3789 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-19 13:55:05 +00:00
Lance 0e078381b3 Fixed incorrect pointer types, and some other warning types for GCC and MinGW
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-19 13:34:07 +00:00
Lance f6741d8dde My attempt at handling GCC warnings, everything but incorrect pointer types, #pragma warnings, " is deprecated etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3787 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-15 13:23:13 +00:00
TimeServ 2091c2f83e accept trailing comma with enum and enumflags
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3786 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-03 22:37:56 +00:00
Spoike 132ef961bc Fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-30 17:58:24 +00:00
Spoike 93aba48cdc TA couple of fixes.
Meshes now have the right lighting if they were cached before rendering.
npFTE startup/shutdown/restartup is more robust and is less likely to crash browsers.
Re-added the r_shadows cvar. It now provides blob shadows.
Hopefully fixes mingw voip crash, may need mingw upgrade, sorry in advance moodles.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3784 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-30 17:21:10 +00:00
TimeServ 6d062f1355 limit gl_overbright to 1x/2x/4x
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-26 16:10:16 +00:00
Spoike 5edcd6c0e8 compile fix for d3d.
changed screenshot message to show the full path of the screenshot (so you can find it in your profile dir and stuff).
removed a couple of warnings.
fixed the screenshot code for windowed mode and privacy concerns.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-25 13:48:30 +00:00
Spoike 528b27b719 Hopefully improves lighting on players, they won't look so garishly ugly any more.
Also added powerup shells. Could do with some glsl, or a texture or something. Defaults to off.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3781 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-25 03:25:22 +00:00
Spoike 3517a2f960 Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3780 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-23 20:57:06 +00:00
Spoike f7aece9d48 Moved entity and poly handling code to a common location. This means sprites work in D3D. Fixed .alpha on mdls. Slightly better q2 compat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3779 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-23 20:37:20 +00:00
TimeServ 0ffb6c11e2 use q2 style lightmap clamping
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-21 12:11:15 +00:00
Spoike 546c49870d Fixes a couple of bugs, the overkill way.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3777 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-20 23:34:13 +00:00
TimeServ 5cc7d591fd code cleanup, fix a few things set as RESTRICT_RCON, attempt to fix up color lighting clamping problem, add r_lightstylesmooth_limit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3776 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-20 23:05:45 +00:00
Spoike 84717bc230 Fix sounds not downloading when precached only in csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-20 21:32:43 +00:00
Spoike b59935e30f Q2 choke info works, so netgraphs are now sane. Q2 has its own gunkick cvar, so the default doesn't make q2 seem broken. Changed Q1 dlight flickering behaviour - pick a new value no more than 20 times a second (500 updates without vsync was horrible).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-20 03:38:59 +00:00
Spoike cea945ad5e Fix Q2 server issues (broken predition, deltaing, gamecode cvar crashes, choke info).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-20 03:34:32 +00:00
Spoike 253048dd0b Fix some q2/rtlight issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-20 03:31:41 +00:00
Lance a39d6740c5 "Apply" menu option now works on D3D builds (when changing 3d, 2d resolutions etc)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3771 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-03 04:49:33 +00:00
TimeServ 8238e06d3e remove gamma stuff from d3d getrgbinfo
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3770 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-01 13:05:13 +00:00
Lance b4bd2cc64c TimeServ's SVNREVISION macro fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-01 12:55:38 +00:00
Lance 323e267ba4 Fix MinGW merged and d3d-only client
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3768 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-01 12:52:58 +00:00
TimeServ 01277b23c1 update waterwarp shader
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-01 01:09:58 +00:00
TimeServ 52fd75801c attempt implement d3d and gl es getrgbinfo, fix typos/commit with crosshair
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3766 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-31 23:05:19 +00:00
TimeServ 0a1b14b202 attempted v_cshift fix for bad gamecode, move gl crosshair code to r2d, default crosshaircolor to 255 255 255 since now crosshaircolor/crosshairalpha work on crosshair 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3765 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-31 19:46:26 +00:00
TimeServ 795406b8e4 gldraw_transpictranslate -> r2d_transpictranslate, removed old unused code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3764 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-31 11:00:23 +00:00
Lance ee5d0ba7f3 MSVC .Net 2008 & 2010 project files updated.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-31 10:59:28 +00:00
Spoike 73ae20c356 missed this file, sorry.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3762 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-31 10:53:28 +00:00
Spoike 6a4976300e fog control, vaugely similar to fitzquake, but runs slower. does at least work properly with rtlights.
fixed menutint.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3761 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-31 02:32:32 +00:00
TimeServ a0f3482093 change out "renderer specific" draw_* calls for r2d_* and trim rendererinfo struct
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3760 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-31 01:14:01 +00:00
TimeServ 479bf96982 move ver info to bothdefs.h, work in resource script to get windows exe data to match
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3759 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-30 20:10:24 +00:00
TimeServ 15498207a7 replace Draw_Fill/Draw_FillRGB -> Draw_FillBlock
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3758 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-30 17:34:37 +00:00
TimeServ e4e2399c69 change out build number/version number logic, remove some unused variables
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3757 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-30 15:17:55 +00:00
TimeServ cdb6dccb97 remove bulleten support, rename vidgles -> videgl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3756 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-24 14:35:24 +00:00
Lance affdd9d3df Made fixes to dotnet2005 that would affect 2008 & 2010 when converted, target's were missing OpenAL (snd_al.c) and some merged targets still had USE_D3D (C++ FakeGL wrapper)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3755 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-13 11:47:53 +00:00
Spoike 8d0800545b Cleanups, wine fixes, generic stuff, added makefile directive for use of gccs -combine option.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3754 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-12 13:52:24 +00:00
Spoike fcb7dbd04b Cleanups, wine fixes, generic stuff, added makefile directive for use of gccs -combine option.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-12 13:51:40 +00:00
Lance 334ebf7b67 Latest GCC and MinGW hate certain #pragma's, just making the old main trunk compile again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3752 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-10 09:07:43 +00:00
TimeServ 2ae63321f7 use HKCU instead of HKLM for finding game data via steam, also fix paths
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3751 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-09 03:42:30 +00:00
Lance cb7269fddc MinGW built Windows 32bit & 64bit compiling again (SDL too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-09 03:40:17 +00:00
Spoike 933c854776 small fix that will never be noticed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3749 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-06 15:34:56 +00:00
Spoike 417e55254c rtlight fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3748 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-05 12:39:35 +00:00
Spoike 8200c8ebe5 asm is dead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3747 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-05 12:29:33 +00:00
TimeServ 56ef606d0e fix typos
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3746 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-04 15:35:16 +00:00
TimeServ 2fba86e3a0 progs version 3 support in qclib, attempt fix qtest traceline
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3745 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-04 13:59:06 +00:00
TimeServ b558134529 new defaults: snd_khz 44/gl_overbright 1/r_lightmap_shift 1, merge mdl alias frame code, report .bsp missing instead of .cm
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3744 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-03 17:09:15 +00:00
TimeServ c75305f9bf hack in overbright into d3d path, isolate d3 map support into MAP_PROC define so hopefully minimal can build again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3743 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-03 13:32:27 +00:00
TimeServ 85fc11e682 trash assembly, old d3d renderers (d3d7/d3d9/fakegl), projects and makefile broken in this commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-03 12:57:34 +00:00
Spoike 79497a07f7 overbrights.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-02 03:43:38 +00:00
TimeServ 23bc19fc14 particle parse fix (count=255 should be explosion), fix qtest mdl loading, fix decompile, map MOVETYPE_ANGLENOCLIP to MOVETYPE_NOCLIP, map some qtest builtins/globals
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-02-27 15:01:56 +00:00
Spoike 552e396b98 grr
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3739 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-02-27 02:09:45 +00:00
Spoike 060fc0f546 grr
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-02-27 02:07:49 +00:00
Spoike d7b9d1019a fix makefiles for the recent d3 proc hack
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3737 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-02-27 02:04:36 +00:00
Spoike cb834a8534 Forgot to add this. its buggy as heck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3736 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-02-27 01:01:22 +00:00
Spoike 946b5d6f52 lots of useless stuff.
will attempt to load doom3 maps.
_gl_fog 1 and friends can be used to activate fog, still needs tweeks for use, not a final feature at all.
added gl_screenangle which rotates the screen, including hud.
seems to be some nvidia driver issue. may need end-tasking after video shuts down (including from-fullscreen vid_restarts).
double-frees on glsl shaders is now supposedly fixed.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-02-25 04:22:14 +00:00
TimeServ 40a18f65bb preliminary/isolated opengl es support, requires USE_EGL/Makefile changes and es headers
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-02-06 20:56:39 +00:00
Spoike 456e13bf81 Fix up msvc/win32 a bit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-02-02 00:41:01 +00:00
Spoike e909fdbf8c Workaround for wine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3732 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-30 12:30:15 +00:00
Spoike 3b936a3f24 Paranoia regarding recursive errors, may fix the issue bigfoot has.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-30 11:24:14 +00:00
Spoike ab865b7e25 Playing with valgrind and hexen2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3730 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-30 01:32:30 +00:00
Spoike 386424a8e6 This should more closely match other engines in timedemo results.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3729 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-29 22:24:19 +00:00
Spoike dc2212aa84 Fixed a couple of warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-29 21:01:40 +00:00
Spoike 4fb854e261 Fix a couple of things I noticed while playing in linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3727 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-29 19:53:38 +00:00
Spoike a8c4f7f4c1 Fix an issue where reading out of the list could have been invalid.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3726 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 21:50:29 +00:00
Lance b3278577bb Let's not try to build merged clients for every OS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3725 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 09:56:45 +00:00
Lance 65138b6212 win32 and win64 now have a working d3d- target, win32_SDL has support in place to compile merged client (d3d+gl), also the d3d only client.. but both have undefined references to things in_win has and in_sdl doesn't etc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3724 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 08:35:19 +00:00
Lance 6942e100d3 Version prints if d3d renderer is available, the video menu now sets "d3d" instead of invalid "d3d9" when selecting the D3D renderer, fixes to the Makefile so win32's m-rel will compile with gl+d3d, win32_SDL+win64+win64_SDL need alittle work still to compile, win32 d3d-rel/dbg still needs alittle work to compile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 05:39:40 +00:00
Lance 8b74b55034 Enable D3D renderer in windows merged clients, some other small fixes to help MinGW get closer to compiling the D3D renderer (things are undefined)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3722 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 05:06:20 +00:00
Spoike f2ea7731e8 glx didn't have a stencil buffer
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3721 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 00:40:02 +00:00
TimeServ f21c352fb4 code cleanup
fix no dga on linux

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3720 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-27 01:34:08 +00:00
Lance 227bc47130 OpenAL compile fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3719 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-26 07:08:09 +00:00
Spoike a1c23c4445 linker fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3718 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-23 03:52:52 +00:00
Spoike efe2efa192 Attempting to unbreak things in really really subtle ways.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-23 03:51:27 +00:00
Spoike 8fc0df0f44 vid_gl_contex_gles cvar mostly works. Most of the shaders still have no program attached to them - pics+font have it disabled due to nvidia driver crashes, I wanna check if ATI crashes too.
Merged GL+D3D builds should work now too, but still not stable if you vid_restart too much.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-23 03:44:49 +00:00
Spoike 562f549357 Added a -outputdebugstring option for dumping console to debugger's output window (because msvc is unable to see standard out).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3715 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-23 03:33:33 +00:00
Spoike 9b6ea1c114 Fix for recent timing issues, hopefully.
Fixed a couple of warnings.
Added voip options to menus.
GL+D3D merged builds compile, but d3d is probably broken still.
Added vid_gl_context_es2 cvar to attempt to init a gles context. Note that you also need to set the requested gl version correctly.
Changed qtv's webpage view slightly, for slightly updated npfte usage.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3714 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-04 02:56:16 +00:00
Spoike 253ef7b817 Made Matrix4_UnProject a bit more intuitive/reliable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-03 03:52:37 +00:00
Lance ebac5d8046 Missing VC6 SDL static libs added. dotnet2008 & dotnet2010 projects uptodate. SDL targets available now in the dotnet 05, 08 and 10 projects. Tiny DirectSound compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3712 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-24 05:42:04 +00:00
Lance 714e1f7456 VC6 project files uptodate, mingl, gl, ded server & sdl targets working (both debug and release), various fixes and hacks to provide VC6 support again. VC6 static libs provided (/libs/vc6-libs), including SDL for the debug SDL target (all old versions though as the updated versions of the libraries have stopped providing VC6 project files to compile them with).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-23 08:53:23 +00:00
Spoike 5ba7b6b41c Fix for zlib-less builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3710 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-23 06:09:25 +00:00
Spoike 7f69ea35dd gldebug works, but you need to remove the library dependencies, and openal apparently
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3709 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-23 06:08:07 +00:00
Spoike f0a1318c2b Misc attempts at fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3708 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-23 03:55:10 +00:00
Spoike afdd9f0d0f #@$% you, gcc 4.5
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3707 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-22 11:24:40 +00:00
Spoike f4ae7d680f divVerent's patch to enable subscoped locals, not sure if subscoped_away is required, but committing that anyway. Its copied from pastebin, so sorry for conflicts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3706 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-22 01:05:33 +00:00
Spoike ec206be55a divVerent's patch to enable subscoped locals, not sure if subscoped_away is required, but committing that anyway. Its copied from pastebin, so sorry for conflicts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3705 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-22 00:33:19 +00:00
Spoike 3a413ede89 divVerent's patch to fix += operations involving function calls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3704 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-22 00:13:49 +00:00
Lance 47c3a6873b MinGW64 fixes, unbreaking FTEQCC too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3703 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-19 03:51:37 +00:00
TimeServ cc4f8982da msvc2010 fix
rename win_mysql -> sv_sql
make mysql calls os independent


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3702 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-18 21:30:16 +00:00
Spoike 1067f351f2 Added msvc2005 deployment project.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3701 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-18 17:05:02 +00:00
Spoike 4505f7321b various small bugfixes, mvd+voip should work again, qcjit changes, towards usability.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3700 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-18 17:02:47 +00:00
Lance 610e66b431 MacOSX and MorphOS header sources added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3699 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-16 03:25:37 +00:00
Lance b20336853e Dotnet2005 project file hand edited so when MSVC 2008 & 2010 convert it, various builds (mostly x64 targets) now compile properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3698 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-15 12:29:58 +00:00
Lance c1b7db7125 OpenAL was missing for some Debug and x64 targets in the dotnet2010 project file
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3697 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-14 01:32:49 +00:00
Spoike 08562f40a2 Might fix sdl audio...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3696 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-13 23:13:16 +00:00
Lance 207393bb3b 'version' alittle more verbose
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3695 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-12 14:17:22 +00:00
Lance e028245179 MSVC Project file update. Converted the dotnet2005 files to dotnet2008 & dotnet2010
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3694 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-12 03:53:53 +00:00
Lance f71ac0220e FTE_TARGET=win64_SDL added. SDL updated from 1.2.13->1.2.14 (Better Win7 compatibility), also 64bit SDL static libs added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3693 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-10 13:41:31 +00:00
Lance e512bb77d1 Attempt to detect MSVC SDK version and avoid redefining structs that already defined within V7's SDK
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3692 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-10 05:01:25 +00:00
Lance 4fcc97b0a6 GCC 4.4.4+ #pragma workarounds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3691 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-09 08:52:33 +00:00
Lance d39ca9ac2f Fixed MorphOS dedicated server
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3690 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-09 07:37:22 +00:00
Lance 28321ce9c9 Speex support in MorphOS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3689 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-09 03:52:48 +00:00
Lance 6a0549acc1 FTE_TARGET=win64 (thanks to MinGW64), 64bit MinGW64 static libs, and fix for undefined references to vsnprintf within qclib when using MinGW64
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3688 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-08 14:42:05 +00:00
Lance 85c2d8afae Compile OpenAL into all builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-07 13:19:19 +00:00
Lance 19207aa590 Dirty hacks to get MinGW to compile again (hopefully I haven't broken MSVC in the process)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3686 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-07 12:23:56 +00:00
Spoike da1924e583 gcc still cares.. but probably msvc would too here. blurgh
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3685 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-05 02:56:31 +00:00
Spoike 9612a39576 because gcc cares
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-05 02:54:13 +00:00
Spoike 609dbda629 err, forgot to save those.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3683 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-05 02:52:41 +00:00
Spoike ca9028ef76 Lets see if this works in loonix.. ehehe.
Added win7 recently opened links, so rightclicking pinned icons gives recent servers. Perhaps not the best implementation (lol) but yay, only a little bit of horrible COM crap.
Hacked about with the scripted particle system. Classic is now the default set, but the scripted system is still active and can be used by mods or whatever if they wish.
Interpolation changes: should feel better on non-fte QW servers now. Not sure about other server types.
Added svc_setanglesdelta.
Fixed vwep+skins.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3682 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-05 02:46:07 +00:00
Spoike 176985e6ca Fix vwep player skins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3681 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-05 02:31:02 +00:00
Spoike 876ef6f2dd swap audio channels, apparently they were switched. I blame my broken (mono) headphones. Also minor tweek for npfte to size the engine to match the plugin space. Also attempt to catch crashes instead of always taking the browser down too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3680 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-29 03:42:15 +00:00
Spoike b9d54a556c Fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3679 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 22:00:49 +00:00
Spoike a9ff7b962e Client improvements for NQ support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3678 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 19:19:06 +00:00
Spoike a72096dc6d cvar value->ival
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3677 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 19:16:12 +00:00
Spoike 783698e9d2 If there's no port set, let the receiver use a default port without parsing a 0.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3676 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 19:15:37 +00:00
Spoike 7b06062137 OpenAL support code, slightly cleaner.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3675 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 19:14:21 +00:00
Spoike 6553fbe917 Support NQ queries, and NQ max player counts slightly better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3674 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 19:12:50 +00:00
Spoike fce9d647ec Remove a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3673 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 19:11:05 +00:00
Spoike 0a00c81189 Consistent sorting, so it doesn't break when toggled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3672 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 19:10:34 +00:00
Spoike 3f176505d8 Mostly works, so might as well commit it now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 19:07:07 +00:00
Lance b74f8a876f Afew MinGW #pragma message bypasses & not defining screenshotJPEG if NO_JPEG is defined
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3670 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-26 06:58:48 +00:00
Lance 649aafac33 Hand edited MSVC project files yay, fix for speex header issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3669 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-24 02:54:28 +00:00
Spoike 5d25e9991f Misc fixes+cleanups.
r_loadlit 2 will now use a few more cpu cores to get the job done, if it can.
Fixes the menu background shader that I broke.
Shader parser accepts cvars in more places.
d3d+gl now share common conwidth calcs code, fixing d3d issues.
d3d supports more backend features (no more gun in walls).
show_fps calcs the framerate itself, so is more accurate in regard to frame times, regardless of how much I break other stuff.
Now attempts to sleep a little between frames, to reduce cpu load and electricity (important on laptops maybe).
cl_netfps will now default to 100.Enabling independant physics by default. The framerate defaults to a max 500, to avoid too many issues with too small time deltas. You can still set it higher if you wish.
Enable voice chat by default (sorry moodles!).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3668 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-22 02:03:28 +00:00
Spoike 8e8758f053 csqc's getplayerkey's "voipspeaking" or "voiploudness" are now implemented. the later works only for the local player, the former will report true only if the server is echoing.
Now sorting players by team first, if teamplay.
Sort NQ players into teams based upon their lower colour. teamplay is only set if its a server that sets a proquake team thingie, but the rest is basically ignored.
Interpolate svc_setangles spam on nq servers, still need to do/test qw servers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3667 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-21 03:39:12 +00:00
Spoike 296a6943e7 Less spam.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3666 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-20 23:47:52 +00:00
Spoike 540830d955 Voice activation detection for voicechat, with a few cvars for it.
Added mic level indicator.
Able to record voice into mvds.
Fixed mvd recording.
Fixed mvd player sizes.
Fixed interpolation.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3665 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-20 22:01:16 +00:00
Lance 4d145039d2 Fixed some problems with targets not compiling, SDL being compiled into
non-SDL builds etc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3664 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-18 06:44:46 +00:00
Lance 6edfa34c98 #3662 didn't work as I expected, let's try the system's headers first
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-17 03:42:08 +00:00
Lance 956da68bda SDL fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3662 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-17 03:10:34 +00:00
Lance c26336636c Just SDL headers added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3661 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-17 02:53:04 +00:00
Spoike 6d7724f339 Trying to make voicechat controls more usable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3660 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-16 02:03:47 +00:00
Lance 188d0b5225 MinGW32 library update, libpng 1.4.3 -> 1.4.4
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-15 05:45:53 +00:00
Spoike a738de2c29 Trying to make voicechat controls more intuitive. Added a sender-side mic boost (cl_voip_micamp, default 2).
Use +voip to send voice (internally just sets cl_voip_send cvar, which can be used directly to force sending on). cl_voip_play to disable playback.
There is still no way to mute specific players.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3658 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-15 03:37:29 +00:00
Spoike 1cf4aed554 Those haven't been needed in a long time, and small fix for my last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3657 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-15 02:45:59 +00:00
Spoike da09f7ba44 Me having lots of fun with voice chat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3656 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-15 02:40:31 +00:00
Spoike 2df9690627 Reset client connection time on observer/player changes and map changes, also clear frags properly(could persist in NQ mods).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3655 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-14 14:35:26 +00:00
Lance 358bd12b00 SDL version printout with "version" command
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-14 10:16:40 +00:00
Spoike 9eaa65ccda d3d now does fullbrights properly and skyboxes.
ogl still has broken skyboxes...


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3653 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-13 17:22:46 +00:00
Lance 129ba40ef3 Wrap libpng and libjpeg in AVAIL_xxxLIB defines
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3652 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 23:54:36 +00:00
Spoike 5f71f6d355 Portals, skyspheres, particles, lighting, texture clamps work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3651 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 18:22:49 +00:00
Spoike ba3d1ecf28 ...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3650 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 14:25:44 +00:00
Spoike 3759156ea7 should fix gcc+libpng
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3649 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 13:27:05 +00:00
Lance 7102eb3cef Hack for SDL to get around snd_directx's multiple definitions
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3648 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 13:01:23 +00:00
Lance 3435fe6f79 MSVC 2010 project files yay, btw what's the difference between npfte and npqtv project files?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3647 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 11:45:17 +00:00
Lance 70698e17b7 My mistake, jversion.h isn't a header that is distributed in linux library development packages
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3646 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 09:14:30 +00:00
Lance 3f95205577 Fix for MSVC 2008 & 2010 (structs the 7.x SDK already defines), "version" now displays loaded static libraries version info
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3645 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 09:06:36 +00:00
Spoike 89dae21703 libs for win64. corrected libjpeg fastcall issues by hacking the header to make sure its all properly cdecl.
Added support for DYNAMIC_LIBBLAH, for people that don't want to statically link for whatever reason.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 04:03:16 +00:00
Lance 43e13f50c4 Visual Studio 2008 project files upto date
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3643 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 03:40:39 +00:00
Lance 8b4a128980 libpng and zlib library fix, built with cdecl calling convention instead of fastcall
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3642 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 03:32:37 +00:00
Lance 84ad79f6c1 LibPNG and zlib recompiled with MSVC 2008 with fastcall calling convention and warnings off, hopefully all is happy campers now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3641 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 01:35:30 +00:00
Lance bcdcda8b9f Updated the version command to include MSVC 10 (_MSC_VER == 1600)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3640 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-10 05:35:14 +00:00
Spoike f575777728 d3d renderer works a little better in q3.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3639 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-10 03:32:47 +00:00
Lance 899d4d3334 Compiled libjpeg library with stdcall instead of cdecl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3638 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-10 03:19:49 +00:00
Spoike 11cf5d29d4 That fix anything?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3637 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-10 02:02:56 +00:00
Spoike 321dc86b43 Fix that please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3636 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-09 21:04:03 +00:00
Lance beace4a5f7 MinGW & MSVC libjpeg libraries updated from 6b to 8b
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3635 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-09 02:29:53 +00:00
Lance e6ccb2c84f Use MinGW specific Zlib library with MinGW compiled dedicated server
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 15:07:15 +00:00
Lance ede2858e49 MSVC static library update, zlib 1.2.3 -> 1.2.5 & libpng 1.2.35 -> 1.4.4 (yes slightly different to the MingW32 version)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3633 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 12:55:33 +00:00
Lance 3549b21fc9 MinGW32 static library update, zlib 1.2.3 -> 1.2.5 & libpng 1.2.35 -> 1.4.3
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3632 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 12:48:16 +00:00
Spoike abb9822935 Work with libpng 1.4+ too, if we're compiled that way.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3631 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 12:37:22 +00:00
Spoike 3e9fd517c3 Compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3630 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 03:58:09 +00:00
Spoike 3ce350d614 Fix hidden eyes issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3629 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 03:54:43 +00:00
Spoike 4e83daa1ec Revert that change, this will break d3d but fix gl. Need to do it properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3628 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 02:53:46 +00:00
Spoike 34e50e1489 don't spam that warning, its too annoying and hopefully not generally a problem
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3627 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 02:30:44 +00:00
Spoike 633eb8dffb CLIENTONLY isn't MINIMAL.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3626 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 02:20:14 +00:00
Spoike 103efed5e2 Don't load sprites in dedicated servers as it generally crashes us.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3625 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 02:18:37 +00:00
Spoike 35468b7a19 git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3624 fc73d0e0-1445-4013-8a0c-d673dee63da5 2010-11-07 02:17:45 +00:00
Spoike f34a7fe277 Try to fix fteplug stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3623 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 02:12:35 +00:00
Spoike 84a5466ce7 Use pitchadj as a % instead, its slightly more intuitive.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3622 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-06 23:54:36 +00:00
Spoike 2dbf289fc4 Fixed CLIENTONLY+WEBCLIENT
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3621 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-06 23:11:42 +00:00
Spoike 164b45a1bb SDL fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3620 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-06 23:08:43 +00:00
Spoike 2937f9d861 Now understands spams setangles.
D3D is a little more complete, lighting on models appears correct.
Added rate scaling to the sound system. Not sure on the configuration yet, and its not queryable in any way. Misc sound related cleanups.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3619 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-06 23:05:29 +00:00
Spoike 9389b7d784 git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3618 fc73d0e0-1445-4013-8a0c-d673dee63da5 2010-11-06 14:22:33 +00:00
Spoike f4e564b5de no lights on skies
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3617 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-06 14:21:44 +00:00
Spoike 51f6fcfbcc git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3616 fc73d0e0-1445-4013-8a0c-d673dee63da5 2010-11-06 14:21:04 +00:00
Spoike b04705233c git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3615 fc73d0e0-1445-4013-8a0c-d673dee63da5 2010-11-06 14:17:10 +00:00
Spoike fcba94f554 Merging D3D and GL renderers a little.
D3D should be functional now. Maybe not pretty, maybe not complete, maybe not correct, but at least playable, at least with classic particles.
Some download fixes.
Some q3vm 64bit fixes.
Removed some dead cvars.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3614 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-02 23:17:25 +00:00
Blub 2ef27d913d Patch by divVerent: factor out stupid -s option in the makefile so it can be disabled by command line option
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3613 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-10-31 14:31:19 +00:00
Spoike 1f9a7004be Hack to fix win64.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3611 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-10-23 23:05:40 +00:00
Spoike 1b34642cb2 Fixed hexen2 dedicated server models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3610 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-10-23 17:52:28 +00:00
Spoike cfde45d9fc compile fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3609 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-10-02 10:39:55 +00:00
Spoike 789197f58f Working towards d3d+gl dual support again.
Fixed slow-rockets bug with high framerates.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3608 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-10-02 02:25:39 +00:00
Spoike 184954dd6f fixing dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3607 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-09-18 10:53:30 +00:00
Spoike c1bf210da1 PSK (with implicit PSA) support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3606 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-09-15 09:06:31 +00:00
Spoike dfd02ad9e3 Fix hexen2 cd tracks.
Fix zalon's crash.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3605 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-09-05 10:42:23 +00:00
Spoike 9f29f8d97f Fix portals (and compiles again with gcc).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3604 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-29 13:49:43 +00:00
Spoike 9cbdfb7fd0 Premptive compile fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3603 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-28 17:20:55 +00:00
Spoike 22bb395305 hexen2 client effects now go via the particle system, if they're supported at all. Added 'h2part' description to provide this.
Fixed svc_setangles and sv_bigcoords.
Model code is now responsible for transforming traces instead of it being generic. This fixes rotating things getting stuck in players in hexen2.
The renderer now generates a list of surfaces to draw. Backend now performs rotations/scaling per entity. This fixes sorting order, at least when not using realtime lights.
Hidden items in the hexen2 inventory that you do not have.
Added colourmapping for hexen2.
Should be easier to click on menu items for hexen2.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3602 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-28 17:14:38 +00:00
Spoike 8cac55a8eb in_rawinput_keyboard should be functional now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3601 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-24 02:18:42 +00:00
TimeServ b140dac79c trash serial mouse and mwhook support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3600 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-23 06:46:56 +00:00
TimeServ 39e9a5b37b add xp+ rawinput keyboard logic, add cvar in_rawinput_keyboard
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3599 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-23 04:53:20 +00:00
Spoike 2e9336eb91 Don't let spammed centerprints/h2plaques result in disconnections.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3598 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-21 22:12:43 +00:00
Spoike 4948652e17 Fixed the hexen2 looping sound bug (implemented stopsound).
Muted some hexen2 effect warning prints, so it feels more stable even if its not.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3597 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-21 13:31:39 +00:00
Spoike 6fd01d9a2c Should fix the missing sheep on demo2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3596 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-18 22:56:33 +00:00
Spoike 6455e98327 This should fix the pentacles. Though it might break non-mission-pack monsters/maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3595 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-18 21:59:06 +00:00
Spoike c9848cbcfc Its silly that it always prints 'server is paused' when the console is down, so don't say anything if that's the only way its paused (still show the plaque though).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3594 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-18 21:58:07 +00:00
Spoike e4b02f6c6c Fix the annoying server-starts-paused bug that I added with a recent commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3593 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-18 21:56:46 +00:00
Spoike 96d279adaf Fix that text. Should have been names, not numbers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3592 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-18 21:55:57 +00:00
Spoike abc4fad46e Fix black trees on keep2. Not quite the true fix, but I'd rather not break quake instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3591 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-18 21:55:24 +00:00
Spoike fc6d1f48e8 Fixed gl_font changes not taking affect until a conres change.
Fixed saved games.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3590 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-17 20:40:27 +00:00
Mark Olsen 1218dd866e qccHunkAlloc(): Round block sizes up to the next 8 to make sure all blocks returned are aligned at least to that size. Fixes problems with alignment exceptions occuring on MIPS/Irix and should also improve performance on those systems that silently emulate badly aligned data accesses.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3589 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-17 09:35:40 +00:00
Mark Olsen 223ac397af qccHunkAlloc(): Round block sizes up to the next 8 to make sure all blocks returned are aligned at least to that size. Fixes problems with alignment exceptions occuring on MIPS/Irix and should also improve performance on those systems that silently emulate badly aligned data accesses.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3588 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-17 09:22:36 +00:00
Spoike a4ed95a376 Fixed hexen2 plaques.
Fixed hexen2 new game menu ignoring class the first time around.
Fixed hexen2 pickup glows.
Slight loading speed improvement due to testing less texture paths.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3587 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-17 02:44:21 +00:00
Spoike 11d870ac27 Fixes minimal target.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-16 09:25:23 +00:00
Spoike 918833a763 hexen2 infoplaque.
splitscreen controls now on the menu.
Fixed splitscreen panorama.
Pause automatically when at the console/menus.
Attempting to clean up replacement texture paths (internal textures are still an issue).
Fixed a crash when playing oversized demos.
gl_bloom/ffov should now work again without bugging out.
H2 Demoness's staff should no longer generate errors when shooting with the tome of power. Some other related changes.
Server should compile now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3585 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-16 02:03:02 +00:00
Spoike 18564b98f6 Wasn't prototyped, apparently.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-15 15:02:30 +00:00
Spoike f535baa59f Added per-player userinfos (for splitscreen).
Enabled cheats in single player by default.
Added a 'sky' alias to wrap r_skybox.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3583 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-14 03:17:33 +00:00
Spoike 2cad75bc69 Attempting to fix/rework splitscreen.
Removed the impulse2/+forward2 etc commands.
Added +p2, -p2, p2 commands as a prefixed command instead. don't use + or - on them (so '+p2 forward' to move player 2 forward), this permits a simple generic way to send commands to a single player from an input device.
rawinput mice will submit commands/movements based upon idx%maxsplits, they will correctly submit mouse clicks, which will be mapped through the +p2/+p3 commands as appropriate, so each mouse is purely for a single player.
Fixed player model visibility in splitscreen mode.
Ignoring allow_splitscreen for the local player, cl_splitscreen is technically now the only enabler (though you will need to configure rawinput or binds).
Added support for { texturename prefixes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3582 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-14 00:15:07 +00:00
Spoike fd16657900 Hexen2 fixes, compile fix, and splitscreen fixes although you won't see other players yet - I know why but its not an easy fix, and I don't want to break other things any more than I have to (R_ShouldDraw+external models).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3581 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-12 09:04:05 +00:00
Spoike 8f06a6bda7 Not quite sane values, but should appear to be correct...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3580 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-12 01:16:37 +00:00
Spoike fed179480a Tweeked menus. Slightly less buggy for hexen2 now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3579 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-12 00:48:05 +00:00
Spoike 6d8e3b01a9 Can jump through hexen2 windows now, changing h2 classes no longer kills the server. Provided Sys_EnumerateFiles for win32+unix targets, other targets will now spam warnings, as its kinda needed for fs_cache (which is default).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3578 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 23:55:35 +00:00
Spoike 1f621ac18c tiny cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3577 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 09:32:24 +00:00
Spoike d860ab6658 MINIMAL should now compile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 09:31:24 +00:00
Spoike 2d5cd2ca11 kill a warning with MINIMAL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3575 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 09:30:16 +00:00
Spoike 6a50f2242f apparently MINIMAL makes use of that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 09:29:40 +00:00
Spoike 1196daca4d Should fix dedicated server compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3573 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 09:23:55 +00:00
Spoike ce07219448 Fixes, workarounds, and breakages. Hexen2 should work much better (-hexen2 says no mission pack, -portals says h2mp). Started working on splitting bigcoords per client, far too much work still to go on that. Removed gl_ztrick entirely. Enabled csprogs download by default. Added client support for fitzquake's 666 protocol, needs testing, some cleanup for dp protocols too, no server support, couldn't selectively enable it anyway. Now attempting to cache shadow meshes for explosions and stuff. Played with lightmaps a little, should potentially run a little faster on certain (intel?) cards. Tweeked npfte a little to try to avoid deadlocks and crashes. Fixed sky worldspawn parsing. Added h2mp's model format. Fixed baseline issue in q2 client, made servers generate q2 baselines. MOVETYPE_PUSH will not rotate extra if rotation is forced. Made status command show allowed client types. Changed lighting on weapons - should now be shaded.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3572 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 03:36:31 +00:00
Spoike 3a30ac63c4 Switched around mouse2/3
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3571 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-07 09:58:55 +00:00
Spoike 29ce27e35c Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3570 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-01 23:35:05 +00:00
Spoike 449e38c590 Should fix the insanely slow loading mingw builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3569 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-01 22:54:14 +00:00
Spoike 6f1369ce9e GL_AMD_debug_output. Because we can. Just pipe it to stdout/debug pane.
Also should have fixed the GL error at startup on pre-gl3 drivers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3568 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-28 21:55:10 +00:00
Spoike 1711a05852 Attempting to fix gb's mmap-related oss4 crash by reordering the entire function. Not tested it, so probably won't compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3567 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-28 20:36:54 +00:00
Spoike c07cef9555 Fixed waterwarp with non-npot cards. Split doom wad support from doom map support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3566 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-25 15:12:12 +00:00
Spoike 8921e7da9f Small bugfix (maxtic 0 = ode crash).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3565 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-25 15:09:13 +00:00
Spoike fdcdfe2d5a Cache PHS for large maps, because the loading time is insane for large maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3564 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-25 15:07:19 +00:00
Spoike 0f5a25025d Fixes saved games.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3563 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-25 15:06:38 +00:00
Spoike d745c39e8a renamed to avoid conflicts with libjpeg changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3562 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-20 07:51:13 +00:00
Spoike 6b48d670ac fopen mode 4 = whole file (fgets doesn't stop on new lines)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3561 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 15:48:58 +00:00
Spoike 48457fdfec Less compile errors please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3560 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 12:53:43 +00:00
Spoike b3543a3b19 Less compile errors please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3559 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 12:52:24 +00:00
Spoike a963445415 posix continues to confuse me.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3558 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 12:14:36 +00:00
Spoike 03bf08c0be Added -ffiletimes argument, which will cause fteqcc to ignore the compile if there were no changes. May be incompatible with some other features.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3557 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 10:01:57 +00:00
Spoike 244c08ad04 Attempted to add support for divVerent's varlen protocol extension info. This is more silencing warnings than anything else.
Also tweeked video code to remove 6 dead sw-only functions.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3556 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 08:42:59 +00:00
Spoike 1a54e541be Fixed a potentially nasty bug that was causing nasty things to happen to QW mods.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 07:47:24 +00:00
Spoike 7a75de8dee missed one
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3554 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-14 09:10:12 +00:00
Spoike 3a5149f1dd Trying to break bigfoot's code. Well, if he won't maintain it...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3553 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-13 21:08:37 +00:00
Spoike ca2564fe4f I can't test this. I can't even compile it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3552 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-13 21:07:52 +00:00
Spoike b0847199cb My god, I suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3551 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-13 20:48:08 +00:00
Spoike bb807558d2 Removed that function - it wasn't used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3550 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-13 20:46:28 +00:00
Spoike 83ec5e427f Things should compile again now.
Reverted clipping change, its not stable enough.
Optimised player prediction/tracing.
Framerates are a little more competitive now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-13 09:49:38 +00:00
Spoike e7ec40d0c8 Trying to fix some leaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3547 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-12 22:46:37 +00:00
Spoike ad3da01975 Should fix some pvs issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3546 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 16:23:04 +00:00
Spoike c6f49f4ec4 Fix dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3545 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 12:33:58 +00:00
Spoike 8a6c820003 Don't let corpses move through plats by standing on the corpse.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3544 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 12:13:40 +00:00
Spoike 16c45dca6e If glx gave us a stencil buffer, tell the rest of the code so they can use it properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3543 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 12:12:45 +00:00
Spoike 0b1e3020d3 Trying to kill a few warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 10:53:13 +00:00
Spoike 1e1084bed7 Changes merged from trunk. Also additional extensive changes. Q3 portals work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3541 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 02:22:39 +00:00
Spoike 8c96747ad3 Removed the limit on macro contents lengths.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3540 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-03 21:49:48 +00:00
Spoike 056d67f83a Visual Studio sucks. Needed to change this to get the damn thing to compile it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3538 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-24 23:35:55 +00:00
Spoike 8e59a22e8f might compile now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3537 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-24 23:35:14 +00:00
Mark Olsen bde4965f59 Use memmove() instead of memcpy() for copying of data between overlapping memory areas.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3534 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-17 02:01:58 +00:00
Mark Olsen 03cb51a236 Fix out of bounds read.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3533 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-17 01:57:30 +00:00
Mark Olsen 4c9a4f06e1 Added a prototype for COM_LoadMallocFile(). Fixes crash on startup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3532 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-17 01:47:51 +00:00
Spoike e6f90bea14 Tweeks to the d3d renderer. Supports various shader features now. Other changes/fixes/breakages also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-01 22:47:47 +00:00
Spoike d57438adf3 Ported the linux q2dll stuff over to SDL, attempts to load gamei386.so still. This is wrong.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3530 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-25 13:52:27 +00:00
Spoike 02c692bb0e removed dead code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:51:01 +00:00
Spoike 57c75a4ce7 Added frametime global.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3528 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:50:14 +00:00
Spoike e07f5976b5 Fix EF_ADDITIVE
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3527 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:49:04 +00:00
Spoike 7f82215a40 Fix sprite ordering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3526 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:48:22 +00:00
Spoike a2fbc53631 Migrated QCLib stuff over from WIP branch.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3525 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-26 03:44:22 +00:00
Spoike d0d380a19a Attempting to reduce the absurdity of ent.field[idx]=foo in fteqcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3524 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-26 03:29:44 +00:00
Spoike e220534bc1 Flashblends use the backend.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-26 02:17:55 +00:00
Spoike 3b460e37b7 Reworked polyblends to use the backend. They no longer get stuck quite so much either. Added cl_download_mapsrc cvar (and plugin field) to specify an http location to download maps from (useful for demos, etc). A few other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-25 22:56:11 +00:00
Spoike b4d12ef96e Make sure SOCKET exists on non-windows. Apparently its 64bit in win64, so we'll need to use a special type throughout (read: not int).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3520 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-19 03:45:11 +00:00
Spoike 8765f5cd62 Minor fixes for spam with all-water entities, joints, and compiler warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-19 03:22:19 +00:00
Spoike 12b52d6e11 Fix for gcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3518 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-16 19:44:17 +00:00
Spoike 3cf5a393cc This is the plugin API exposed to external apps (either the npfte one internally, or the activex one, or [insert 3rd party usage here]).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3517 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-14 14:40:54 +00:00
Spoike c0680334c7 What could possibly go wrong?...
Multiple consoles can now be printed/cleared via extra con commands.
Fixed the tab-completion alignment, by adding support for \t characters.
Changing the download mechanisms. Don't try downloading an ftp:// file. It'll probably crash you for now.
Trying to fix load time issues on q3bsps with a lot of curves.
Fixed sprites.
Added warning prints/spam where the new backend is bypassed, thus marking things that still need to be fixed.
QTV proxy fixed to not sit on qw servers unless someone is actually watching. Will ping for status requests still.
QTV proxy now supports ipv6.
QTV proxy now attempts to use the fte browser plugin.
Reworked the browser plugin code, now uses threads instead of ugly hacks. This should make cooperation with other such plugins work. Fixes unresponsiveness of opera, and gives an API that can be used from any other bit of software you want, tbh (read: internet explorer/activex plugins).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3516 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-14 14:35:56 +00:00
Lance d2475339c2 MSVC .NET 2008 project files (done properly unlike my screwup in #3513)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3515 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-07 09:11:44 +00:00
Lance 7707135846 Undo my mistake in #3513
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3514 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-07 09:07:09 +00:00
Lance 9b17c6b9bc MSVC .NET 2008 project files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3513 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-07 08:39:23 +00:00
Lance 738142b92a Same as #3511 but applied to WIP
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3512 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-07 08:27:13 +00:00
Lance 7f84d14ef7 Added Winquake.rc to the Dotnet 2005 project file, icons are back.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3511 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-07 08:19:35 +00:00
Spoike b00e7ffb76 fix up some comments
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3510 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-06 02:06:26 +00:00
Spoike 589ef03c05 FTE, now with added C support - no longer treating enums as regular ints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3509 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-06 01:25:04 +00:00
Lance 6043fec697 GCC Fix attempt #3 + mingl hacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3508 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-23 08:13:21 +00:00
Lance 0dc38e6062 GCC fix attempt #2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3507 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-23 07:50:08 +00:00
Lance b9b5355c72 GCC fix for previous commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3506 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-23 07:32:21 +00:00
Lance 8e3fca993e Quake, Quake2 & Hexen now have fully functional singleplayer cheat menus. Existing tweaks to other menus, like more bloom diamond size combobox options (2x, 4x, 6x, 8x, 10x), video menu has a more reliable width & height value source to display current resolution incase vid_height and vid_width are 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3505 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-23 07:14:37 +00:00
Lance a40e271c44 Spike's "sendflags" bugfix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3504 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-21 03:28:52 +00:00
TimeServ 6c425bc3df fix bloom fast sample, limit sample to gl_max_size, use tableless algorithm for diamond size
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3503 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-18 20:09:55 +00:00
TimeServ 04d181973a fix glerror for systems without gl_ext_shared_texture_palette
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3502 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-18 02:10:55 +00:00
Lance b3511f7ea2 my bad, no such thing as gl_loadlit, it's r_loadlit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-17 06:49:27 +00:00
Lance bfc4c15d48 Fixed a menu crash, tweaked some menus, added bloom options, and a method of decreasing the time vid_restart takes in each menu by not trying to apply menu options which don't differ from the current cvar value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3500 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-17 06:42:30 +00:00
Lance 3eac223fc2 clang error fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3499 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-16 08:18:08 +00:00
Lance a9326e3ea1 Fix for MinGL, and minor menu fixup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3498 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-16 06:16:42 +00:00
Lance 22a3c2bc6d Menu code commit, Hexen 2 menus supported better (even includes sound in the menus now), menus are now mostly aligned and not underneath pictures anymore, Quake2 menus looking abit too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3497 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-16 04:59:13 +00:00
Lance 923c577172 Teamplay item name section split up into individual sections, still ugly but functional
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3496 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-15 13:23:08 +00:00
Lance d55c03b072 Menu work in progress, additions, tweaks etc, still more to do
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3495 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-15 05:35:27 +00:00
Mark Olsen 8901f51133 Fixed Sys_EnumerateFiles(): Doesn't treat directories as files anymore and actually manages to figure out file sizes now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-11 18:15:42 +00:00
Mark Olsen af15a5945c Fixed the demolist usercmd to output to the user rather than the server console. Fixed all file-related functionality in sv_mvd.c to actually work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3493 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-11 17:39:56 +00:00
Spoike 91d856d72e added a physics_ode_enable cvar. If set to 0 at qc start, physics will be disabled for that map.
If you don't have an ode library or whatever, it'll be forced to 0 or non-existent, as a way to test to see if its supported+usable:
if (cvar("physics_ode_enable")) physicswork();

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-10 23:42:57 +00:00
Mark Olsen a16e0c84e6 Don't allow duplicate bans. (overlapping bans are however still OK).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-10 15:15:20 +00:00
Spoike 051e8ff18c Fixed calling convention errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3490 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-10 13:15:06 +00:00
Lance 4062c0b387 Updated gl_max_size to be renderer latched requiring a vid_restart to take effect
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3488 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-30 04:29:14 +00:00
Lance 22df64de91 Gasp, teamplay menus, and fixups to other menus I added last commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-30 04:06:14 +00:00
Lance 7f0e91037c Menu code work in progress, menu_video is less cluttered, new menus
within menu_options, sound, 3d rendering, texture, shadow & lighting etc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3486 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-29 14:00:56 +00:00
Lance 77056f58ed Same as r3484, but applied to the WIP branch
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3485 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-25 03:06:13 +00:00
Lance df42139913 Added various 4:3, 16:10 (8:5), 16:9, 5:4 aspect-based resolutions,
cleaned up the video mode list, added refresh rate option to video menu 
(driver default (0), 59hz, 60hz, 70hz, 72hz, 75hz, 85hz, 100hz)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3484 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-25 02:57:16 +00:00
Blub c8308c46f2 Patch by div0: add temp locking to ADDSTOREP emulation
This avoids the issue that temps used in += operations can be overwritten by function calls in the expression.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3483 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-22 21:38:52 +00:00
Molgrum b6f1cf12da Fix compile error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3468 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-18 21:21:56 +00:00
Spoike 25f3653d9f The lame but easy way to fix that error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3467 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-18 20:41:30 +00:00
Spoike 1f34680832 Random hacks, ODE works in csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3464 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-17 00:15:44 +00:00
Lance 8f43c1297f Added zlib library to the SDL server target
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3461 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 11:00:11 +00:00
Mark Olsen 9c69d3fa3a Mmm, const...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3460 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 10:22:26 +00:00
Mark Olsen 3b367ce992 Fixed GL_BeginRendering() here, though that is likely not the only problem.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3459 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 10:01:31 +00:00
Mark Olsen 9e3e9a7663 One parenthesis too much.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3458 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 09:26:48 +00:00
Spoike 49c3dc75d4 Removed redundant cases.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3457 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:22:07 +00:00
Spoike 9eabcdcd56 Lots of misc changes in an attempt to reduce ODE jitter, and make it work a little better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3456 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:20:17 +00:00
Spoike eae4caee99 Added walkmove to the qvm API.
cvar("version") now returns something.
no longer crashes when running ktx (since the wip branch started).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3455 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:16:49 +00:00
Spoike c79dfc7d4f Small tweek that means ktx is more likely to load properly, and without renaming anything weirdly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3454 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:13:48 +00:00
Spoike acc77b4f36 Release the mutex if we go dedicated.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3453 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:07:52 +00:00
Lance eed5e36382 Fixed syntax error (hopefully) in how the MinGW32 windres tool reads the winquake resource script
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3451 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-14 03:40:53 +00:00
Mark Olsen 7b195eb522 Builds now. Whether it works or not is an entirely different matter.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3450 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 18:45:16 +00:00
Mark Olsen 760a084f7a That Matrix4_TransformN3 isn't needed, so disabled it. Also renamed that 'vector' argument to '_vector', just in case it gets used again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3449 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 18:43:59 +00:00
Mark Olsen 2e3a833a2b Updated to match the new prototype for Sys_LoadLibrary().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 18:42:11 +00:00
Spoike 1d136eab27 yup, I'm an honourary vacuum cleaner.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3447 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 18:00:19 +00:00
Spoike 815c33a8cc Missed a file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3446 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 17:48:11 +00:00
Spoike 14ed1fe230 Added fractional antilerp, and fixed a bug in the antilag stuff (potential showstopper).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3445 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 16:54:21 +00:00
Spoike 25b5732ec7 Gnnrgh
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3441 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 01:37:00 +00:00
Spoike 9b091baae9 less debugging junk on screen.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 00:42:04 +00:00
Spoike 9f05a93a07 Minor improvements to make it more robust.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 00:16:34 +00:00
Spoike 67e90812c2 ODE support works slightly better now. remember to force fixed-rate tics by setting sv_[min|max]tic to the same value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3436 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-12 08:53:10 +00:00
Spoike b9baebe711 FTE/DP differences.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3428 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-08 23:26:03 +00:00
Spoike 0e9a9dd00f couple of fixes there.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3427 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-08 23:00:11 +00:00
Spoike e6d1ae1a8f more cleanups: csqc now shares collision code with ssqc. Still lacks physics.
gl_rsurf.c has been split into gl specific and generic code - the d3d renderer can now draw the world.
ifdef removed the old server-side mvd playback which had been disabled all this time anyway.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 13:29:15 +00:00
Spoike 79a45e1a19 __NULL__ no longer triggers deprecation warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3423 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 04:34:32 +00:00
Spoike e6498c778e only send qw prydoncursor when we're fully connected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3422 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 04:32:07 +00:00
Spoike ad83ffa7c8 Fixed dependencies. Finally.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3420 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 02:55:09 +00:00
Spoike 4c37c34c13 Fixed some stuff. Cygwin stuff compiles now, so maybe linux will too. I've not tested it though cos cygwin uses software gl rendering, and I'm impatient. Also boosted NUM_SPAWN_PARMS a little, so saved games will break.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3408 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 03:07:52 +00:00
Spoike 5a649378f5 makefile works for the server again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 01:42:19 +00:00
Spoike a5d741c592 Ripped LordHavoc's ODE physics support. It'll probably crash and burn. 99.995% untested.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3406 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 01:22:27 +00:00
Spoike 8ecfac1423 Killed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3405 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 01:07:37 +00:00
Spoike 7188917d6c Whoops, that fixed d3d, but broke GL. Anyway, here's a fix that works for both.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3404 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 01:07:08 +00:00
Spoike f6b3416ce7 Fixed up some stuff so it actually compiles now. Also corrected pixel offsets on d3d chars so fonts are like in GL. Removed the unneeded gl_ppl file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3403 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-04 23:20:50 +00:00
Spoike 260713ec34 Still messy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3402 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-04 21:44:48 +00:00
Spoike 66b78c0b11 Work In Progress branch.
In this version: replacement GL backend. Replacement D3D backend sharing code with GL. Lots of code reorganisation.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-04 21:16:50 +00:00
Spoike 7184ac46d1 Slightly less weird console histories.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3400 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 23:37:05 +00:00
Spoike 546734610c Attempting to fix what I broke.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 08:13:07 +00:00
Spoike 8b16f7c7f6 Attempting to fix what I broke.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 08:12:29 +00:00
Spoike 8019ad0fae so botlib doesn't outright crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:47:07 +00:00
Spoike 2059803eb5 Fixes a few gcc warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:44:49 +00:00
Spoike d950889fda Fixes a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3395 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:43:23 +00:00
Spoike a01158a6e0 Improved name matching. Added a clientkick command to empty a specific client slot. This makes the q3 remove bot menu item work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:41:42 +00:00
Spoike 92b1572092 Removed some unused bss.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:40:15 +00:00
Spoike aadd51a94c Fixed some warnings related to errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:39:35 +00:00
Spoike e0edbe444d Fixed a warning message.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3391 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:38:42 +00:00
Spoike db66fa07f5 Warning message bugfix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3390 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:37:47 +00:00
Spoike 8f11f5f73b Acting as a Q3 server is now more robust.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3389 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:35:33 +00:00
Spoike fb190d430c Improved the clipped decal algorithm. Less fragments now. Also added support for q3bsp clipped decals.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3388 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:33:54 +00:00
Spoike 300cfd85a8 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3387 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:32:28 +00:00
Spoike cf86183cca Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3386 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:31:48 +00:00
Spoike b51fac65f5 %d is int... not double. %f is double. :s
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3385 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:30:39 +00:00
Spoike 25114afb04 added an ival field to cvars. like value but an int. because its faster to test.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3384 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:29:17 +00:00
Spoike 18ef542c7f autostatus was annoying with a default that actually prints useless stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:25:54 +00:00
Spoike b0d29915c5 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:24:07 +00:00
Spoike 17bc508348 Calm down, its just a missing new line...
Silly gcc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3381 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:23:21 +00:00
Spoike e3dc3fb7b3 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3380 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:22:28 +00:00
Spoike abc8b40d31 Yes, I have more changes than just that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:20:48 +00:00
Spoike 0ba6d4c515 More robust. Slightly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:17:04 +00:00
Spoike 1fb8ab1487 Trying to fix a bug with a map bigfoot gave me. Blame him! Not me!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:15:55 +00:00
Spoike f52ebd3f00 should fix the crash that happens after a while (actually about 1024 con prints).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-04 22:03:16 +00:00
Blub fbf5e5b627 OP_MULSTORE_V is actually vec*float, so translate it to OP_MUL_VF instead of OP_MUL_V - this allows the direct use of vec *= float
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3375 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-18 18:39:11 +00:00
Mark Olsen 7b9bfe0ae9 Spike for president, less GLSL compile errors! Oh, and happy birthday yesterday, BTW ;)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3374 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-16 19:33:50 +00:00
Mark Olsen 02fd259fab Don't crash when clients disconnect, kthx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3373 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-08 14:52:32 +00:00
Lance b773f51349 Added GCC profiling targets "-profile" which is just the release "-rel"
targets but with support for profiling. When FTE is exited cleanly it 
will create a profiling file (a.out or gmon.out) in the same 
directory depending on the compiler used. Can then "gprof programname 
gmon.out > humanreadable.txt" to read the profiling data.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3372 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-05 11:03:25 +00:00
Molgrum ae4a809407 Added a mingl-dbg target to the Makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3371 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-04 15:29:08 +00:00
Molgrum 3c23d47e50 Added all targets to the Eclipse cproject file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3370 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-04 15:27:23 +00:00
Blub e1e589e729 keep using num*sign when the token has no . in it, since in such cases it shouldn't become NaN, and we cannot use atof on tokens like 0xABC which end up, too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3369 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-04 10:35:41 +00:00
Blub 25c5f6ba1b null-terminate before using atof, not afterwards...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3368 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-02 17:04:55 +00:00
Lance 8b086016f4 Removed all compiler optimizations from the crosscompiled MinGW32
binaries, so we're not chasing our tails with compiler bugs.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-02 15:14:50 +00:00
Blub e197253558 -Ocj must take OP_GOTO into account
this removes the unreachable-code warning when using 'break' at the end of an
if block within a loop


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3366 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-02 13:22:32 +00:00
Molgrum e31fa29044 Changed compiler (CC) to use MinGW GCC, but it still uses Cygwin Make because it works better atm.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3365 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-02 04:32:47 +00:00
Molgrum b971a31f1b Successfully built the Win32 MinGW build with these in Eclipse. You need to install MinGW seperately.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3364 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-02 03:16:42 +00:00
Blub e0f2bb3a50 using atof() for floats in QCC_PR_LexNumber() so huge numbers don't create NaNs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3363 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-09-01 22:23:47 +00:00
Spoike 59d474b547 don't use -fiffloat by default due to the performance hit. but always force it to be active if we have an actual OP_IF_F instruction in the target.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3362 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 19:44:58 +00:00
Spoike 47d924ceff iffloat by default.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3360 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 18:52:59 +00:00
Spoike ee599e97a6 removed unused var.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3359 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 17:54:05 +00:00
Spoike 222529619e Can I go back to bed now?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3358 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 17:51:13 +00:00
Spoike 5a5f38dbfc Yeah, I suck. Really works properly now. Maybe.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3357 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 17:24:20 +00:00
Spoike 5e5ad719c2 Fixed LexNumber to properly replace LexFloat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3356 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 16:53:22 +00:00
Spoike 09a31850aa Bah, forgot to save after disabling it again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3355 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:34:10 +00:00
Lance d2f908b886 Makefile should be all happy cat now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:17:43 +00:00
Spoike ee25afa861 Ensure paths exist when saving games.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:09:35 +00:00
Spoike 38d8b7189b Use the correct field names for prydon cursor.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:08:39 +00:00
Spoike f62dc94d87 You can kill me now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3351 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:07:08 +00:00
Lance 4ff8acffb9 Hack to get MinGL to compile again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 15:01:00 +00:00
Spoike 2158389bef Added IF_F instructions.
Added -fassumeint so constants are by default ints instead of floats (like in C). Use a decimal point and it'll be a float.
Fixed a couple of omissions/bugs reported by Blub.
Added lame x86 jit which is still buggy, incomplete, and disabled. And bigfoot will hate it.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3349 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 14:56:42 +00:00
Spoike 1718aae24b Should boost q3 server stability slightly, by not sending so many gibberish wrong-protocol packets.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3348 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 13:41:22 +00:00
Spoike 2c0a7508b0 -werror support for fteqcc
once again, blame blub.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 13:39:57 +00:00
Spoike f5e3d5e499 Fix glitching with q3 skies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3345 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-12 08:12:36 +00:00
Spoike 9f20876069 Fix q2bsp support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3344 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-08 12:49:51 +00:00
Spoike 00cca0ea84 Fixed some client protocol bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-08 12:43:35 +00:00
Spoike cf62594631 Well that was a stupid bug. Allocate frames for the correct client type, instead of q1.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-08 12:42:12 +00:00
Spoike 4461e90337 Fix prydon's sprite cursor.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-08 11:09:35 +00:00
Spoike 492e01192a Replaced one of the built in crosshairs with a single pixel one.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-04 23:57:33 +00:00
Spoike fd713df2e1 Fixes the rawinput not working without in_restart bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-04 23:56:43 +00:00
Spoike 3fb15701b1 Fix the missing final character in the server browser.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-01 13:29:52 +00:00
Spoike fb95c21dcd Attempt to load truncated wav files. Because everything else does. And then people complain that its a bug. But do warn (just clamp chunk length).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-27 07:38:11 +00:00
Spoike fab8161e68 Yeah... That was a stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-27 07:34:10 +00:00
Spoike 9357d554f4 mneh
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 13:49:33 +00:00
Mark Olsen 959b204c3e Call svnversion only once.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 13:21:40 +00:00
Lance c88cdc4716 Added the SVN revision number to the 'version' command, but only for
compilers which use "Makefile" (which rules out MSVC)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 11:22:28 +00:00
Spoike 10accd2908 Cleaned up GL a minor amount more.
Sounds can now be recorded while capturing to tga sequences (as raw sound). Fixed frame limits a little.
Passed the unicode key values around to a few more key input functions.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 11:05:06 +00:00
Spoike bce186834f Sound mixing was failing to add sound effects on certain sound outputs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 09:15:42 +00:00
Spoike 1d68abc578 Should fix vweps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-24 20:20:31 +00:00
Spoike ad07e50ee8 Allow lumas if the server doesn't care.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-24 19:46:32 +00:00
Lance e14edce4fd FTE now looks for libraries & associated includes where Fink installs
them in addition to where MacPorts/Darwinports installs them in MacOSX 
while compiling


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-22 05:43:13 +00:00
Spoike b60e062fc7 Fixes shift in message mode stuff. I prolly need to fix it elsewhere too... mneh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-21 00:48:19 +00:00
Spoike 4b6f269963 gl_doubleeyes. evil hacks courtesy of id.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-21 00:43:10 +00:00
Spoike ff1246589a fixing mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-20 07:45:05 +00:00
Lance 233ffe7ccd Fixed fisheye, should compile now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-20 02:50:00 +00:00
Lance cdf2b2670e Updated MSVC 6.0 and .net 2005's NPQTV project files to include the freetype header location.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-20 01:58:50 +00:00
Lance 72d41bc846 Added include directories for freetype, MinGW working again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-20 00:58:37 +00:00
Spoike f419538b37 Added skygroup command. Also polygon offset cvars. Even though its evil - I'm not sure how long it'll stay.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 20:43:07 +00:00
Spoike 12cccf0e39 ffov implemented in GL.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 18:13:03 +00:00
Spoike efb1d412a5 if its a vwep player model, pretend to be the real player model for the purposes of skinning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 17:00:22 +00:00
Spoike 4cc13b2bbf fixed vweps when spectating.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 15:08:30 +00:00
Lance 150fdb2bd4 Minor MacOSX dedicated server tweak, zlib enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 11:05:00 +00:00
Lance 2e10193d27 Enabled zlib, png & jpeg support in MacOSX.
If GCC complains about missing headers for libjpeg and libpng: 
1. Install Darwin Ports from darwinports.com. 
2. export PATH=$PATH:/opt/local/bin
3. sudo port -d selfupdate
4. sudo port install libpng
5. sudo port install jpeg


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 10:11:32 +00:00
Spoike a976ac2428 Made the version command print which external libraries were disabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 03:51:07 +00:00
Spoike 696b1365d6 I thought I already committed that...
Fixes for the interpolation changes - csqc needs to receive lerped ents too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 01:55:21 +00:00
Spoike 58af42990d Fixed up some EXT_CSQC expectations.
Tweeked interpolation.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:46:42 +00:00
Spoike d119e7fadb Added scr_turtlefps - sets the framerate that the engine has to maintain in order for the turtle to hibernate. Because... why not?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:26:24 +00:00
Spoike b2b371f44b Removed unused variables.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:25:09 +00:00
Spoike 0cc6e71ca6 Code so I can copy from the console again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:24:23 +00:00
Spoike 622254e036 Code so I can copy from the console again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:23:56 +00:00
Spoike 5b94a0b20d native plugin support for 64bit platforms. Supposedly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:23:00 +00:00
Spoike 016629a6c9 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:22:32 +00:00
Spoike 1402935058 native plugin support for 64bit platforms. Supposedly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:21:02 +00:00
Spoike 086ccd96ae Reduce warnings. Try and peek in the windows font directory.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3305 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:15:16 +00:00
Spoike 5a9e576796 Fixed an old id bug. Slow moving objects will now always delta properly, instead of sticking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:14:10 +00:00
Spoike b9d0d937c6 Added a VectorEquals macro. Because I can.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:10:44 +00:00
Spoike ba368d0210 FTE isn't mvdsv. But just in case someone thinks it is...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:09:07 +00:00
Spoike 7df1428358 Let the cursor work in demos/console when playing demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 19:47:37 +00:00
Spoike 0cf3e1ff54 Freeze NQ demos while content is being loaded, so it starts at, urm, the start.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 19:46:32 +00:00
Spoike fdf09ce18b mipmapped non-square textures no longer look terrible.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 11:06:28 +00:00
Spoike ccf1338d41 Check bounds before, not after.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 09:35:38 +00:00
Spoike db97dd67d0 Check bounds before, not after.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3296 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 09:33:30 +00:00
Lance a55a2326f2 Temporarily remove merged release & debug (m-rel & m-dbg) from the
"all" target in the makefile until it's needed


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3295 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 05:19:09 +00:00
Lance 1bb9df702c OpenGL SDL targets will build again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3294 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 04:07:57 +00:00
TimeServ 40bc6b577c attempt fix other platforms
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3293 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 03:47:21 +00:00
TimeServ 9c9c655d6c attempt fix morphos
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3292 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 03:44:10 +00:00
TimeServ d0a8a8ee9d default vid_width/vid_height cvars to 0 to use desktop params (unless windowed then use 640x480x32)
don't try to switch to 640x480 if we already attempted it

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3291 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 23:11:34 +00:00
Spoike 4671892cce Removed some unused variables.
Added support for 32bit player skins (with pants/shirt overlays).
Updated spectating name tags to not lag, and be centered. Also visible by default.
Smoothed out viewweapons slightly in certain cases (when they're not animating at 10fps).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 22:28:16 +00:00
TimeServ 4b2c4ed77a remove more unused sw variables
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 22:15:37 +00:00
Spoike 793825b0ee Updated the msvc2005 projects, killing the SW renderer targets and removing SW renderer from merged builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 21:45:08 +00:00
TimeServ 1b101bab97 remove ram icon (no longer makes sense with non-sw)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 21:25:53 +00:00
Spoike 97f98672d2 Should be a bit less crashy and actually able to compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3286 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 18:55:50 +00:00
TimeServ 5038d72933 recommit revs 3280-3282
update dotnet2005 ignores

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3285 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 15:34:16 +00:00
TimeServ d753d47758 fix "merged" sdl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3284 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-17 10:17:22 +00:00
TimeServ a94a33212c destroy software rendering and break everything (and that won't be all!)
also note that merged builds on non-windows no longer make much sense

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-16 22:06:59 +00:00
Spoike fb2b58979b Tiny tiny boost.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3282 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-15 23:40:50 +00:00
Spoike 85f9b6bc0e Always release the mouse when not the active application.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-15 20:15:53 +00:00
Spoike 0c5ee4d373 yeah, I know, I officially suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3280 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-15 07:38:36 +00:00
Spoike 57c9515b39 Updated QVM apiFixed up some of the slowness in the sky/water warping code.
Enabled freetype in gl builds. It'll try to link dynamically. Headers are included for windows users. unix users will need the freetype2-dev package for their system, sorry. you could probably get away with editing the makefile to include the headers if that's a problem.
Fixed occasional missing skies.
Updated q1qvm api stuff version (to 13).
Cleaned up the ban code. There are no longer two separate mechanisms to ban people.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 23:42:54 +00:00
Spoike 33bdcfb367 Link dynamically to freetype.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3278 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:59:49 +00:00
Spoike a79b7f90cf sbar compiles again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:58:07 +00:00
Spoike 887f204330 This allows servers to stuffcmd aliases that match commands which would have forwarded anyway. Thus fixing 'pause' in ktx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3276 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:14:25 +00:00
Spoike 9ad2588aed Might as well optimise it while its still present.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3275 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:13:12 +00:00
Spoike 91da30299d Whoops, this fixes up the path.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:11:31 +00:00
Spoike cd619e991f Only start timedemo counters once the map has actually finished loading, and force the console up.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:10:07 +00:00
Spoike 8c66660fe0 Don't show the deathmatch scoreboard in single player.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3272 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:07:14 +00:00
Spoike 294e82f158 That spam was annoying.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:05:56 +00:00
Spoike e7b05772b6 Menus broken again. On behalf of bigfoot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:04:32 +00:00
Spoike 12a72a64f3 console should now compile again. mneh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3269 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 14:19:45 +00:00
Spoike 9cccfe2f35 Particles will now have the correct trails when switching to the classic particle system.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-13 01:17:22 +00:00
Spoike 0135abdf5e Fixing bugs (including a massive slowdown with high con_maxlines).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3267 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-13 00:32:31 +00:00
Mark Olsen 5aad58610a Always grab the mouse in fullscreen mode. Use Key_MouseShouldBeFree() instead of peeking the mouseusedforgui global.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3266 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-12 18:57:40 +00:00
Spoike d96cdc237c Indeed I suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3265 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-12 18:03:39 +00:00
Spoike 9728dde4ac Trying to fix grey stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3264 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-12 17:00:52 +00:00
Spoike 27fddffedb Does that fix mac gamma? (can't test this stuff)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3263 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-12 15:26:47 +00:00
Spoike 942af209a7 Apparently it didn't compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3262 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-12 15:01:18 +00:00
Spoike b5ac90d523 More stuff broken.
Added control over texture coords on particles. Switched them to batch based on common render state. Less state changes there now.
Inverted sorting, to aid depth culling.
fullbrights use vbos too now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3261 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 20:56:09 +00:00
Spoike d0e156d4b5 Fixing warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3260 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:27:06 +00:00
Spoike bde52736c2 A minor optimisation for lazy compilers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:25:41 +00:00
Spoike 3b9f4c9fbb Made so lines don't jitter around if its drawing wireframe because of no surfaces.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3258 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:25:03 +00:00
Spoike 921bfbb1d3 Fixed some warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3257 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:23:57 +00:00
Spoike 386aac4da7 Stub out bindbuffer if its not present. The generation code will work around it. The renderer will ignore it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:23:07 +00:00
Spoike f7b9395261 Updated to support mvdsv's qvm api version 13 instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:22:02 +00:00
Spoike 03aa7fefaf Fixes a conflict.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:21:14 +00:00
Spoike 0cf09d8063 Well that was a stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 16:49:36 +00:00
Spoike b1ac73b6cb Should help mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-09 22:12:29 +00:00
Spoike 2513254510 My god, was I asleep when I did that?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3251 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-09 18:31:43 +00:00
Spoike eda16ea10f Permit precaching of just an md5anim with no md5model. You'll see a debug wireframe skeleton if you actually try drawing it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-08 01:17:27 +00:00
Spoike 6147a2dcd3 That should fix bigfoot's shift.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 21:32:54 +00:00
Spoike 699104d667 Notify text should no longer be in the middle of the screen.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 20:00:19 +00:00
Spoike cfadc8e717 Now works properly with larger multi-surface md5 models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 06:35:15 +00:00
Spoike c021324009 Fixed non-square dds images.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3242 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 06:34:07 +00:00
Mark Olsen 670b45edd9 Now builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 13:36:16 +00:00
Mark Olsen 632cba0618 No, Spike, you're not programming C++. Besides, b was already declared once.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3240 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 13:33:12 +00:00
Spoike e1ab049608 Attempting to fix recent breakages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 07:45:46 +00:00
Spoike 4767b7215d Blame the monkey.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 06:09:49 +00:00
Spoike 7ddd50b854 frames keyword is now supported in externalanim files.
it inserts an entire anim into a sequential series of frames.
there's no control over starting/ending frame numbers. so you need to change frame indexes if any frames are added/removed in any md5anim files that are expanded in this way.
void(float modidx, string framename) frameforname = #276 should be usable for this, but its not tested yet - expanded frame names are eg: path/blah.md5anim0

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 01:44:26 +00:00
Spoike 18b617f4a1 vweps.
added builtin float(float modidx, float framenum) getframeduration = #277; to both csqc and ssqc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-06 01:20:20 +00:00
Spoike 3b8c5d74bc I wonder how many more bugs there are left for Blub to find.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-05 21:44:17 +00:00
Spoike a80214290d Oh noes! Everything is broken!
Rewrote much of the console code. Should be no obvious differences.
Nearly all conchar parsing goes via a single function. Still some left in the dedicated server code.
Added the ability to parse utf-8 text, disabled by default.
Added the ability to input unicode chars using whatever keymap the user has set up in windows (not enabled by default).
Reworked vbo stuff to be a little more versatile.
Added toggle console command.
Added freetype2 support (not compiled by default).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-05 18:45:53 +00:00
Spoike 5206c1a0c8 Fixed a couple of bugs regarding normals. Welded verts together that share coords, compensated for angle of triangle, skeletal fat bastards (erm), added clampgroups to possibly freeze an animation at its end.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3233 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-04 16:53:01 +00:00
Spoike 2b58210060 Bugfixes courtesy of Blub:
Fixed new line counting in multi-line comments.
Fixed unary operators to favour a single term, except for the unary not operator.
Added:
Unary not operator warns whenever it consumes more than a single term.
Added more ways to optimise logic (a+0 = a).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3232 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-03 19:02:42 +00:00
Spoike 2f848fa7b0 Should now calculate and animate vertex normals on skeletal models, and apply that for the q1-style lighting.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3231 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-30 22:05:18 +00:00
Spoike ca7a6224a4 Fixed flickering entities bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-28 19:57:09 +00:00
Spoike 06b20185b5 cmd efpslist now shows incoming/outgoing packet rates per client, too (expressed in bytes per second - same as rates).
Semi-colon can now be bound properly in the menus.
Fixed a bug with one of my more recent commits.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-23 21:49:44 +00:00
Spoike b2429e478a I'm too lazy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-22 06:38:38 +00:00
Spoike 2d8dba797a Gcc is more fussy than msvc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-22 06:07:33 +00:00
Spoike f2cce499f6 Multiple minor cleanups. Chunks of dead code removed.
Added com_parseutf8.
Z_EXT_VWEAP is supposedly supported serverside, but not clientside. It is not advertised, and not used, yet.
Fixed csqc mouse issues in linux, supposedly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-21 17:45:33 +00:00
Spoike 8260a0d206 Doesn't look like indexes are actually needed first here (this should fix the issues with the md5s that electro has).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-17 21:57:45 +00:00
Lance 17512cc406 Changed all instances of -lwsock32 to -lws2_32, "apparently wsock32 is old and shouldn't be used (since win95..)"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3224 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-14 13:51:13 +00:00
TimeServ cefc6d187a fix makefile for qclib
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-14 01:15:00 +00:00
Spoike 82f3ae2102 Looks like someone forgot a file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-13 20:52:43 +00:00
Spoike 1c985c65d2 and a bit more
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-13 12:25:39 +00:00
Spoike b3b885c122 Trying to clean up qclib a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-13 11:57:52 +00:00
Spoike bd51fb8e9d Fixed unproject to work as originally intended. Rather than just being a steaming pile of poo (it was the matrix inversion routine that was broken).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3219 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-11 21:09:39 +00:00
Spoike c66ff953b5 Fixes up tcpconnect a bit (based on bigfoot's patch). Should now work a little better than it ever did.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-10 22:36:53 +00:00
Lance 226ae08d0a Use -DCLANG with clang (sv_rankin.c hotfix), Makefile cleanup (cleaner filenames) and -D_SDL added to the
win32_SDL 
targets


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-08 08:10:32 +00:00
Lance 691f57ee80 Changed path to a SDL header, only affects mingw32 + SDL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-07 13:25:02 +00:00
Lance a028aca503 r3120 take 2. Applied a parentwindow fix to the Windows SDL binary, now exits gracefully instead of a crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-03 09:13:55 +00:00
Lance 183461a428 Crossbuilt MinGW32 SDL binaries working again, applied a parentwindow
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-03 09:09:35 +00:00
Spoike f472410ad2 Fixes the angle clamping issue in q3. The cgame is meant to clamp, not the engine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-31 11:46:57 +00:00
Spoike f3970ede24 Hopefully fixes the recent +gamedir failures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-30 23:54:41 +00:00
Spoike d010181ff7 Work around for mvdsv's latest incompatibilities.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3207 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-30 23:48:18 +00:00
Mark Olsen b5106b68a4 Now builds and works again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-30 21:14:31 +00:00
Spoike 6b21ccabee ATI suck almost as much as I do
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3205 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-25 14:05:35 +00:00
TimeServ 740f4a09f9 actually apply fteqcc intrinsics patch http://stud4.tuwien.ac.at/~e0725517/patches/fteqcc_fix_intrinsics.diff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 18:56:05 +00:00
Spoike 6d3e1b7188 Fixing up some custom build assembler commands. They were missing quotes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 15:00:31 +00:00
Spoike 95a26340ac Added the fs_win32.c file to the 2005 projects.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 14:47:11 +00:00
Spoike bd22b975d0 Attempt 2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 11:24:57 +00:00
Spoike 252face9c5 Should fix my breakage of morphos builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 11:20:21 +00:00
Spoike 9a20ae8fa2 Fixed linux sw building.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3199 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:51:01 +00:00
Spoike dcefeaa8fa Fixed the makefile so qcc builds again by default.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3198 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:49:21 +00:00
Spoike b7c8b33b98 Stopped Moodles from being quite so evil.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:37:50 +00:00
Spoike 0afe8f9dc5 Didn't test all targets.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:28:26 +00:00
Spoike 9cd988a836 Added csqc->ssqc requests.
Fixed up cl_indepphysics. Sending is fully independent, bar sync points.
Fixed so #if 0 works in qc code.
Fixed up error conditions in qclib when features are not supported.
The webpage generator will now refcount properly.
Fixed error conditions when using glsl shaders.
If MULTITHREAD is defined, r_loadlit will not light inside a separate thread.
We now generate VBOs for bsp objects. Shaders/rtlights don't use them yet.
Fixed up MVD/multiview playback a bit. It now looks like it works! (cl_hightrack will no longer track the same person in all views).
Fixed error conditions when attempting to download versioned csprogs.
Reduced the number of places that a q3-style marked up string is expanded. I think there are a couple places left still though. Approximated ezquake colour codes.
Memory mapped read file access in win32, where we can. Not sure about this. Lets see how things pan out.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:11:17 +00:00
Spoike 48e757c860 cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-21 09:36:18 +00:00
Spoike 640aafdc34 Makes Q3 somewhat playable again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-20 23:59:17 +00:00
Spoike 80e511ec1e Try and get alsa to start up and work a bit more reliably, an impossible task, I know.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-20 17:28:15 +00:00
Spoike 88085a1cbc Strip out some dead code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3191 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-20 17:25:48 +00:00
Lance 4e21d2c88d Blub\0's FTEQCC patch, to fix intrinsics: http://stud4.tuwien.ac.at/~e0725517/patches/fteqcc_fix_intrinsics.diff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-19 01:54:00 +00:00
Spoike ff22785542 Should fix certain compiler issues reported to me by Blub\0, found when compiling nexuiz code. This is Blub's fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3189 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-11 00:17:31 +00:00
Mark Olsen 2decc6d5c8 Please do not try to shut down the video code twice, kthx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-10 21:44:13 +00:00
Lance cdb9eed996 Fix GCC complaining about Mod_GetBoneRelations having conflicting types with the software-only client.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-07 12:18:35 +00:00
Mark Olsen af09a50527 Fixed 'unban all' to unban all, not just the first.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-28 15:49:20 +00:00
TimeServ 022e1dc76e possible sw linux build fix, add tooltip code (but no tooltip text associated with anything yet)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 10:50:31 +00:00
Lance 812ae15aaf "version" command I tried to make it be more helpful by identifying the compiler that was used to build it, and also identifying any optimizations (or lack of) that were used during the compile process.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3184 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 05:01:55 +00:00
Lance 57c102a6b6 GLRelease was using __fastcall (/Gr) which was causing black screens when trying to use the plugin and also causing firefox to crash if the plugin was still open in a tab when trying to exit firefox. __cdecl (/Gd) was the solution.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 01:42:02 +00:00
Spoike a96b5ee4e9 okay, the cprint builtin I just added will now actually do something useful. ho hum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3179 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 01:02:56 +00:00
Spoike 5f1a9d8cbf added cprint console command.
fixed nq client loading-screen persisting bug
fixed nq clients getting flooded by packets.
fixed nq clients not receiving any entities
removed a bit of redundant code in pmove
fteqcc: merged array function calls with real function calls, fixing return values in the process.
vid_preservegamma now defaults to off. windows sucks.
tweeked the prototype FTE_CSQC_SKELETONOBJECTS a bit. still not official nor advertised.
added a little bit more functionality to halflife support
csqc got some pmove tweeks. this is how I want it to work. nothing has been changed that is really incompatible with darkplaces in this commit.
added markers around some ext_csqc_1 features.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 00:50:42 +00:00
TimeServ 42b4577802 don't flash when already the active window
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 23:48:35 +00:00
TimeServ caa9dffb2c fix sw screen render to act a bit more like gl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 23:29:03 +00:00
Lance 4b85112ce1 Added ctype header to fix MSVC2008 complaining about "tolower" being unresolved.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3175 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 23:17:09 +00:00
TimeServ 2f6fb049e4 revert splitclient, fte->fteh2 for hexen 2, fix sw console background drawing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 22:55:00 +00:00
Spoike d96f8e3d77 No more upside down spiders in hexen2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 22:03:59 +00:00
TimeServ 5381de8bd5 set splitclients to 1 for q2 sendcmd
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 21:21:27 +00:00
Spoike c3300cb0f7 Fix non-win32 builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-13 12:54:18 +00:00
Spoike b8bd024a1d Tweeked the filesystem some more, now prompts if a game directory could not be found.
Fixed up clipped decals slightly. They should now be usable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3169 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-12 16:57:30 +00:00
Lance 43d97c3e31 win_SDL binaries now have icons
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3168 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-10 03:39:47 +00:00
Spoike aa8ca7c111 Can script some things now, including playername and connecting it to other servers. Though its still a little limited in what it can do.
Scripting does work with both firefox and opera. Don't know about others.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-10 00:33:02 +00:00
Spoike 1c644b51e7 Fixes a crash with demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3166 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-09 07:19:59 +00:00
Lance e71b59bf92 Crosscompile all Win32 SDL binaries from Linux with FTE_TARGET=win32_SDL, binaries have been tested alittle and still have bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-08 08:12:29 +00:00
Spoike 9a2ed9307a Quick fix for something that noone noticed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 20:03:25 +00:00
Lance 84117bd7e3 MinGL & Merged targets added to SDL. Dedicated server, OpenGL & Software rendered SDL clients now build in Linux
and run but untested. r3162 was to resolve the SDL MinGL's build error: undefined reference to `NET_Sleep'


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3163 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 03:48:32 +00:00
TimeServ aac9ba3f4f oh hey look i can code without looking at the specs oh wait
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3162 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 03:41:24 +00:00
TimeServ e79171082f sdl wait code possible fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3161 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 03:38:08 +00:00
Spoike e403cebc65 Should be more robust with first-run config execs now.
Multiple download sources can be specified (eg for mod+map). Takes the form "providedfile:urltodownload providedfile:urltodownload". This comes via the browser so relative urls = woot. The old single-url-only path is no longer supported. This is an incompatible change, but we're still young. The unpacking process is still the same, and still only paks/pk3s are extracted. Note that the providedfile is relative to the base dir rather than the game dir. You can specify potential alternate gamedirs.
The QTV file is not mandatory, you can use map="blah" join="blah" stream="0@blah", so long as you set the mime type as: type="application/x-fteplugin". src="someqtvfile" still works, of course (and doesn't mandate the type= field, although that should probably be specified to make life easier on configuring servers to use the correct mime types).
The splash image can be set with: splash="myurlhere". Note that only jpg and png files are supported. This comes via the browser so relative urls = woot.
Game property can take multiple game dirs now, too. First argument is the basic game. If its one of the special ones then FTE is meant to hunt down your prior install for that. If its not recognised then its added as the only game directory. Additional ones are added after (eg: "id1 fortress" adds just id1+fortress while "q1 fortress" adds id1+qw+fte+fortress). Use appropriately.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3160 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 01:26:47 +00:00
Lance f2688e7866 My attempt to get SDL binaries under Linux to compile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3159 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 14:19:29 +00:00
Lance 030e080baa Wrapped sv.state with #ifndef CLIENTONLY to resolve npqtv's compile
error (I hope it's the proper fix, Spike please check if I did the 
right thing):
./client/cl_main.c: In function "Host_Init"
./client/cl_main.c:3708: error: "sv" undeclared (first use in this 
function)
./client/cl_main.c:3708: error: (Each undeclared identifier is reported 
only once


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3158 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 05:46:17 +00:00
Lance 648caa9c57 Just make the help output alittle more helpful, added crosscompiling
comments


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3157 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 02:45:11 +00:00
Spoike 8b022435de make msvc2005 happy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3156 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 01:23:44 +00:00
Spoike a838650a40 try that
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3155 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 01:01:31 +00:00
Spoike 879e5b59c6 Missed a file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3154 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 00:54:46 +00:00
Spoike 2adb420a6d Reworked the console/loading screen a little. The console is no longer directly shown at startup. MSVC2005 project files update for npqtv.
Added vid_wndalpha to make the window transparent (only supported in GL-win32).
Multiple issues with SW rendering, which I'll fix eventually. It does at least run, even if it looks ugly.
Plugins are now able to read the console input. Bigfoot, feel free to tweek.
Fixed up a few mismatched prototypes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3153 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 00:34:32 +00:00
Spoike 6ebabd8d88 GCC-built plugins no longer insta-crash. Go Mozilla! You rule!...
'make npqtv-dbg' works for me.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3152 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-03 07:31:54 +00:00
Spoike 616200895b I blame bigfoot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3151 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-03 06:36:00 +00:00
Spoike 0eb7e83965 Stuff should compile a little better with GCC now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-02 22:25:54 +00:00
Spoike a2a6c74ab4 Updated msvc2005 project.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3149 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-01 22:22:45 +00:00
Spoike 4974c57c2c Big fat-off commit.
A few changes. Half-Life support is finally getting committed.
Some unnecessary filesystem code changes.
And there's code for nsapi - meaning we can embed FTE in a browser (firefox and opera on windows work).
A couple of CSQC changes, trying to move towards a final EXT_CSQC_1.
Revised ruleset format finally implemented.
Doesn't compile with msvc6 due to issues with libjpeg not being a clean library.
Presumably its fine in vs2005.
Your mileage may vary.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-01 22:03:56 +00:00
Spoike 262bc69548 So I can define globals/functions as static.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3147 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-29 23:47:29 +00:00
Lance 2e768fe44c Blub/0's fteqcc macro line fix to quote "seem to be some problems with
newlines in macros (causing wrong line numbers in error/warning 
outputs)"


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-20 01:12:01 +00:00
TimeServ 4f6543abc2 commit back older jpeg.lib
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-08 06:57:08 +00:00
Lance c8315688b0 IJG's r6b JPEG library with x86SIMD support v1.02 (2006-02-04): http://translate.google.com/translate?hl=en&sl=ja&u=http://cetus.sakura.ne.jp/softlab/jpeg-x86simd/jpegsimd.html&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3Dhttp://cetus.sakura.ne.jp/softlab/jpeg-x86simd/jpegsimd.html%26hl%3Den%26safe%3Doff%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26hs%3D3fO
Compiled with VS6. FTE compiles fine in both VS6 and VS2008. Unsure if I compiled it with MMX or SSE, if it is SSE it might crash on CPUs with bugged SSE implementation like the old Athlon XPs

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3144 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-08 01:55:17 +00:00
Lance da6a8bb1e5 A "proper" (VS2008 converts it and compiles from it no problem, I didn't actually test with VS2005) for a different file I commited in r3141
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 12:08:33 +00:00
Lance a0c23db682 A "proper" (hopefully) for the file I commited with r3141
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3142 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 12:02:23 +00:00
Lance 1db5efee0b My evil commit, libjpg & libpng static libraries has been compiled from scratch with VS6 (and work with VS .net 2008 aka VC9). LibPNG upgraded from 1.2.10
to 1.2.35 to cover any possible exploits. I hope I haven't broken anything (had to ignore msvcrt.lib as well as libc.lib to get VS to compile with my libs)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 11:50:19 +00:00