Commit Graph

1347 Commits

Author SHA1 Message Date
Spoike 1711a05852 Attempting to fix gb's mmap-related oss4 crash by reordering the entire function. Not tested it, so probably won't compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3567 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-28 20:36:54 +00:00
Spoike d745c39e8a renamed to avoid conflicts with libjpeg changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3562 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-20 07:51:13 +00:00
Spoike b3543a3b19 Less compile errors please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3559 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 12:52:24 +00:00
Spoike 244c08ad04 Attempted to add support for divVerent's varlen protocol extension info. This is more silencing warnings than anything else.
Also tweeked video code to remove 6 dead sw-only functions.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3556 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-18 08:42:59 +00:00
Spoike b0847199cb My god, I suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3551 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-13 20:48:08 +00:00
Spoike 83ec5e427f Things should compile again now.
Reverted clipping change, its not stable enough.
Optimised player prediction/tracing.
Framerates are a little more competitive now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-13 09:49:38 +00:00
Spoike e7ec40d0c8 Trying to fix some leaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3547 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-12 22:46:37 +00:00
Spoike 0b1e3020d3 Trying to kill a few warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 10:53:13 +00:00
Spoike 1e1084bed7 Changes merged from trunk. Also additional extensive changes. Q3 portals work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3541 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 02:22:39 +00:00
Spoike e6f90bea14 Tweeks to the d3d renderer. Supports various shader features now. Other changes/fixes/breakages also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-01 22:47:47 +00:00
Spoike d57438adf3 Ported the linux q2dll stuff over to SDL, attempts to load gamei386.so still. This is wrong.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3530 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-25 13:52:27 +00:00
Spoike 02c692bb0e removed dead code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:51:01 +00:00
Spoike 57c75a4ce7 Added frametime global.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3528 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-04-09 10:50:14 +00:00
Spoike 3b460e37b7 Reworked polyblends to use the backend. They no longer get stuck quite so much either. Added cl_download_mapsrc cvar (and plugin field) to specify an http location to download maps from (useful for demos, etc). A few other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-25 22:56:11 +00:00
Spoike 3cf5a393cc This is the plugin API exposed to external apps (either the npfte one internally, or the activex one, or [insert 3rd party usage here]).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3517 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-14 14:40:54 +00:00
Spoike c0680334c7 What could possibly go wrong?...
Multiple consoles can now be printed/cleared via extra con commands.
Fixed the tab-completion alignment, by adding support for \t characters.
Changing the download mechanisms. Don't try downloading an ftp:// file. It'll probably crash you for now.
Trying to fix load time issues on q3bsps with a lot of curves.
Fixed sprites.
Added warning prints/spam where the new backend is bypassed, thus marking things that still need to be fixed.
QTV proxy fixed to not sit on qw servers unless someone is actually watching. Will ping for status requests still.
QTV proxy now supports ipv6.
QTV proxy now attempts to use the fte browser plugin.
Reworked the browser plugin code, now uses threads instead of ugly hacks. This should make cooperation with other such plugins work. Fixes unresponsiveness of opera, and gives an API that can be used from any other bit of software you want, tbh (read: internet explorer/activex plugins).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3516 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-03-14 14:35:56 +00:00
Spoike b00e7ffb76 fix up some comments
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3510 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-06 02:06:26 +00:00
Spoike 589ef03c05 FTE, now with added C support - no longer treating enums as regular ints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3509 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-02-06 01:25:04 +00:00
Lance 6043fec697 GCC Fix attempt #3 + mingl hacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3508 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-23 08:13:21 +00:00
Lance 0dc38e6062 GCC fix attempt #2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3507 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-23 07:50:08 +00:00
Lance b9b5355c72 GCC fix for previous commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3506 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-23 07:32:21 +00:00
Lance 8e3fca993e Quake, Quake2 & Hexen now have fully functional singleplayer cheat menus. Existing tweaks to other menus, like more bloom diamond size combobox options (2x, 4x, 6x, 8x, 10x), video menu has a more reliable width & height value source to display current resolution incase vid_height and vid_width are 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3505 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-23 07:14:37 +00:00
Lance b3511f7ea2 my bad, no such thing as gl_loadlit, it's r_loadlit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-17 06:49:27 +00:00
Lance bfc4c15d48 Fixed a menu crash, tweaked some menus, added bloom options, and a method of decreasing the time vid_restart takes in each menu by not trying to apply menu options which don't differ from the current cvar value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3500 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-17 06:42:30 +00:00
Lance 3eac223fc2 clang error fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3499 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-16 08:18:08 +00:00
Lance a9326e3ea1 Fix for MinGL, and minor menu fixup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3498 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-16 06:16:42 +00:00
Lance 22a3c2bc6d Menu code commit, Hexen 2 menus supported better (even includes sound in the menus now), menus are now mostly aligned and not underneath pictures anymore, Quake2 menus looking abit too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3497 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-16 04:59:13 +00:00
Lance 923c577172 Teamplay item name section split up into individual sections, still ugly but functional
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3496 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-15 13:23:08 +00:00
Lance d55c03b072 Menu work in progress, additions, tweaks etc, still more to do
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3495 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-15 05:35:27 +00:00
Mark Olsen 8901f51133 Fixed Sys_EnumerateFiles(): Doesn't treat directories as files anymore and actually manages to figure out file sizes now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-11 18:15:42 +00:00
Lance 4062c0b387 Updated gl_max_size to be renderer latched requiring a vid_restart to take effect
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3488 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-30 04:29:14 +00:00
Lance 22df64de91 Gasp, teamplay menus, and fixups to other menus I added last commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-30 04:06:14 +00:00
Lance 7f0e91037c Menu code work in progress, menu_video is less cluttered, new menus
within menu_options, sound, 3d rendering, texture, shadow & lighting etc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3486 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-29 14:00:56 +00:00
Lance 77056f58ed Same as r3484, but applied to the WIP branch
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3485 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-25 03:06:13 +00:00
Lance df42139913 Added various 4:3, 16:10 (8:5), 16:9, 5:4 aspect-based resolutions,
cleaned up the video mode list, added refresh rate option to video menu 
(driver default (0), 59hz, 60hz, 70hz, 72hz, 75hz, 85hz, 100hz)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3484 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-12-25 02:57:16 +00:00
Spoike 1f34680832 Random hacks, ODE works in csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3464 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-17 00:15:44 +00:00
Mark Olsen 9c69d3fa3a Mmm, const...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3460 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 10:22:26 +00:00
Spoike 49c3dc75d4 Removed redundant cases.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3457 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:22:07 +00:00
Spoike acc77b4f36 Release the mutex if we go dedicated.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3453 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-15 03:07:52 +00:00
Lance eed5e36382 Fixed syntax error (hopefully) in how the MinGW32 windres tool reads the winquake resource script
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3451 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-14 03:40:53 +00:00
Mark Olsen 2e3a833a2b Updated to match the new prototype for Sys_LoadLibrary().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-13 18:42:11 +00:00
Spoike e6d1ae1a8f more cleanups: csqc now shares collision code with ssqc. Still lacks physics.
gl_rsurf.c has been split into gl specific and generic code - the d3d renderer can now draw the world.
ifdef removed the old server-side mvd playback which had been disabled all this time anyway.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 13:29:15 +00:00
Spoike e6498c778e only send qw prydoncursor when we're fully connected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3422 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-07 04:32:07 +00:00
Spoike 4c37c34c13 Fixed some stuff. Cygwin stuff compiles now, so maybe linux will too. I've not tested it though cos cygwin uses software gl rendering, and I'm impatient. Also boosted NUM_SPAWN_PARMS a little, so saved games will break.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3408 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 03:07:52 +00:00
Spoike f6b3416ce7 Fixed up some stuff so it actually compiles now. Also corrected pixel offsets on d3d chars so fonts are like in GL. Removed the unneeded gl_ppl file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3403 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-04 23:20:50 +00:00
Spoike 66b78c0b11 Work In Progress branch.
In this version: replacement GL backend. Replacement D3D backend sharing code with GL. Lots of code reorganisation.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-04 21:16:50 +00:00
Spoike 7184ac46d1 Slightly less weird console histories.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3400 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 23:37:05 +00:00
Spoike 18ef542c7f autostatus was annoying with a default that actually prints useless stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:25:54 +00:00
Spoike b0d29915c5 Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:24:07 +00:00
Spoike 17bc508348 Calm down, its just a missing new line...
Silly gcc.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3381 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-10-06 00:23:21 +00:00