Commit Graph

3070 Commits

Author SHA1 Message Date
Spoike eae4caee99 Added walkmove to the qvm API.
cvar("version") now returns something.
no longer crashes when running ktx (since the wip branch started).

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

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

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

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


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


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


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

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

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


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

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


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


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

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

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


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

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

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

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

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

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 23:42:54 +00:00
Spoike 33bdcfb367 Link dynamically to freetype.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3278 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:59:49 +00:00
Spoike a79b7f90cf sbar compiles again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:58:07 +00:00
Spoike 887f204330 This allows servers to stuffcmd aliases that match commands which would have forwarded anyway. Thus fixing 'pause' in ktx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3276 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-07-14 15:14:25 +00:00