Commit Graph

1676 Commits

Author SHA1 Message Date
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 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
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
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 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
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 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
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
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
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
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
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 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
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
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
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 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 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
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 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 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 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 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 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 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
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
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 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 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
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
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
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
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 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 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 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 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
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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
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 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 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
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 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
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
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
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
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 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 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 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 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 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 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 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 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 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
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 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
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 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 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
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 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 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
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
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
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 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 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 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 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
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 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 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 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 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
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 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 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 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 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 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 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 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
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 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 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
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
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
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