Commit graph

2374 commits

Author SHA1 Message Date
Spoike
70e7fb7b0c Marked two warnings as mundane.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 00:03:32 +00:00
Spoike
24f1ed093a lol! added support for the ?: trinary operator.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 00:02:47 +00:00
Spoike
451b8ccc79 Moved a chunk of code. This will prevent the temp from a calculation in the argument from overwriting the actual return value. a()+b(c+d) should now compile fine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2490 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-11 22:45:34 +00:00
Mark Olsen
5f04f4b314 Fixed MSVC SNAFU
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2488 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-08 16:02:53 +00:00
Spoike
9ed683614a Mostly software renderer fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-28 13:27:35 +00:00
Mark Olsen
3df97e1e19 Added support for (GL|SW)VID_SetCaption to the X code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2486 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-28 12:57:05 +00:00
Mark Olsen
900d16ee65 Added support for (GL|SW)VID_SetCaption to the MorphOS port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2485 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-28 12:37:30 +00:00
Mark Olsen
802821be99 Added mising SWVID_SetCaption() prototype.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2484 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-28 12:32:15 +00:00
Spoike
57f2fd6edc git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2476 fc73d0e0-1445-4013-8a0c-d673dee63da5 2007-03-12 01:22:30 +00:00
Spoike
4a823c3601 bigfoot: Works for me(TM)
final 64bit qcvm portability issues fixed (I hope).
new qc extension: DP_QC_UNLIMITEDTEMPSTRINGS (assuming pr_tempstringcount = 0)
fixed a couple of issues with msg_entity being random.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2475 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-11 16:51:45 +00:00
Spoike
3f81d677ff This should be caught elsewhere.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2474 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-11 12:27:17 +00:00
Spoike
d804efe0cb This commit brought to you to shut up bigfoot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2473 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-04 19:17:16 +00:00
Spoike
2f059d7b59 Some minor tweeks to the hud plugin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-02-26 03:00:25 +00:00
Spoike
35c93f1f60 Some Q3 fixes some plugin improvements so qvms can actually function correctly, and a couple of minor things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2469 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-02-23 00:21:33 +00:00
Spoike
fa6fd3c9b0 Only interpret splitscreen usercommands if that client actually has splitscreen enabled. (This fixes an incompatability with ktpro)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2468 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-30 08:44:34 +00:00
Mark Olsen
90767354c4 Can now load Quake 2 game files from an absolute path.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2467 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-18 23:17:31 +00:00
Spoike
715f34e831 Added 'combo' menu script commands (one var, multiple descrete values).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2461 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-08 03:13:03 +00:00
Spoike
359e46bfff tabs in configs are now handled more correctly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2460 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-08 03:11:36 +00:00
Spoike
5339cd92e7 Spotted + fixed some bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2459 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-08 03:10:41 +00:00
Spoike
2a10d9860e Expanded the .qtv file 'format' for later.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2456 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-06 09:38:08 +00:00
Spoike
edbe5bc600 A funky cvar that makes qtv menus nicer to use.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2455 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-06 09:37:33 +00:00
Spoike
88388accb2 This caused a crash (and a little something else that qtv uses).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2454 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-06 09:36:38 +00:00
Spoike
9df6d335e4 Should fix molgrums 'ktpro' crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2453 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-06 09:35:16 +00:00
Spoike
a0c7a347df Should fix some gcc 64bit issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2450 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-12-26 18:21:22 +00:00
Spoike
b698a1148b Should fix the slow rockets bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2449 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-12-26 18:19:35 +00:00
Spoike
17962a3ac7 Added a quick connect menu option which joins the client to the most populated server with a ping under 50. Mod/gamedir is not considered.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-12-25 18:29:05 +00:00
Spoike
8f14e5ab9f This master doesn't resolve any more, it seems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2447 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-12-25 18:19:45 +00:00
Mark Olsen
07e1648602 Fixed SW renderer and NOMEDIA builds. Added some comments to some else/endif preprocessor commands.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2446 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-22 01:08:46 +00:00
Spoike
7f6ff725e4 sizeof(long)==8
Bum.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2444 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-10 15:48:18 +00:00
TimeServ
15f5bdfb4b consistency fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2442 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-04 19:05:06 +00:00
Spoike
9d7a3b5d2a Fixes some messages when qtv disconnects. No functional difference, just additional+different prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2441 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-03 16:03:15 +00:00
Spoike
acf93f1548 qtv changes allow you to spectate annother spectator. FTE changes fix independant physics stuff a bit, and fix AVI recording a little also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-03 15:53:04 +00:00
TimeServ
b444ca99ac Spike broke this
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-02 03:00:50 +00:00
TimeServ
6b57afe022 fix 8-bit sw on 64-bit X
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2438 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-01 07:23:08 +00:00
TimeServ
6c8223f606 fix PNG screenshots under AMD64, fix 8bpp screenshots under X
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2437 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-31 04:12:20 +00:00
Spoike
18e24f710c De-spammified Hexen2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2415 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-18 23:39:37 +00:00
Spoike
d6b8c50b14 Fixes the red glows issue in hexen2. I would do it the other way, but H2 depends on entities for sounds (and qw requires entities for origins).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2414 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-18 23:33:18 +00:00
Spoike
5301cdadc1 rjlan reported that bigfoot's use of bzero didn't compile in mingw
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2413 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-18 23:27:39 +00:00
Mark Olsen
4927de5536 Check the result of the seek as well for good measure.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2412 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-15 19:45:33 +00:00
Mark Olsen
1a5b73909a Don't send random stack contents to the client with chunked downloads if the file size modulo is not 1024 or if the client requests an out of bounds block.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2411 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-15 19:31:24 +00:00
Spoike
3b15e738f8 delay map changes until after the renderer is set, rather than setting one as part of the map change.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2410 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-15 03:34:05 +00:00
Spoike
09ad52722d Fixed the rotation instant death in h2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2409 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-15 03:30:56 +00:00
Spoike
e2fd8a9f77 NQ mod waterjump bug fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2408 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-14 02:04:24 +00:00
Spoike
f956a5f311 CSQC shouldn't depend on Q2bsp.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-13 13:39:00 +00:00
Mark Olsen
321b2689e3 splitbuffer and submission_chunk no longer exist.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2404 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-09 22:29:37 +00:00
Spoike
dc4ca9b290 When sounds can't be found, don't spam the same message over and over again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-05 22:11:17 +00:00
Spoike
83bcdc0cc7 Cleaning up some logic and coding style.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2400 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-05 22:10:09 +00:00
Spoike
b4cb2a66b6 Compiles in cygwin's mingw environment: make FTE_TARGET=win32
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-05 21:59:43 +00:00
Spoike
742c8df40b Added code to check for truncated BSPs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-05 21:12:04 +00:00
Mark Olsen
59d86d9c58 Improved the warning output from implicit casts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-28 14:55:05 +00:00
Mark Olsen
af6b5bdc77 Support forward declaration of classes (hopefully). Reject declarations of already declared classes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-28 02:46:42 +00:00
Spoike
d76ae63551 Fixes the recent prediction bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2395 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-26 22:54:27 +00:00
Spoike
31215e5b06 Raised the runaway loop limit. perhaps a little too high now, but nexuiz's menus require it. Improved debugging and stuff, so you can assign functions to variables in the debugger.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:58:42 +00:00
Spoike
35a62a4ffc Fixing nexuiz menus, and adding a couple of extra qc-breakpoints on entity overflows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:56:14 +00:00
Spoike
4d2b987c33 Small tweek so aliaslist can be used to show only the alises sent from the server - so you know which commands are available.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2391 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:53:22 +00:00
Spoike
94d6b75f79 Easier to use for debugging.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2390 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:52:33 +00:00
Spoike
866d65abd9 Small bug in code that isn't even active.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2389 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:51:33 +00:00
Spoike
3061eab830 Added a non-destructive way to get out of qc menus to the console (shift+escape).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2388 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:50:59 +00:00
Spoike
17947e96c4 Told the server how to send TE_TEI_BIGEXPLOSION, for nexuiz.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2387 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:49:42 +00:00
Spoike
3bda76ade3 Stopping nexuiz from looping infinatly with lots of new bots being spawned..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2386 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:48:44 +00:00
Spoike
7e3b3d3df7 Fixed colour codes in centerprints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2385 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:47:06 +00:00
TimeServ
9d84f0a60d get vc2005 to shut up about deprecated stuff with gas2masm
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2384 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 03:37:57 +00:00
Spoike
97f836b5ed Just fixing my errors before TimeServ moans some more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 02:42:18 +00:00
Spoike
42c43d960f mostly miscilaneous changes (some old stuff that I don't remember), lightsampling changes, qtv changes, avi sound changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 00:59:22 +00:00
Spoike
4c32449d26 Fix incorrect traces in Quake3. This fixes rockets, at least.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-10 02:49:12 +00:00
TimeServ
36eb3f13ad attempted fix to particle run list
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-20 14:06:52 +00:00
TimeServ
0939c0e46c respect return value with hud plugin call, disable scoreboard in hud plugin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-20 01:35:56 +00:00
TimeServ
5d58e5ce6e fix to particle run list
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2375 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-20 00:58:19 +00:00
TimeServ
72b679e209 delete from list instead of maintaining state
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2374 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-20 00:47:13 +00:00
Mark Olsen
06a892ef76 Sys_EnumerateFiles() for MorphOS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2373 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-19 22:09:55 +00:00
TimeServ
99ac405575 only loop through particle types with particles (very slight fps increase)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2372 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-16 13:07:55 +00:00
TimeServ
5b837c1f73 precache from sound/ not sounds/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2371 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-07 01:44:27 +00:00
TimeServ
f743070256 no false positives with cl_dlemptyterminate, add commands skipdl/finishdl, forces current QW download to end with finishdl saving the file and skipdl deleting it
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2370 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-02 21:48:07 +00:00
TimeServ
5f4986d3f7 forgot to register cl_dlemptyterminate
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2369 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-02 18:29:06 +00:00
TimeServ
5c0b773111 added cl_dlemptyterminate, when set to 1 the client will assume downloads are finished when a empty (0 size) svc_download is received (defaults to 1), ensure server treats percent value properly with downloads
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2368 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-02 05:34:17 +00:00
TimeServ
fc3af4e938 ignore challanges from differing protocols (happens with a client connecting to an sv_listen 2 server)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-29 21:38:05 +00:00
TimeServ
0d6e663d60 fix for sys_colorconsole on windows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2366 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-29 21:09:43 +00:00
TimeServ
084c095dc7 fix frame lerp again, dynamically allocate client baselines (should save about 2MB of memory on typical servers), bounds check baselines (stops invalid svc_spawnbaseline from crashing), small DP extension fix, fix demo baselines
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2365 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-24 04:24:41 +00:00
TimeServ
0089cf5a3f don't Sys_Error with NULL Q2 setmodel call, properly fallthrough if bSetupPixelFormat fails
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2364 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-21 23:38:24 +00:00
Mark Olsen
f530e5f782 Added a glCopyTexSubImage2D stub.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2363 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-18 22:25:41 +00:00
TimeServ
b282cea71b possibly fix menu staying while playing a cinematic
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2362 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-18 21:07:39 +00:00
TimeServ
d3fe8cba4b change default particle execs from server to local restrict level (server restrict screws over chain-loading)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2361 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-18 17:46:17 +00:00
TimeServ
730f6abe69 fix player frame/frame lerp with MVD
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2360 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-18 15:20:26 +00:00
TimeServ
e881c6d01b fix minimal builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-18 03:25:13 +00:00
TimeServ
44f3d3361c limit pitch/yaw fpd flags
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-17 17:33:35 +00:00
TimeServ
ba9a5440f0 fix console selection alignment
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2351 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-17 16:41:06 +00:00
TimeServ
9a2c2c386f remove octal escape code parsing (broken code)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-14 19:54:26 +00:00
Mark Olsen
db05677d7d Sigh, I suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2349 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 23:31:11 +00:00
Mark Olsen
3af40cdc7c Removed dprintf() call.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2348 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 23:29:27 +00:00
Mark Olsen
87b13077cd Don't pass -s to GCC. Stripping is done later anyway. Updated MorphOS compile and link flags.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 23:26:47 +00:00
Mark Olsen
85abc8a042 Close vorbisfile.library on exit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2346 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 22:45:40 +00:00
Mark Olsen
bab511721b Simplified some code, added MorphOS support, fixed Vorbis decoding on big endian.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2345 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 22:45:07 +00:00
Mark Olsen
6c5759a164 That's endian, not endien.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2344 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 22:35:15 +00:00
Mark Olsen
0446b1d81a That's endian, not endien.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 22:34:47 +00:00
Mark Olsen
e5e6404752 Fixed warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 21:33:29 +00:00
Mark Olsen
561d8a0e69 Fixed warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 21:32:37 +00:00
Mark Olsen
a044940d50 Disable dynload support for anyone but me since it doesn't work for the general public anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-08 21:14:22 +00:00
TimeServ
cb447fa3f7 protocol fixes for bot clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-02 04:27:56 +00:00
TimeServ
f51b6bbff6 sync pmove stuff again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-01 11:57:24 +00:00
Mark Olsen
997fa53005 Fixed yet another remote buffer overflow.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-30 15:45:16 +00:00
TimeServ
285f6e6ca8 match ZQuake's pmove
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-27 22:35:11 +00:00
Spoike
725912224d Should fix rjlan's Windows Vista IPV6 problems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-27 16:00:41 +00:00
TimeServ
21c9394dec EF_ADDITIVE should work under QW protocol for NQ mods
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-19 21:56:42 +00:00
TimeServ
2333b388d0 according to LordHavoc, Windows will screw up on "" when resolving
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-17 06:22:48 +00:00
TimeServ
0b62fbba57 add scr_sshot_compression, sets level for png/jpg compression, ranges from 0-100 defaults to 75
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-17 04:18:52 +00:00
TimeServ
177b95f346 replace with msvc6 built libs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-17 03:25:49 +00:00
TimeServ
2e4995fdaa gl_fontedgeclamp to gl_fontinwardstep, fix gl_fontinwardstep and make it accept a float range (0-1)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-15 22:03:34 +00:00
TimeServ
2b946b97f4 fix graphic error with 8-bit images and gl_blend2d, don't Sys_Error loading textures when out of scrap space
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-15 21:40:54 +00:00
TimeServ
3b0c07281d don't expand certain cvars from insecure command calls, fix server stuffcmd command
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-12 22:05:41 +00:00
TimeServ
5a7115c80f fix NetQuake/DP* parsing for newer features
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-09 00:58:11 +00:00
TimeServ
bded857feb force flame models to render fullbright, very slight fps increase with r_shadows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-08 06:24:07 +00:00
TimeServ
7830dc402a fix for NQ mods that write out strings using WriteByte (such as conquest)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-08 02:04:41 +00:00
TimeServ
323dec50b8 upgrade zlib and libpng
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-07 22:27:05 +00:00
TimeServ
4a351fd182 support/fix for mice with a relative mousewheel under directinput, use m_forcewheel_threshold to adjust and m_forcewheel 2 to use relative wheel behavior
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-06 00:25:09 +00:00
Spoike
4090b9985a Should fix the cl_nopext 1 issue where entity effects do not appear on powerups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 18:57:00 +00:00
TimeServ
3866a4c292 add r_drawflat_nonworldmodel, defaults to 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 16:02:03 +00:00
TimeServ
f67a1e5ce4 fix renderer switch with gl_texture_anisotropic_filtering callback
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 03:55:51 +00:00
TimeServ
c6f426a52b added linear downsampling, use snd_linearsample 2 or snd_linearsample_stream 2 to enable
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 03:50:24 +00:00
TimeServ
6eac4b965b gl_texture_anisotropic_filtering is now a cvar with archive flag set
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 02:25:10 +00:00
TimeServ
b67a5991dc sound resampling rehash, added snd_linearsample_stream, 1 will use linear resampling with RoQ/CIN playback (ogg resampling fix not there yet), defaults to 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 01:43:52 +00:00
TimeServ
a10f1f22a6 cleanup, change TE_BLOB to TE_TAREXPLOSION in particle sets, change TE_BIGEXPLOSION to TE_TEI_BIGEXPLOSION, fix centerprints/stuffcmds not being written to mvds (maybe), misc fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-02 17:42:36 +00:00
Spoike
4a38e63e43 should fix dreamcast issues, and some slowness issues with non-fte engines (even on x86). engines using qclib will be unaffected, hence why the bug lasted this long.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-30 22:21:10 +00:00
TimeServ
22ad876a50 add sv_floodprotect_suicide, sv_floodprotect_sendmessage, add floodprot legacy command
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-30 04:00:24 +00:00
TimeServ
c91b804c1e added writeip back, writes all bans and filters to listip.cfg
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-29 16:12:21 +00:00
TimeServ
4942e86843 remove floodprot and floodprotmsg commands, add sv_floodprotect_messages/sv_floodprotect_interval/sv_floodprotect_silencetime cvars to replace old functionality, needs testing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-29 06:12:12 +00:00
TimeServ
e529c86c55 revert to old pmove for the time being, add sv_floodprotect to control flood protection, defaults to 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2305 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-29 05:35:07 +00:00
TimeServ
637633af80 vector op cleanups, added pr_droptofloorunits, sets how many units droptofloor QuakeC call will drop, defaults to "" which drops up to 256 units (Quake default)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-29 04:50:24 +00:00
TimeServ
e0c705b4a8 again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-28 23:32:16 +00:00
TimeServ
992102c76c fix easyrecord command
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-28 23:31:30 +00:00
Mark Olsen
00438b27fa Fixed TGA loading when PNG support is enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2301 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-28 23:17:30 +00:00
Mark Olsen
01f878498c Same fix for the disabled code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-28 23:15:04 +00:00
Mark Olsen
4ace1cbb80 r_powerupglow now actually works :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-28 23:00:10 +00:00
TimeServ
b720455bb8 fix without Q2CLIENT/NQPROT build, software renderer with plugins fix, misc fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-28 21:56:04 +00:00
TimeServ
0127ad7039 v_*cshift/v_bonusflash vars default to 1, import fixes (hopefully) to pmove
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-25 23:08:37 +00:00
TimeServ
31eaf52ce9 fix to master cvars, don't crash when worldmodel doesn't get loaded for the client, misc fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2296 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-25 21:32:32 +00:00
TimeServ
116faaf0c9 bug fixes to ban logic, partial ipv4 addresses work for bans, ban with reasons (ex. ban 192.168.0.0/16 "I hate people on LANs"), addip/removeip/listip can use the same format as ban (and now work for ipv6/ipx), writeip removed and will be fixed/replaced later
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2295 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-25 04:47:03 +00:00
TimeServ
c19474d271 fixed sw build, fixed server banning, banip works properly and accepts the format x.x.x.x/n and x.x.x.x/x.x.x.x, added unban and banlist
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2294 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-22 22:51:14 +00:00
TimeServ
f375d5d6ac fixed software skybox rendering
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2293 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-20 04:14:18 +00:00
TimeServ
ef0e99b312 allow viewmodel to be seen with SW again (cl_gunx, etc do not work properly with software)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2292 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 21:00:55 +00:00
TimeServ
52393e83ae negative values of show_fps show milliseconds per frame instead of FPS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2291 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 19:54:03 +00:00
TimeServ
d2584c26b9 fix buffer overruns in file enumeration
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 19:15:52 +00:00
TimeServ
4b88bb7293 adjust ftoa function a bit more
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 04:22:12 +00:00
TimeServ
bb98dc4939 Attempted precision fix for ftos
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 03:45:44 +00:00
TimeServ
dccc3efb10 mimic DP ftos for now, added pr_brokenfloatconvert which enables the old ftos behavior, defaults to 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 07:37:34 +00:00
TimeServ
9338715489 fix snprintf for msvc8 compiled builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2286 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 02:54:22 +00:00
TimeServ
3a8ae069c4 fix a few more possible overruns
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2285 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 02:24:38 +00:00
TimeServ
60d22a4d20 prevent buffer overrun with map name
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2284 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 01:43:22 +00:00
TimeServ
c14115d90e gl_conback loads from gfx/ instead of conbacks/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 01:39:19 +00:00
TimeServ
f5ce9a375f cosmetic fixup to track stuff, r_rockettrail/r_grenadetrail will correctly update on change, r_rockettrail/r_grenadetrail "" will revert to default instead of no trail
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2282 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 01:19:19 +00:00
TimeServ
f3d3cb1542 added track/track1/track2/track3/track4
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 00:48:43 +00:00
TimeServ
010a1c2a48 add cl_gunanglex/cl_gunangley/cl_gunanglez
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2280 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-17 23:16:26 +00:00
TimeServ
50c00fb7bc add cl_gunx/cl_guny/cl_gunz, remove r_viewmodelsize until I implement it correctly, misc cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-17 23:01:06 +00:00
TimeServ
ccf48364b1 r_wateralpha for software rendering
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2278 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-14 21:43:35 +00:00
TimeServ
0634baab20 r_drawflat/r_floorcolour/r_wallcolour for software, use alpha blending instead of stippling for alpha surfaces in software, misc cleanups
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-14 20:52:13 +00:00
TimeServ
244084ad32 fixes to win32 dedicated server, fix to "-port" being parsed too soon
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2276 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-13 21:11:06 +00:00
TimeServ
75af125d79 r_floorcolour/r_wallcolour uses 0-255 range
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2275 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-12 21:02:56 +00:00
TimeServ
15fac4ad44 optimization to dlights, slight FPS increase
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-11 03:14:41 +00:00
TimeServ
181592a0e3 attempted fix for linux, added stupid hack for gl_fb_models 1;r_fullbrightskins 1, changed allow fbskins logic, r_fullbrightskins defaults to 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-11 02:30:13 +00:00
TimeServ
5c7cae1ffe isolated selectable menu pictures (Q2), solves strange problem where a massive fps drop occurs with the first Q1 main menu option selected
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2272 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-11 00:41:47 +00:00
TimeServ
640524e990 some input cleanup, restarts should work a bit better
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 22:12:20 +00:00
TimeServ
0d6d61e31c fix up some q2 sound effects and handle sound delays, misc cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 07:35:19 +00:00
TimeServ
e54310e530 add ALSA function pointer...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2269 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 05:33:09 +00:00
TimeServ
df51d08616 add snd_samplebits to change sample bit size (defaults to 16, can use 8), add snd_buffersize to control driver buffer size (usable with ALSA and directsound, defaults to 0 which lets the driver decide)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 05:18:08 +00:00
TimeServ
974cf6b3ac fix sample bits for ALSA
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2265 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 22:31:23 +00:00
TimeServ
328de3d349 fix for ALSA
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2264 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 22:06:28 +00:00
TimeServ
0bb99da40b use requested parameters (for sample bits, khz, channels) with ALSA
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2263 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 21:38:27 +00:00
TimeServ
968ddb9759 attempt to fix waveout > 22Khz submit issues, support 8khz sound
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2262 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 20:43:39 +00:00
TimeServ
d18c74e47c forgot this
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2261 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 19:30:57 +00:00
TimeServ
4c566992e4 support non-power of 2 sound buffer sizes, attempted fix for command line not being parsed correctly with dedicated server crash restart
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2260 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 19:29:14 +00:00
TimeServ
11b188b761 fix bug with cl_maxfps 0 and demo playback causing lockup, fix netquake demo playback
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 08:35:10 +00:00
TimeServ
f38e614106 clean up mixer code, should solve some problems with popping noises, AVI sound recording needs testing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2258 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 07:26:14 +00:00
TimeServ
ca601f236b fix cd stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2257 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 00:36:25 +00:00
TimeServ
c32061184e sv_tcpport -> sv_port_tcp, added sv_port/sv_port_ipx/sv_port_ipv6 defaulting to 27500, use 0 to disable and shutdown protocol, -port/-svport redirect to these cvars
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 00:02:05 +00:00
TimeServ
6cbf2b2f32 fix snd_numspeakers 1, put DOOMWADS define stuff around doom sounds again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 23:06:50 +00:00
TimeServ
469fb50e57 use better mixing for 8-bit sounds, some cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 21:02:39 +00:00
TimeServ
de74e43c4a added snd_linearresample for better quality resampling, defaults to 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 06:44:47 +00:00
TimeServ
6197004228 add r_floortexture/r_walltexture, tweak to Doom speaker sounds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 04:30:04 +00:00
TimeServ
9d9b74c274 Doom sound support for both digital and PC speaker samples (might need changes with VFS)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2251 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 02:03:41 +00:00
TimeServ
913e26b1ae musicvolume uses callback, cosmetic fix to qclib, disabled sw r_drawflat until there's a solution to make it like gl's r_drawflat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 20:57:30 +00:00
TimeServ
18de9855ae build fixes, miscalc on bar thing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 07:25:18 +00:00
TimeServ
f93e5f1657 progress loading bar thing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 07:17:34 +00:00
TimeServ
575df34f7e sv_tcpport to callback, reallocate command buffer properly (I'm sure this caused a few untracable bugs in the past)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 05:31:01 +00:00
TimeServ
6f64002cc3 support r_particlesdesc chain loading; use r_particledesc "x;y;etc" to load multiple configs, removed shaft effect from spikeset, created new tsshaft set and added it into sets, change r_particlesdesc default to "spikeset;tsshaft"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 01:49:06 +00:00
TimeServ
9e8aa5ee66 add r_particlesdesc callback and removed latch, r_particlesdesc will now reload particle set on change
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 06:26:02 +00:00
TimeServ
0f2a193838 only attempt to load npr textures with r_drawflat 2, gamma/contrast use callbacks, vid_hardwaregamma switched to renderer latch (pretty much had to use vid_restart anyway)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 05:50:33 +00:00
TimeServ
551f37340b r_drawflat, r_wallcolour, r_floorcolour to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 03:28:48 +00:00
TimeServ
f8a044b783 use macros as intended
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2242 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 02:58:57 +00:00
TimeServ
8e65ba98d5 minor fixes, change name and sys_linebuffer to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 02:53:36 +00:00
Spoike
74d84a0ae6 These two platform-specific makefiles are outdated and obsolete. You should be using the common makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2240 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 00:39:59 +00:00
TimeServ
f0a60a1471 don't use va() within FS_Rename, fix logging logic, fix return values with morphos call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-05 05:28:56 +00:00
Mark Olsen
d593604177 Typo, I swear\!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 06:13:11 +00:00
TimeServ
c18c51b7f6 attempting to fix SysGameAPI
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 03:30:21 +00:00
Mark Olsen
047500f9ad Quake 2 game code support for Linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:56:30 +00:00
Mark Olsen
771828d5fb Slight finetuning of Q2 game code loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:25:16 +00:00
Mark Olsen
603f07b5a3 Actually have the MorphOS-sw client link. Slightly smarter stripping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:11:29 +00:00
Mark Olsen
a6b4691c02 Load Quake 2 game code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2233 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:08:06 +00:00
TimeServ
dbdfc2e3d0 replace rename with proper VFS call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2232 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-01 00:22:55 +00:00
TimeServ
f344eb9df0 changed grenade trail and te_railtrail in spikeset particle set, added a te_railtrail to highfps particle set
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2231 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-23 01:33:07 +00:00
Mark Olsen
e3e65b511c No, really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 17:23:35 +00:00
Mark Olsen
618aa941b7 Fixed 2 remotely exploitable buffer overflow bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 16:25:25 +00:00
TimeServ
0cc2ba719c vid_wait aliased to _vid_wait_override properly, command completion will now show renamed cvars (like mapname, host_setspeed, vid_wait) correctly
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 06:02:06 +00:00
TimeServ
bd3cab06a3 probably overdoing the callback thing now but oh well! (changed r_explosionlight, r_stains, r_rocketlight, scr_conalpha)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 05:23:51 +00:00
TimeServ
fbe51078b2 fix to spiral trails
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-20 22:21:42 +00:00
TimeServ
81bd85742f particle field spawnparam2 changes starting degree for spiral trail
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-18 23:11:44 +00:00
TimeServ
8709f8ec1f gl_font should now update the menu cache conchars texture
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2224 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 07:22:56 +00:00
TimeServ
ba38acd1ce gl_overbright_all effects gl_lightmap_shift, and gl_overbright_all 0 correctly works for only Q2 vs Q3 however just noticed Q3 uses overbright 2 for maps and 1 for models... yay
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 07:01:06 +00:00
TimeServ
a7a6dcc92f add cvar gl_overbright_all, 0 (default) = use overbrights only on Q1/H2/Q2 models, 1 = use on all models, set an engineflag marking non-map stuff but Spike needs to implement a gl_overbright_models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 06:03:58 +00:00
TimeServ
f57808caf0 warning cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 03:55:55 +00:00
Mark Olsen
219d49829d Take two, hopefully not fucking up the includes this time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:49:39 +00:00
Mark Olsen
9f1f8850bb Same thing here. AFAIK, we only support IPv4 from master servers anyway, so once again, sue me (or fix it better :). Fixed sendto() size argument to be sizeof(struct sockaddr_in). Now uses netinc.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2219 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:46:26 +00:00
Mark Olsen
7f8dbdb90e Ugly fix, sue me. We don't support anything but IPv4 here anyway, so pass in sizeof(struct sockaddr_in) to connect(), since not all systems handle a wrong size there.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2218 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:28:59 +00:00
Mark Olsen
2332cc6623 Mousecursor support (cheers, TimeServ)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2217 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:10:36 +00:00
Mark Olsen
6394eec60a More endian bugs fixed. Swap table contents before doing Com_BlockChecksum, swap the generated checksum before comparison.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 01:48:40 +00:00
Mark Olsen
c60d2e48c1 I shouldn't commit when tired.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 01:20:24 +00:00
Mark Olsen
713b3ddeff Fixed some endian issues with FTE protocol extensions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2214 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 00:41:54 +00:00
TimeServ
b97416a2ab player model interpolation works again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2213 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 00:34:21 +00:00
TimeServ
70d31d2617 added gl_smoothcrosshair, defaults to 1, 0 = don't smooth, 1 = old behavior (smooth on crosshairsize > 16 or using image)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 07:10:49 +00:00
TimeServ
960b2b8d96 cl_sbar/vid_conautoscale/vid_conwidth/vid_conheight/gl_font/gl_fontedgeclamp/gl_smoothfont/gl_conback/fov/viewsize changed to callbacks, needs testing.. hopefully increases fps a bit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 06:57:13 +00:00
TimeServ
3fd1a224e3 internal cleanup, r_menutint and r_skybox use callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 05:28:44 +00:00
TimeServ
571ea11411 fix Linux build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 03:44:10 +00:00
TimeServ
ceafd30644 vid_width/vid_height/vid_bpp 0 will use default desktop settings, added vid_desktopsettings which uses default width/height/bpp/refresh rate, command line -current maps to vid_desktopsettings 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 03:31:23 +00:00
TimeServ
68a5e9d3b3 simplified r_floorcolour/r_wallcolour, switched gl_texturemode to callback, some cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2207 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 05:23:11 +00:00
TimeServ
363223186e change crosshairimage/crosshair/crosshaircolor to use callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 04:31:29 +00:00
Spoike
7a7ce6a7bf don't fail to load 16bits-per-plane rgb png images.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 02:05:39 +00:00
Spoike
0560842635 Prevent 8bpp opengl. I hate you Up2nOgOoD[ROCK].
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 01:55:12 +00:00
Spoike
961b474e73 Fix cl_chatmode 1, and allow autorepeats on everything.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 01:52:15 +00:00
TimeServ
3a67c414fb fix crash with HTTP downloading
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 04:32:52 +00:00
TimeServ
1d6899434a fix lightmap_textures with init function
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 03:36:31 +00:00
Lance
6d99113511 Updated - April 12 2006
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 03:01:59 +00:00
TimeServ
75648fd2ff fix warnings, add cvar flag to force renderer callback on vid_restart, switched a few cvars from modified checking to callback usage
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 00:17:02 +00:00
Spoike
b12ead1a7d cvars can use callbacks now. Use Cvar_ForceSet inside to undo the change.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 20:42:05 +00:00
Spoike
7d89845224 Some fixes for Quake2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 20:09:39 +00:00
Spoike
d15dc50739 Get rid of the mapname macro, which ironically fixes $mapname.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-10 01:12:33 +00:00
Spoike
d71040af7a Fixes halflife sprites on big-endian machines.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 15:35:50 +00:00
Spoike
fa471eb239 Makes Q2 with high visible entity counts more robust.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2184 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 02:04:40 +00:00
Spoike
39bc3f4ff9 Fixes the q2 'wireframe players' bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 02:02:44 +00:00
Spoike
b22df9d2d0 LordHavoc is the one for noticing this.
By using snd_mixahead.value, the start time was being cast to a float, which eventually resulted in inaccuracies with longer uptimes.
This extra cast will ensure starttime is independant of uptime (it's an int).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 01:59:07 +00:00
Spoike
68afaaacd0 Fixes the 6 speaker sound issues (turned out that dsound was changing the buffer size to be a multiple of the number of speakers. I don't blame it!)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 01:53:26 +00:00
Spoike
9b9b696afe Fixed the bloom/gl_max_size issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2180 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 15:16:47 +00:00
TimeServ
15e372e2c5 fix default sky box for Q2 maps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2179 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 07:32:24 +00:00
TimeServ
b85e3c46ca fixes to several Q2 trails/tempents
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 06:43:42 +00:00
TimeServ
e40c7f8a87 fix crash with Q2 server, server/client handles Q2 map checksum, server sets Q2 airaccelerate on init
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 05:43:53 +00:00
TimeServ
1adb96907a remove the cfg_save x.cfg -> x.cfg.cfg situation, still not like the z-family cfg_save though
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 04:16:53 +00:00
TimeServ
6a67fa367e fix loading graphic on reinit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2175 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-07 02:59:17 +00:00
Spoike
1eb072ae0c Don't spam the server's console quite so much with "Connection lost or aborted" when an NQ client disconnects.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 23:53:57 +00:00
Spoike
4265caa79d Tollerate 16bpc pngs with no alpha channel.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 23:20:23 +00:00
Spoike
22b43705d9 Fixes FTE's NQ client (remember to set cl_nolerp 0)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 22:14:29 +00:00
TimeServ
3d0489e736 fix to failed renderer restart logic
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 22:07:34 +00:00
TimeServ
bcb4f10991 try to fix extended character parsing some more
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2170 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 20:57:46 +00:00
Spoike
b1eec3c095 STAY on plats. Don't Slide, no. Sliding is silly, so don't do it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2169 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 20:47:18 +00:00