Commit Graph

3630 Commits

Author SHA1 Message Date
Spoike b6d08f44c5 Added $time and $properdate macros to dedicated servers too, for bigfoot's easyrecord stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-16 12:15:05 +00:00
Spoike 161f9e46b1 forgot to add that to the makefile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4014 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-10 10:51:52 +00:00
Spoike 82542ae037 Committing this before I break it any more.
Massive terrain system rewrite.
Added a Native Client port (sound is stereo 44khz only, rendering is gles2, networking is websockets only (sv_port_tcp supports acting as a qw websockets server with non-nacl servers, filesystem is downloads-only - no saves/configs). Blame Zalon. Grr.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-09 19:12:12 +00:00
Lance 9657eb2637 Fix Win64 SDL build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4012 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-27 03:01:13 +00:00
Lance 47b0283d10 Enabled BOTLIB (-DBOTLIB), and added it to virtually every target possible (except NPFTE and MinGL) which don't have a dedicated server. Let's see what we break...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-25 11:30:07 +00:00
Lance bc8ee99e3a Added botlib (BOTLIB_OBJS) but not enabled.
botlib errors when enabled: http://pastebin.com/YfQfeEB3

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-25 11:15:37 +00:00
Spoike 39fa352534 fix typo. reported by DeCypher
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-23 07:23:39 +00:00
Spoike 56b48c2f7c compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4008 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-23 05:22:22 +00:00
Spoike 14507b55f3 doubled -mem size to a 16mb heap.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4007 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-22 22:50:19 +00:00
Spoike 5049001068 compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4006 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-20 03:52:16 +00:00
Spoike 53116a9763 tweaked console completion to be less spammy and to show descriptions for commands where available.
added a few descriptions to a few cvars.
tweaked strzone/strunzone, added memalloc/memfree/memcpy/memset (use pr_dumpplatform to dump out a new defs).
tweaked android to use a smaller audio buffer, hopefully reducing latency slightly. let me know if this results in bugs...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4005 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-19 06:30:41 +00:00
Spoike 8e77971422 fix a temp use error in self.enemy.velocity += vecfunc();
divVerent has full credit for this.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4004 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-18 20:07:03 +00:00
Spoike 6bd53e82a3 android fix, enables ipv6. should stop the crashes, though that's a separate issue really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4003 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-29 20:54:22 +00:00
Spoike 95569fc5dd Trying to fix stuff from last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-27 13:55:23 +00:00
Spoike 4149c85ab6 tweeks and changes for android.
audio mixer revamped to cope with threads. 'cache' memory functions no longer used for audio.
added windows acm code to decode mp3 files.
audio playback rates scale with game speed. snd_playbackrate added to control the rate of new samples.
sv_gamespeed no longer needs a map change.
fixed '=' on german keymaps and in_builtinkeymap 0 (and similar issues). bug: keybind names still use US keymap.
added support for rmqe's 24bit network precision.
fixed byterate reporting to no longer be protocol-dependant (nq rates are no longer wildly inaccurate).
removed waterjumping when already dead.
fixed model matrix for viewmodels (modelview unchanged), thus fixing rtlighting on viewmodels.
Added bspx support for rgblighting, lightingdir, and (preliminary)brushlists.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4001 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-27 12:23:15 +00:00
Spoike 5f12e8c9dd bug fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3999 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-17 01:35:22 +00:00
Spoike 854157a4e7 Added .vector gravitydir;
Added csqc getentity builtin (untested, broken for players).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3998 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-17 01:12:37 +00:00
Spoike 47ccd3bd0d fix movetypes, fix q2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3994 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 13:53:30 +00:00
Spoike 0736882c60 trying to fix q2 connectivity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3993 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 13:35:37 +00:00
Spoike 09c275794c fix a connectivity issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3992 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 08:31:55 +00:00
Spoike ee72d0ca0d I'm tweeking pmove.c for the luls.
fixed 8859-1 for non-english hexen2
tweeking my deltaing.
cl_demospeed bugs fixed.
fixed things being seen through skys.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-14 15:50:34 +00:00
Spoike 24e5adeb2b qcc: added somevec[0] to read somevec_x
qcc: fixed struct->ptrfield = ptrvalue
qcc: fixed spam with unused struct members
qcc: fixed str[0][0] and similar situations.
bgqc: fixed sprintf builtin's vector prints.
csqc: added flags field to beginpolygon. value&4 will draw the poly immediately (orthographic projection).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3988 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-13 09:24:01 +00:00
Spoike 9acd5a61a6 trying to fix q2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3986 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-13 04:11:11 +00:00
Spoike 37ce84814d random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3984 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 08:32:39 +00:00
Spoike 342ab8af35 random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3983 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 07:57:53 +00:00
Spoike f43b8d535c random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3982 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 05:54:44 +00:00
Spoike 7d9fcc4150 random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3981 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 05:51:51 +00:00
Spoike 7ca0ccd48c random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3980 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 05:33:16 +00:00
Spoike 9ee7301d32 my attempt at android multitouch (csqc can also distinguish separate mice in windows too).
playing around with fragmentation and mtus. added net_mtu to negotiate some mtu size for smaller (or larger) network messages. setting a custom mtu allows for message fragmentation too.
trying to add a reworked deltaing protocol, including all sorts of fun stuff like bbox sizes, and higher ent limits.
added support for content override entities. set the skin field to some (negative) contents value, and you get movable water with prediction and waterwarp and everything, though you likely want a custom qbsp or a shader to get backface culling.
removed some madness with model skins, fixing some weird q3 bugs.
fixed forced-pause-on-start for q2
fixed q3 server to actually accept client packets again.
fixed strftime builtin

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 05:18:31 +00:00
Spoike 37f494a7c0 Fixes a potential illegible server message.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3976 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-06 02:06:23 +00:00
Spoike 20403759b0 Stricter typedefs/typenames, so no more random types appearing which were not intended.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3974 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-05 01:38:51 +00:00
Spoike c3e1d104d5 allow installing on the sdcard instead of phone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3972 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-02 04:20:22 +00:00
Spoike 121c693a13 use SDK level 8's tools and java classes, in order to support additional features (app-on-sd and multitouch). Should still run on droid 1.6+.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-02 04:19:24 +00:00
Spoike 114cc22cbc Fix screen rotations making the screen black.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3970 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-29 12:53:12 +00:00
Spoike c1f65683bb I'm an idiot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:49:12 +00:00
Spoike 44530bac44 And I suck too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3968 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:40:09 +00:00
Spoike 6cb98092de gmake sucks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3967 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:33:48 +00:00
Spoike 4496bb6ea0 Removed limit on strcat builtin's length.
Fixed issues with DP7 protocol.
Fixed .fatness.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3965 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:30:44 +00:00
Spoike aa72d14cec don't use TRUE or FALSE. apparently fte's headers don't define them, so depending on them is folly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3964 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-25 04:41:12 +00:00
Spoike 420438ea79 Fix the cause of all of OneManClan's issues. A 64bit portability issue that won't always trigger on every 64bit machine. Thanks to OMC for helping me find that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-25 04:40:10 +00:00
Spoike c1db4356f7 try to fix a clientonly-with-csqc build issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3962 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-25 04:11:27 +00:00
Spoike 567e9f112b added DP_QC_ENTITYSTRING builtins.
mvd playback fixes/cleanups
r_fb_models more closely matches ezquake.
readded str[i] support.
fixed char constants (outside of strings).
string table compression no longer affects distinction between "" and string_null.
multiplayer savedgame fixes.
don't bugilly change hexen2's playerclass on loadgame, and preserve the STR_foo globals which are not marked for saving.
fix small bug on player renames. added a temp debug print to try to catch the issue onemanclan is having.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3961 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-24 04:24:14 +00:00
Spoike 770948a320 d3d compiles again (yes, your poking does work Moodles).
Fixed particle beam/torch weirdness (rjlan poked me for this one!).
tiny optimisation in the gl renderer.
offsetmapping info is loaded even with bumpmapping disabled.
Fixed some hexen2 annoyances.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-21 07:53:49 +00:00
Spoike 1cb10f78d6 fix mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-18 04:15:16 +00:00
Spoike fceb77d3cb probably I should add some makefile rule instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3958 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-18 02:44:50 +00:00
Spoike fb214142a3 tcpconnect fixes
lots of hexen2 fixes
fixed clipped decals again, still not using any...
fixed zips over 2g
rewrote bloom to use glsl. should be slightly more usable now.
lots more hexen2 fixes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3957 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-17 07:57:46 +00:00
Spoike 5651e77c30 Android fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3956 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-16 06:22:06 +00:00
Lance 0b7e5ce3e6 Proper fix to my previous failed fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3955 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-04 16:51:50 +00:00
Lance 5c52aa9975 Hopefully a solution for Win64 + SDL... or hack
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3954 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-04 16:08:33 +00:00
Spoike 2b7b9720f3 this is one way to fix that error anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3953 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-03 23:44:01 +00:00
Spoike 5ac53bf18c Added android signing rules.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3952 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-02 15:32:08 +00:00
Spoike 0453b1bbae Missed a file for android.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3951 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-02 14:59:00 +00:00
Spoike ac526f0e1b patch to use extern properly. divVerent neededed it, so we might as well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3950 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 17:34:32 +00:00
Spoike 1f4c6c0da3 fun text to speech hack.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3949 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 15:34:02 +00:00
Spoike d017f98870 thought I'd changed that. also, cygwin sucks, I just want to say that despite it having nothing to do with this actual commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 13:11:35 +00:00
Spoike 1e621416ce added support for ambient/diffuse/specular scale properties on rtlights.
attempting to fix up the avi code for mingw weirdness.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3947 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 11:22:24 +00:00
Spoike 3b3d08542a avi audio decoding.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 07:02:45 +00:00
Spoike 016c840497 fixed rcon_address not having a default port
sv_port now accepts a space-delimited list of addresses/ports to listen upon.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3945 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 06:25:51 +00:00
Spoike d877bd4e39 preliminary attempt to get rtlights in d3d builds. shadows are only cast by world, and the hlsl code is somewhat lacking. also only works in d3d-only builds.
no longer using the vfw header or lib, so avi playback/recording should work when compiled with gcc.
added d_mipcap cvar.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3944 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 02:26:42 +00:00
Spoike f32a88f684 saneified dynamic light colour values.
added preliminary support for some rtlight cubemaps.
no longer using tmpfile in win32 - its too unreliable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-27 08:35:19 +00:00
Spoike 54358b62b2 bugfix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3941 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-26 16:26:15 +00:00
Spoike 9e4edb8a9a Small fixes and tweeks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-26 15:19:13 +00:00
Spoike 29cfd270b9 tiny fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3939 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-24 06:16:01 +00:00
Spoike de29dce680 skel_set_bone_world implementation.
fix attempt to fix npfte issues.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3938 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-24 04:05:28 +00:00
Spoike 6bb579f24b improve compat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3937 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 17:33:28 +00:00
Spoike 4d75061dbc iqm fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3936 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 16:11:21 +00:00
Spoike 1cd1453a42 fixes iqm again, 'fixes' the white textures on xavior's map.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 15:32:26 +00:00
Spoike 354879befc fixed up player lerping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3934 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 14:36:25 +00:00
Spoike 1693ba6c58 revamped fog to use glsl. shouldn't harm framerate quite so much.
tweeked d3d renderer. certain shader constructs might be broken now so don't try q3 with it, but framerates are up when playing quake.
tweeked gl rendering too, timedemo results seem a little higher also.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3933 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 03:12:29 +00:00
Lance dd006b6edd removed some redundant code required for mingw64
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3932 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 02:53:12 +00:00
Spoike 2d23892be0 Misc fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3930 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-06 00:39:39 +00:00
Spoike 345d9a6e50 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3929 fc73d0e0-1445-4013-8a0c-d673dee63da5 2011-12-06 00:37:14 +00:00
Spoike 34f05c9aeb I shoulda modified the makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-06 00:35:24 +00:00
Spoike 9df0a4c2d4 workaround for mesa.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3927 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-06 00:34:31 +00:00
Spoike d6d0105d3c A couple of changes.
Added a higher quality particle config.
Quick hack for crepuscular rays.
added new command, eg: pr_dumpplatform -FFTE -O csplat
used package reporting on servers, auto package downloading on clients, should be fully implemented.
Smoothed out players a little. Added option to menus.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3926 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-05 15:23:40 +00:00
Spoike a3257e524f divVerent was not happy!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-27 16:17:02 +00:00
Spoike 3adc129b83 compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-09 11:15:19 +00:00
Spoike 790052a28e tighter bsp model culling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3923 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-09 04:14:38 +00:00
Spoike 119c9c412c Basic collisions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3922 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-09 04:12:57 +00:00
Spoike 6398930473 Fixes bugs found by xonotic team ('0 0 0' being overlapped with globals, initialisers not being marked as referenced, fixed macro argument expansion to not crash when given long values).
Enables compilation of 'float foo=5;float foo=5;' (similarly functions, fields are never initialised anyway, the dupe is ignored so long as the initialisation is the same).
Fixed an offset bug with arrays stored within typedefed structs.
Fixed int += int to not require an explicit addstore operand.
Added support for ! operator in #if statements, as well as fixing a couple of other issues there, should be much more usable.
Added 'optional' keyword when defining function arguments. All trailing arguments must have it too. This allows stricter type checking with functions that take optional arguments.
Removed warnings with __variant types.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-08 06:00:35 +00:00
Lance b8cb5421de Accidently set unpack to false on last commit, this one it's set to true
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3920 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-06 14:50:32 +00:00
Lance 7f9568f0cf Firefox NPFTE fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3919 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-06 12:18:13 +00:00
Lance c8e7e0641a 32bit version of mingw64 doesn't seem to have this header
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3918 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-30 11:29:09 +00:00
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