Commit Graph

906 Commits

Author SHA1 Message Date
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 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 65138b6212 win32 and win64 now have a working d3d- target, win32_SDL has support in place to compile merged client (d3d+gl), also the d3d only client.. but both have undefined references to things in_win has and in_sdl doesn't etc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3724 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 08:35:19 +00:00
Lance 6942e100d3 Version prints if d3d renderer is available, the video menu now sets "d3d" instead of invalid "d3d9" when selecting the D3D renderer, fixes to the Makefile so win32's m-rel will compile with gl+d3d, win32_SDL+win64+win64_SDL need alittle work still to compile, win32 d3d-rel/dbg still needs alittle work to compile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-28 05:39:40 +00:00
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 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 714e1f7456 VC6 project files uptodate, mingl, gl, ded server & sdl targets working (both debug and release), various fixes and hacks to provide VC6 support again. VC6 static libs provided (/libs/vc6-libs), including SDL for the debug SDL target (all old versions though as the updated versions of the libraries have stopped providing VC6 project files to compile them with).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-23 08:53:23 +00:00
Spoike 5ba7b6b41c Fix for zlib-less builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3710 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-23 06:09:25 +00:00
Spoike 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
TimeServ cc4f8982da msvc2010 fix
rename win_mysql -> sv_sql
make mysql calls os independent


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3702 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-18 21:30:16 +00:00
Spoike 4505f7321b various small bugfixes, mvd+voip should work again, qcjit changes, towards usability.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3700 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-18 17:02:47 +00:00
Lance 207393bb3b 'version' alittle more verbose
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3695 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-12 14:17:22 +00:00
Lance 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 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 783698e9d2 If there's no port set, let the receiver use a default port without parsing a 0.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3676 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-28 19:15:37 +00:00
Spoike 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 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 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
Lance 358bd12b00 SDL version printout with "version" command
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-14 10:16:40 +00:00
Spoike 9eaa65ccda d3d now does fullbrights properly and skyboxes.
ogl still has broken skyboxes...


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3653 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-13 17:22:46 +00:00
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
Lance 70698e17b7 My mistake, jversion.h isn't a header that is distributed in linux library development packages
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3646 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 09:14:30 +00:00
Lance 3f95205577 Fix for MSVC 2008 & 2010 (structs the 7.x SDK already defines), "version" now displays loaded static libraries version info
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3645 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 09:06:36 +00:00
Spoike 89dae21703 libs for win64. corrected libjpeg fastcall issues by hacking the header to make sure its all properly cdecl.
Added support for DYNAMIC_LIBBLAH, for people that don't want to statically link for whatever reason.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-11 04:03:16 +00:00
Lance bcdcda8b9f Updated the version command to include MSVC 10 (_MSC_VER == 1600)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3640 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-10 05:35:14 +00:00
Spoike f575777728 d3d renderer works a little better in q3.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3639 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-10 03:32:47 +00:00
Spoike 11cf5d29d4 That fix anything?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3637 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-10 02:02:56 +00:00
Spoike 3ce350d614 Fix hidden eyes issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3629 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-11-07 03:54:43 +00:00
Spoike 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 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 1b34642cb2 Fixed hexen2 dedicated server models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3610 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-10-23 17:52:28 +00:00
Spoike 184954dd6f fixing dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3607 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-09-18 10:53:30 +00:00
Spoike c1bf210da1 PSK (with implicit PSA) support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3606 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-09-15 09:06:31 +00:00
Spoike dfd02ad9e3 Fix hexen2 cd tracks.
Fix zalon's crash.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3605 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-09-05 10:42:23 +00:00
Spoike 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
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
Spoike 6455e98327 This should fix the pentacles. Though it might break non-mission-pack monsters/maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3595 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-18 21:59:06 +00:00
Spoike 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 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 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 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 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 6a50f2242f apparently MINIMAL makes use of that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 09:29:40 +00:00
Spoike 1196daca4d Should fix dedicated server compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3573 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 09:23:55 +00:00
Spoike ce07219448 Fixes, workarounds, and breakages. Hexen2 should work much better (-hexen2 says no mission pack, -portals says h2mp). Started working on splitting bigcoords per client, far too much work still to go on that. Removed gl_ztrick entirely. Enabled csprogs download by default. Added client support for fitzquake's 666 protocol, needs testing, some cleanup for dp protocols too, no server support, couldn't selectively enable it anyway. Now attempting to cache shadow meshes for explosions and stuff. Played with lightmaps a little, should potentially run a little faster on certain (intel?) cards. Tweeked npfte a little to try to avoid deadlocks and crashes. Fixed sky worldspawn parsing. Added h2mp's model format. Fixed baseline issue in q2 client, made servers generate q2 baselines. MOVETYPE_PUSH will not rotate extra if rotation is forced. Made status command show allowed client types. Changed lighting on weapons - should now be shaded.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3572 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-08-11 03:36:31 +00:00
Spoike 6b48d670ac fopen mode 4 = whole file (fgets doesn't stop on new lines)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3561 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 15:48:58 +00:00
Spoike 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 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
Mark Olsen bde4965f59 Use memmove() instead of memcpy() for copying of data between overlapping memory areas.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3534 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-17 02:01:58 +00:00
Mark Olsen 4c9a4f06e1 Added a prototype for COM_LoadMallocFile(). Fixes crash on startup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3532 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-17 01:47:51 +00:00
Spoike e6f90bea14 Tweeks to the d3d renderer. Supports various shader features now. Other changes/fixes/breakages also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-01 22:47:47 +00:00
Spoike 3b460e37b7 Reworked polyblends to use the backend. They no longer get stuck quite so much either. Added cl_download_mapsrc cvar (and plugin field) to specify an http location to download maps from (useful for demos, etc). A few other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-25 22:56:11 +00:00
Spoike b4d12ef96e Make sure SOCKET exists on non-windows. Apparently its 64bit in win64, so we'll need to use a special type throughout (read: not int).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3520 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-19 03:45:11 +00:00
Spoike 8765f5cd62 Minor fixes for spam with all-water entities, joints, and compiler warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-19 03:22:19 +00:00
Spoike 12b52d6e11 Fix for gcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3518 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-16 19:44:17 +00:00
Spoike 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 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
Spoike 91d856d72e added a physics_ode_enable cvar. If set to 0 at qc start, physics will be disabled for that map.
If you don't have an ode library or whatever, it'll be forced to 0 or non-existent, as a way to test to see if its supported+usable:
if (cvar("physics_ode_enable")) physicswork();

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-10 23:42:57 +00:00
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
Spoike 9eabcdcd56 Lots of misc changes in an attempt to reduce ODE jitter, and make it work a little better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3456 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:20:17 +00:00
Spoike c79dfc7d4f Small tweek that means ktx is more likely to load properly, and without renaming anything weirdly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3454 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:13:48 +00:00
Spoike 1d136eab27 yup, I'm an honourary vacuum cleaner.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3447 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 18:00:19 +00:00
Spoike 815c33a8cc Missed a file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3446 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 17:48:11 +00:00
Spoike 25b5732ec7 Gnnrgh
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3441 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 01:37:00 +00:00
Spoike 9b091baae9 less debugging junk on screen.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 00:42:04 +00:00
Spoike 9f05a93a07 Minor improvements to make it more robust.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 00:16:34 +00:00
Spoike 67e90812c2 ODE support works slightly better now. remember to force fixed-rate tics by setting sv_[min|max]tic to the same value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3436 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-12 08:53:10 +00:00
Spoike b9baebe711 FTE/DP differences.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3428 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-08 23:26:03 +00:00
Spoike 0e9a9dd00f couple of fixes there.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3427 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-08 23:00:11 +00:00
Spoike e6d1ae1a8f more cleanups: csqc now shares collision code with ssqc. Still lacks physics.
gl_rsurf.c has been split into gl specific and generic code - the d3d renderer can now draw the world.
ifdef removed the old server-side mvd playback which had been disabled all this time anyway.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 13:29:15 +00:00
Spoike 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 a5d741c592 Ripped LordHavoc's ODE physics support. It'll probably crash and burn. 99.995% untested.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3406 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 01:22:27 +00:00
Spoike 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 546734610c Attempting to fix what I broke.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 08:13:07 +00:00
Spoike 8f11f5f73b Acting as a Q3 server is now more robust.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3389 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:35:33 +00:00
Spoike fb190d430c Improved the clipped decal algorithm. Less fragments now. Also added support for q3bsp clipped decals.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3388 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:33:54 +00:00
Spoike 300cfd85a8 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3387 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:32:28 +00:00
Spoike cf86183cca Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3386 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:31:48 +00:00
Spoike b51fac65f5 %d is int... not double. %f is double. :s
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3385 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:30:39 +00:00
Spoike 25114afb04 added an ival field to cvars. like value but an int. because its faster to test.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3384 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:29:17 +00:00
Spoike 9f20876069 Fix q2bsp support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3344 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-08 12:49:51 +00:00
Lance c88cdc4716 Added the SVN revision number to the 'version' command, but only for
compilers which use "Makefile" (which rules out MSVC)


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

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-25 11:05:06 +00:00
Spoike 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
Lance 2e10193d27 Enabled zlib, png & jpeg support in MacOSX.
If GCC complains about missing headers for libjpeg and libpng: 
1. Install Darwin Ports from darwinports.com. 
2. export PATH=$PATH:/opt/local/bin
3. sudo port -d selfupdate
4. sudo port install libpng
5. sudo port install jpeg


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 10:11:32 +00:00
Spoike a976ac2428 Made the version command print which external libraries were disabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-19 03:51:07 +00:00
Spoike 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 016629a6c9 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:22:32 +00:00
Spoike 1402935058 native plugin support for 64bit platforms. Supposedly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:21:02 +00:00
Spoike b9d0d937c6 Added a VectorEquals macro. Because I can.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 20:10:44 +00:00
Spoike ccf1338d41 Check bounds before, not after.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-18 09:35:38 +00:00
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 0c5ee4d373 yeah, I know, I officially suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3280 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-15 07:38:36 +00:00
Spoike 57c9515b39 Updated QVM apiFixed up some of the slowness in the sky/water warping code.
Enabled freetype in gl builds. It'll try to link dynamically. Headers are included for windows users. unix users will need the freetype2-dev package for their system, sorry. you could probably get away with editing the makefile to include the headers if that's a problem.
Fixed occasional missing skies.
Updated q1qvm api stuff version (to 13).
Cleaned up the ban code. There are no longer two separate mechanisms to ban people.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 23:42:54 +00:00
Spoike 887f204330 This allows servers to stuffcmd aliases that match commands which would have forwarded anyway. Thus fixing 'pause' in ktx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3276 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:14:25 +00:00
Spoike 9ad2588aed Might as well optimise it while its still present.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3275 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:13:12 +00:00
Spoike 91da30299d Whoops, this fixes up the path.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:11:31 +00:00
Spoike 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 bde52736c2 A minor optimisation for lazy compilers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-11 18:25:41 +00:00
Spoike 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 cfadc8e717 Now works properly with larger multi-surface md5 models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-07 06:35:15 +00:00
Spoike 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 7ddd50b854 frames keyword is now supported in externalanim files.
it inserts an entire anim into a sequential series of frames.
there's no control over starting/ending frame numbers. so you need to change frame indexes if any frames are added/removed in any md5anim files that are expanded in this way.
void(float modidx, string framename) frameforname = #276 should be usable for this, but its not tested yet - expanded frame names are eg: path/blah.md5anim0

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

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

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-05 18:45:53 +00:00
Spoike 5206c1a0c8 Fixed a couple of bugs regarding normals. Welded verts together that share coords, compensated for angle of triangle, skeletal fat bastards (erm), added clampgroups to possibly freeze an animation at its end.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3233 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-04 16:53:01 +00:00
Spoike 2f848fa7b0 Should now calculate and animate vertex normals on skeletal models, and apply that for the q1-style lighting.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3231 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-30 22:05:18 +00:00
Spoike 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 8260a0d206 Doesn't look like indexes are actually needed first here (this should fix the issues with the md5s that electro has).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-17 21:57:45 +00:00
Spoike bd51fb8e9d Fixed unproject to work as originally intended. Rather than just being a steaming pile of poo (it was the matrix inversion routine that was broken).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3219 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-11 21:09:39 +00:00
Spoike c66ff953b5 Fixes up tcpconnect a bit (based on bigfoot's patch). Should now work a little better than it ever did.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-10 22:36:53 +00:00
Lance 691f57ee80 Changed path to a SDL header, only affects mingw32 + SDL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-07 13:25:02 +00:00
Lance a028aca503 r3120 take 2. Applied a parentwindow fix to the Windows SDL binary, now exits gracefully instead of a crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-03 09:13:55 +00:00
Lance 183461a428 Crossbuilt MinGW32 SDL binaries working again, applied a parentwindow
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-03 09:09:35 +00:00
Spoike f3970ede24 Hopefully fixes the recent +gamedir failures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-30 23:54:41 +00:00
Spoike 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
Lance cdb9eed996 Fix GCC complaining about Mod_GetBoneRelations having conflicting types with the software-only client.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-07 12:18:35 +00:00
Lance 812ae15aaf "version" command I tried to make it be more helpful by identifying the compiler that was used to build it, and also identifying any optimizations (or lack of) that were used during the compile process.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3184 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 05:01:55 +00:00
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
Lance 4b85112ce1 Added ctype header to fix MSVC2008 complaining about "tolower" being unresolved.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3175 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 23:17:09 +00:00
TimeServ 2f6fb049e4 revert splitclient, fte->fteh2 for hexen 2, fix sw console background drawing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 22:55:00 +00:00
Spoike d96f8e3d77 No more upside down spiders in hexen2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 22:03:59 +00:00
Spoike c3300cb0f7 Fix non-win32 builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-13 12:54:18 +00:00
Spoike b8bd024a1d Tweeked the filesystem some more, now prompts if a game directory could not be found.
Fixed up clipped decals slightly. They should now be usable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3169 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-12 16:57:30 +00:00
Lance e71b59bf92 Crosscompile all Win32 SDL binaries from Linux with FTE_TARGET=win32_SDL, binaries have been tested alittle and still have bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-08 08:12:29 +00:00
Spoike e403cebc65 Should be more robust with first-run config execs now.
Multiple download sources can be specified (eg for mod+map). Takes the form "providedfile:urltodownload providedfile:urltodownload". This comes via the browser so relative urls = woot. The old single-url-only path is no longer supported. This is an incompatible change, but we're still young. The unpacking process is still the same, and still only paks/pk3s are extracted. Note that the providedfile is relative to the base dir rather than the game dir. You can specify potential alternate gamedirs.
The QTV file is not mandatory, you can use map="blah" join="blah" stream="0@blah", so long as you set the mime type as: type="application/x-fteplugin". src="someqtvfile" still works, of course (and doesn't mandate the type= field, although that should probably be specified to make life easier on configuring servers to use the correct mime types).
The splash image can be set with: splash="myurlhere". Note that only jpg and png files are supported. This comes via the browser so relative urls = woot.
Game property can take multiple game dirs now, too. First argument is the basic game. If its one of the special ones then FTE is meant to hunt down your prior install for that. If its not recognised then its added as the only game directory. Additional ones are added after (eg: "id1 fortress" adds just id1+fortress while "q1 fortress" adds id1+qw+fte+fortress). Use appropriately.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3160 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-07 01:26:47 +00:00
Spoike 2adb420a6d Reworked the console/loading screen a little. The console is no longer directly shown at startup. MSVC2005 project files update for npqtv.
Added vid_wndalpha to make the window transparent (only supported in GL-win32).
Multiple issues with SW rendering, which I'll fix eventually. It does at least run, even if it looks ugly.
Plugins are now able to read the console input. Bigfoot, feel free to tweek.
Fixed up a few mismatched prototypes.

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

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-01 22:03:56 +00:00
Spoike 76f6ad0345 CSQC_DAT and MENU_DAT can now be enabled in CLIENTONLY/MINIMAL builds (so long as both are enabled).
Tweeked a statement that was causing crashes with msvc2008.
Dedicated servers should build again.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3139 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 05:05:54 +00:00
Spoike 75fb5f5398 The different aspects of directx are now activated independently from each other, allowing greater custom build control.
Tweeked win64 options so as not to conflict with 32bit builds.
Win64 builds now with NO_LIBRARIES added. Yes, you need to provide 64bit libraries yourself if you want to use them (dinput/dsound should be part of the directx sdk and are, strictly speaking, not re-distributable). See bothdefs.h for how to activate individual 64bit libs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3138 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 04:37:24 +00:00
Spoike 37fbf203c5 This should fix Moodles's release-only crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3136 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 03:48:02 +00:00
Spoike 7156e20dfe Mneh, it matches.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-04 00:29:22 +00:00
Spoike c50ea9c54a Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3133 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-03 01:53:19 +00:00
Spoike b763b5594d My monthly commit. I wonder what I broke.
Contains some stuff to get twig working a little better.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3132 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-03 01:52:30 +00:00
Spoike ed0cb0749b Added a developer print any time any hostname (or ip) is resolved.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3131 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-22 13:51:52 +00:00
Spoike 99c153199e version console command is now common, instead of client only.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-22 13:50:17 +00:00
Spoike 29e4982454 Fix for bigfoot with his weird trailing slash in his $HOME.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3115 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-03 00:12:50 +00:00
Spoike a7ee0f883d Fixes rotations in twig.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3112 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 06:32:49 +00:00
TimeServ 1206f6ae07 removed const block/default string logic because it doesn't realloc safely and doesn't really save much, substituting code should catch the common cases anyway
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3105 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-29 02:55:08 +00:00
Mark Olsen e3017a8fe4 Some random #ifdef SKELETALMODELS scattered around the code. Enough to make it build, but not enough to exclude unused code from being built.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3101 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-16 01:24:57 +00:00
Spoike 4b1032c337 Script particles and d3d renderer will now build again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3099 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-15 04:58:12 +00:00
Spoike 7f90f66bfc Strip all extensions before trying to add new ones to image file names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3097 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-14 16:08:57 +00:00
Spoike 6e3f69f504 d3d rendering is diabled (framestate, read later - merged will compile just sw+gl for now).
fte particle scripts are disabled (classic works).
I'll fix these in the new year.
Redid framestate stuff again. Slightly better now, but this is the bulk of the changes here.
Reworked the renderqueue to provide batches of items instead of individual items. This cleans up the particle rendering code significantly, and is a step towards multiple concurrent particle systems. fte's scripted particles are broken as I'm trying to find a way to rework them to batch types together, rather than having to restart each batch after each particle when you have two particles in a trail. I'll fix it some time.
Reworked some alias model code regarding skeletal models. Added some conceptual skeletal bone control builtins available to csqc. Currently it can query the bone names and save off animation states, but can't animate - its just not complete.
Added more info to glsl custom shaders.
Updated surface sorting on halflife maps to properly cope with alphaed entities, rather than just texture-based blends (q2-style).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3095 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-23 02:55:20 +00:00
Spoike 8fb77f7301 kicking a botclient was causing a crash due to logging their invalid ip. don't log bots.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3091 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-06 02:08:57 +00:00
Mark Olsen d43c9d8482 More no-IPv6-fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3085 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 07:36:38 +00:00
Spoike a9a4e664f6 Whoops. Don't crash on quit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3082 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 01:57:02 +00:00
Spoike a4f5def446 more ipv6 specifics.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3081 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 01:25:03 +00:00
Spoike 90770c1347 Added advertising FTE_CSQC_BASEFRAME to checkextension. This extension provides basebone/baseframe/baseframe2/baselerpfrac/baseframe1time/baseframe2time fields, and is available only to csqc and not ssqc, for the foreseeable future.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3080 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 23:13:26 +00:00
Spoike 1456ed1ac7 Actually close sockets. It helps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3076 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 21:54:10 +00:00
Mark Olsen b14d99fd6a Attempt to unbreak systems without IPv6.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3074 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-01 02:10:35 +00:00
Spoike 6fb100e8b5 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-28 20:34:51 +00:00
Mark Olsen 178b178f36 s/strupr/strtoupper/g s/strlwr/strtolower/g
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3069 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-18 03:10:48 +00:00
Mark Olsen 6c17a4a7f0 Implemented two Microsoft-functions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3067 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 20:36:46 +00:00
Mark Olsen b7a5f90f8a Subtracting pointers of different types isn't valid C. Boo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:49:26 +00:00
Spoike 1a8690e104 IPX only if ipx is supported by the system.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3060 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-13 08:55:41 +00:00
Mark Olsen a6e7171f30 A bit closer to actually compiling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-13 05:39:50 +00:00
Spoike dce284811e Minor update...
Q3 clients can connect to q1 gamecode (sv_listen_q3).
hacked support for SendFlags. It'll work compatibly, just not efficiently.
Unified shared qc builtins.
fteqcc supports int |= float, more params in macros, &~= operator.
Additional recent DP QC extensions.
Particle system abstraction. 'r_particlesystem classic' (vs null or script) will revert to truly classic particles.
Nexuiz might run again.
Network address revamp (sv_port and sv_port_ipv6 can both be used to specify an ipv4 address:port and both corrently accept clients). localhost now properly favours ipv4 (use ::1 for ipv6 localhost).
Download system revamp.
Numerous other changes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 22:29:28 +00:00
Spoike 600f27876c Fixed Z_FreeTags. Yes. Really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-08 19:18:12 +00:00
Mark Olsen b7fd77c403 Blind, untested fix of Z_FreeTags().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-18 18:25:39 +00:00
Mark Olsen 2540c0bf74 Fixed Z_TagMalloc() to correctly link the double-linked list. Fixed Z_TagFree() to correctly unlink entries from the tree. Fixes various crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3033 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-12 00:17:32 +00:00
TimeServ 828b3e99ab fix a few casting issues allowing maps such as warpa, etc. to load (probably not done here)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-08-06 12:11:27 +00:00
TimeServ e33bd0bff1 dynamically load CheckTokenMembership
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3012 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-13 07:24:11 +00:00
TimeServ 51989fe5f6 added better home dir detect with windows, use home dir by default on unix and Vista+, with 2000/XP/2003 use home dir by default when on a network or not an administrator
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-13 05:03:54 +00:00
Molgrum 62657c2494 Reset the buffers before strlen is used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3004 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 20:41:22 +00:00
Molgrum 6602ffed84 Attempt to make use of 'len' in NET_AdrToString.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3003 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 20:20:11 +00:00
Molgrum 33140dbf24 Ruleset expanded with ruleset_allow_localvolume. Set to 0 in 'nqr' and 'strict'. Made NET_AdrToString return a non-static pointer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 14:37:57 +00:00
Spoike 519983dee2 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2992 fc73d0e0-1445-4013-8a0c-d673dee63da5 2008-06-01 22:06:22 +00:00
TimeServ a631205fe7 added conditional variables for win/linux/sdl, switched sql thread worker to conditional to avoid busy looping, corrected a spikeism
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2991 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 05:42:23 +00:00
Molgrum 250d6ffeb8 Enable logging of realip.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-26 20:22:47 +00:00
Spoike 654eabc4c2 Reworked stats for csqc to match LH's suggestion. CSQC can read the 'delta' entities (experimental). Fixed up sv_getrealip, made banning work based on realip too. Added a ban command to easily ban a single client. Renamed some svcs for clarification. Added pvsflags to ssqc for greater control over how ents are sent to csqc. Broke some stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2977 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 22:23:43 +00:00
Spoike 1678c4feb6 Adds support for ipv6 on windows platforms that support it, even if the compiler (msvc6) does not.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2966 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:11:20 +00:00
Spoike 3c31702ffe Not sure why I did this, but it looks pretty at least.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2965 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:08:54 +00:00
Spoike f6d3e4ed94 Fixed up ipv6 support a little. Addresses are more readable. Allows clients to connect. :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2964 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:07:53 +00:00
Spoike 073a9b9056 fs_cache works properly again now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:06:37 +00:00
TimeServ 73f580157f fix malloc call, fix memset typo in qclib
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2958 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 17:27:57 +00:00
Molgrum 35e951976f Fix for TimeServ's recent codebreak, I have no idea if he meant this but it works for me.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2957 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 14:55:25 +00:00
Molgrum 533b470bc0 This has been tested enough by now to get uncommented.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2956 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 14:46:58 +00:00
TimeServ 0739c739a6 BZ_* no longer clears, qclib no longer assumes memalloc clears
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2952 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-11 12:55:53 +00:00
TimeServ ce5cb75832 this commit will most likely break things: main Z_*/BZ_* calls no longer have zone logic, tagged allocs redone and now partially thread safe (still Sys_Error), code using reallocs should no longer assume new memory is zeroed, minor mysql fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2951 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-09 14:22:37 +00:00
TimeServ 7f73771ba2 mysql includes and libmysql.dll loader code for win32
added preliminary FTE_SQL code (not in a usable state), current problems: 
WINDOWS ONLY, database connect is hardcoded to a local server, conditional wait needed for worker thread (currently consumes 100% cpu), query requests and results should be a queue not a stack, sql init and deinit is in the wrong place, project and defines need updating, tons more things

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2941 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-14 07:47:30 +00:00
TimeServ 1673ca7a7a PROTOCOL_VERSION to PROTOCOL_VERSION_QW to resolve a future header conflict
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-12 23:24:19 +00:00
Spoike 3fa986dd55 Requote strings that must have been quoted originally.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2938 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-14 11:52:09 +00:00
Lance fe4d6a80da Fix for ZIP code in engine, incorrectly reporting Zip Error for .PK3's
which were fine.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-13 14:09:02 +00:00
Spoike 406a7645a5 Okay, that ruleset cvar actually works now, correctly locking out modified textures on backpack.mdl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2911 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-08 23:26:25 +00:00
Molgrum 1e64dfd76d Patch from Spike. Two new ruleset cvars, one that prevents custom eyes models, one that prevents custom skins on packs/eyes (this doesn't work yet, needs fix).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-01 15:21:14 +00:00
Molgrum c05ae3fd5f work around for ktx not supporting fte's alias arguments, added limited compatibility with darkplaces' alias arguments too (where possible without breaking prior features). /Spike
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-29 23:18:06 +00:00
Mark Olsen 83d23423ab characture -> character
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-28 13:27:30 +00:00
Molgrum 3d44f91d3a Include plugin-support in mingl as well, editing the HUD is too useful to be discarded right? :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2878 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-24 02:06:15 +00:00
Spoike 54590f015f Is molgrum never happy? Smile! I dare ya!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2865 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-19 14:10:18 +00:00
Spoike cc14795cba Model clamping finally implemented. Please test :)
Moved the call to PreNewMap to a bit earlier.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-19 05:59:00 +00:00
Molgrum 6b32d0558c Fixed point-algorithm by Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-12 03:33:59 +00:00
Spoike e00f927c48 Report EOF only on eof, rather than if the user requested to fill a buffer that was already empty.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:33:06 +00:00
Spoike bda148a084 Fixing up my paranoia. Only fill in some of these fields if the entry is actually going to be fully used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2848 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:31:18 +00:00
Spoike 216ca421af Added a 'newalias' command. Exactly like alias but does nothing if it already exists.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2840 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-05 09:58:55 +00:00
Molgrum 69ca88da5c Basic ezQuake color code stripping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 19:00:48 +00:00
Mark Olsen fa9ffe86b4 thier -> their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-23 20:28:40 +00:00
Spoike 7c312dc581 Small code clean up.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2816 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 18:51:34 +00:00
Spoike 81b91a422d Fixed a couple of qtvplay bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2811 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-12 11:04:04 +00:00
Mark Olsen ea76477982 Don't use Host_Error() here. Use VFSTCP_Error().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 11:08:56 +00:00
Spoike c77d0a981a Fixed qtvplay, added a workaround for eztv proxies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-01 05:55:44 +00:00
Molgrum 3b1ac20640 s/componants/components + missing newline.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 06:06:20 +00:00
Lance b211170f9c mingw32 crosscompiling: libjpeg, libpng and zlib support added.
Speedburst/Speedhack/Z-Fighting/libjpeg/conback etc problems resolved within 
mingwcross compiled binaries with removal of -O6 and -funroll-loops optimizations. 
Added static libraries and headers to their own directory: 
libjpeg, libpng, zlib and libogg (ogg support not ready)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-12 10:27:51 +00:00
Molgrum fdb0479292 Fixed the non-null warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-11 15:40:28 +00:00
Molgrum 2dab3902f7 Cleanup. More warnings fixed in D3D.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-06 14:38:52 +00:00
Molgrum 0d321239ba Corrected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2721 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-06 13:19:10 +00:00
Molgrum e09faab306 Shut MSVS up. This is the last warning in GLRelease.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2720 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 19:26:05 +00:00
Molgrum 82fcde59e1 Cleanup. Fixed the last warnings in GLDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2719 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 19:10:43 +00:00
Molgrum b38ba2f1f1 Fixed so that D3D/Merged builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2718 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:50:10 +00:00
Molgrum 0f02f12b8b s/compatable/compatible (take notice that sv_compatablehulls will have a changed name too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:08:47 +00:00
Molgrum 379efc8376 s/thier/their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:43:26 +00:00
Molgrum 37e0b298b3 Fixed so cfg_save will put .cfg at the end if not specified.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2715 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:23:43 +00:00
Molgrum 64ea64fd2c Force inlining in MSVS to shut it up.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2704 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-04 20:29:05 +00:00
Spoike e59d02ed52 We now have a really crappy gl renderer for macosx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2689 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 22:00:19 +00:00
Molgrum 43c48f23e6 Include the alloca-function.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:52:35 +00:00
Mark Olsen faac72835c SP_#? -> CON_#?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2686 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:28:06 +00:00
Spoike 0a682a76d6 Resolved conflicts with macosx header files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 19:28:27 +00:00
Molgrum f1f0f1d48b Spike's temporary fix for the ruleset cvar latching problem with the string-field being null.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2664 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-21 09:58:17 +00:00
Molgrum 9893099eb6 Fixed errors and warnings from the last commits.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-18 01:08:49 +00:00
Spoike 9af1ba84cc A few things... f_ruleset stuff, 64bit qvm compatability, added cvars so you can put the built in http server on a custom port, added #warnings to annoy molgrum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-17 20:35:39 +00:00
TimeServ 13eeec99a2 removed gl_loadmd2/gl_loadmd3, added r_replacemodels, r_particlesdesc is now separated by spaces and ;
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2658 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-13 22:27:56 +00:00
Molgrum f099ce3e58 Spike fixed so that MVDSV does not kick us for userinfo spamming.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2656 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-10 22:12:13 +00:00
Molgrum eb4ce7b335 Reverted the buggy pground implementation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2638 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-06 23:18:52 +00:00
Molgrum 5979a8b4df Will make teamskins work properly with funchars and uppercase letters in teamnames.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2637 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-05 22:36:23 +00:00
Spoike afcf2e0ce8 Added some FIOBIO calls after select, apparently linux needs these (windows does not)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2636 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-04 20:54:24 +00:00
Spoike 06da06f9b3 improved q1qvm support - now runs on 64bit servers with 32bit qvm
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2635 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-03 22:37:13 +00:00
Spoike dc3e0d5872 Added support for q1-like qvms (mvdsv style). only tested with ktx so disabled by default for now, couple of related cleanups too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2633 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-02 19:55:17 +00:00
Spoike 72a980e347 making client-only builds build a little further
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2620 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 18:28:44 +00:00
Molgrum 6afef2b2f0 Fixed a warning, but the names of the stuff I added are only suggestions so you might want to tweak them.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2614 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 02:05:50 +00:00
Spoike 8a63e785b8 Added some anti-cheat measures, still needs lots of work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2610 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-23 21:25:18 +00:00
Molgrum 6b331fb404 You forgot a newline here :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2607 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-22 20:23:02 +00:00
TimeServ 1fbe5d1755 fixed up rcon a bit more, fixed merge build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2606 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-22 16:52:13 +00:00
Molgrum 8c4253ec8c Check this diff and revert it if you can find any purpose of vid_gamma and the pow()-calls with exponent 1.0 being in the code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2604 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-21 18:42:42 +00:00