fteqw/plugins
Spoike a97007ae5a dpp7: Treat 'dropped' c2s packets as choked when using dpp7 protocols. This is because the protocol provides no way to disambiguate, and I don't like false reports of packetloss (only reliables loss can be detected, and that's not frequent enough to be meaningful). Pings can still be determined with dpp7, for those few packets which are acked.
package manager: reworked to enable/disable plugins when downloaded, which can also be present-but-disabled.
package manager: display a confirmation prompt before applying changes. do not allow other changes to be made while applying. prompt may be skipped with 'pkg apply' in dedicated servers.
sv: downloads are no longer forced to lower case.
sv: added sv_demoAutoCompress cvar. set to 1 to directly record to *.mvd.gz
cl: properly support directly playing .mvd.gz files
menus: reworked to separate mouse and keyboard focus. mouse focus becomes keyboard focus only on mouse clicks. tooltips follow mouse cursors.
menus: cleaned up menu heirachy a little. now simpler.
server browser: changed 'hide *' filters to 'show *' instead. I felt it was more logical.
deluxmapping: changed to disabled, load, generate, like r_loadlit is.
render targets api now supports negative formats to mean nearest filtering, where filtering is part of texture state.
drawrotpic fixed, now batches and interacts with drawpic correctly.
drawline fixed, no interacts with draw* correctly, but still does not batch.
fixed saving games.
provide proper userinfo to nq clients, where supported.
qcc: catch string table overflows safely, giving errors instead of crashes. switch to 32bit statements if some over-sized function requires it.
qtv: some bigcoords support tweaks

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5073 fc73d0e0-1445-4013-8a0c-d673dee63da5
2017-03-21 05:27:07 +00:00
..
avplug first attempt at webvr support. probably totally crap. 2016-12-19 13:31:05 +00:00
berkelium LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now. 2016-07-12 00:40:13 +00:00
botlib botlib stuff 2006-06-27 08:30:48 +00:00
cef update triptohell's self-signed cert. 2016-07-17 18:41:01 +00:00
emailnot .po support for qc. 2013-11-21 23:02:28 +00:00
ezhud dpp7: Treat 'dropped' c2s packets as choked when using dpp7 protocols. This is because the protocol provides no way to disambiguate, and I don't like false reports of packetloss (only reliables loss can be detected, and that's not frequent enough to be meaningful). Pings can still be determined with dpp7, for those few packets which are acked. 2017-03-21 05:27:07 +00:00
ezscript Small annoyance fix, removed some cvar links already supported. 2008-02-15 06:17:08 +00:00
hud Oops 2008-05-25 21:53:19 +00:00
irc fix some of the things that baker didn't like. sorry it took so long. 2016-08-25 00:12:14 +00:00
jabber fix some of the things that baker didn't like. sorry it took so long. 2016-08-25 00:12:14 +00:00
mpq rework config.h stuff a little, fixing up numerous ifdefs etc. added some more for potentially smaller builds. 2017-02-19 00:15:42 +00:00
namemaker QVM targets for possible QVM compileable plugins 2007-11-27 16:03:33 +00:00
odeplug LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now. 2016-07-12 00:40:13 +00:00
qi LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now. 2016-07-12 00:40:13 +00:00
serverb remove more cvsignore files 2006-04-02 23:25:51 +00:00
spaceinv QVM targets for possible QVM compileable plugins 2007-11-27 16:03:33 +00:00
winamp remove more cvsignore files 2006-04-02 23:25:51 +00:00
xsv LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now. 2016-07-12 00:40:13 +00:00
engine.h LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now. 2016-07-12 00:40:13 +00:00
Makefile update triptohell's self-signed cert. 2016-07-17 18:41:01 +00:00
memory.c Fixed/tweeked a few things. 2005-12-06 15:40:52 +00:00
paths.bat removed hunk memory (as well as -mem argument). 2013-07-14 12:22:51 +00:00
plugin.c LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now. 2016-07-12 00:40:13 +00:00
plugin.def The four files used by ALL plugins. 2004-10-15 00:35:53 +00:00
plugin.h fix some of the things that baker didn't like. sorry it took so long. 2016-08-25 00:12:14 +00:00
plugins.dsw Work In Progress branch. 2009-11-04 21:16:50 +00:00
qvm_api.c LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now. 2016-07-12 00:40:13 +00:00
readme-linux.txt Some notes about q3asm. 2008-05-25 14:20:00 +00:00
readme.txt added a comment regarding the lcc warnings. 2005-12-01 01:41:04 +00:00

Plugins are a low priority.

There are a few plugins at the moment:
emailnot: pop3/imap email notification.
emailsv: pop3/smtp email server functionality (a bit pointless - won't even compile)
ezscript: command remapping to make fte compatable with ezqauke/fuhquake/mqwcl configs. 
hud: kinda cool. But use csqc instead.
irc: an irc client: use irc nick, irc open, that'll spawn a new console in quake which can accept irc commands naturally. ctrl+tab to switch consoles. Currently native only.
serverb: server browser. The one built in is better. This one was for the sake of it. Native only, could be rewritten for qvm.
winamp: greater winamp control, and general media menu. Native only.
xsv: An X windowing system server. Absolutly bug ridden. About the only thing it runs properly is Quake. Native only, for efficiency reasons.



To compile a qvm version of a plugin, go to the root plugin directory. edit paths.bat to change the Q3SrcDir variable to point to where you have the q3 sourcecode installed (qvms require q3 tools). You should almost definatly be using the gpled sourcecode release, from which you will need to compile q3asm yourself.
If you also set the QuakeDir variable, the install.bat files will copy the newly compiled qvms to fte/plugins, which is rather convienient.

Note that when building a qvm using id's version of lcc, you will be spammed by messages regarding compiler-dependant conversions.
There is no easy way to disable these messages without killing off all warnings (otherwise it would already be off).
The only way is to recompile the compiler. This requires msvc or a lot of C knoledge!
The actual sourcecode change is around line 621 or lcc/src/expr.c
Make it so it reads like this instead.
	case POINTER:
		if (src->op != dst->op)
			p = simplify(CVP, dst, p, NULL);
		else {
>			if (Aflag >= 1)
			if (isfunc(src->type) && !isfunc(dst->type)
			|| !isfunc(src->type) &&  isfunc(dst->type))
				warning("conversion from `%t' to `%t' is compiler dependent\n", p->type, type);
The > characture denotes the line to add. This will make the warning only appear when ansi compatability warnings are enabled.
You will then need to recompile.
With msvc installed, load up a command prompt, run vcvars32.bat (eg, with the quotes, type "c:\program files\microsoft visual studio\v98\bin\vcvars32.bat"), then go to the lcc directory (using the cd command) and type 'buildnt' (without quotes). You should now have a new lcc compiler without this pesky warning (by default).
This will then cause most of the qvm-compatable plugins to compile warning free.

If you ask, I will send a copy of the required qvm-compiling files to you. They will be either copied directly from the q3 source release, or self built with no more changes than in this file.