Commit Graph

3070 Commits

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

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

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

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

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

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-13 09:49:38 +00:00
Spoike e7ec40d0c8 Trying to fix some leaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3547 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-12 22:46:37 +00:00
Spoike ad3da01975 Should fix some pvs issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3546 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 16:23:04 +00:00
Spoike c6f49f4ec4 Fix dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3545 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 12:33:58 +00:00
Spoike 8a6c820003 Don't let corpses move through plats by standing on the corpse.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3544 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 12:13:40 +00:00
Spoike 16c45dca6e If glx gave us a stencil buffer, tell the rest of the code so they can use it properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3543 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 12:12:45 +00:00
Spoike 0b1e3020d3 Trying to kill a few warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 10:53:13 +00:00
Spoike 1e1084bed7 Changes merged from trunk. Also additional extensive changes. Q3 portals work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3541 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 02:22:39 +00:00
Spoike 8c96747ad3 Removed the limit on macro contents lengths.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3540 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-03 21:49:48 +00:00
Spoike e6f90bea14 Tweeks to the d3d renderer. Supports various shader features now. Other changes/fixes/breakages also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-01 22:47:47 +00:00
Spoike d57438adf3 Ported the linux q2dll stuff over to SDL, attempts to load gamei386.so still. This is wrong.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3530 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-25 13:52:27 +00:00
Spoike 02c692bb0e removed dead code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:51:01 +00:00
Spoike 57c75a4ce7 Added frametime global.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3528 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:50:14 +00:00
Spoike e07f5976b5 Fix EF_ADDITIVE
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3527 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:49:04 +00:00
Spoike 7f82215a40 Fix sprite ordering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3526 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:48:22 +00:00