fteqw/plugins
Spoike 48514d4807 Some new stuff for the hud plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1884 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 00:07:47 +00:00
..
emailnot int->qhandle_t 2005-12-12 02:12:37 +00:00
ezscript Updated by TortoiseCVS 2005-11-27 14:47:38 +00:00
hud The green box is the resize area. It doesn't work properly when you scale an item negativly though. Shift and stuff work. 2006-01-13 06:12:57 +00:00
irc still does funky stuff, nick stuff works better (hopefully).. had to write a hack to support etg 2006-01-19 03:26:40 +00:00
jabber Maybe this will make rjlan happy. 2005-12-15 18:52:03 +00:00
serverb server browser plugin files. 2004-10-15 00:47:51 +00:00
spaceinv Fixed bullet images. 2005-12-09 02:10:24 +00:00
winamp Wee, let's cycle things. 2005-12-12 02:29:37 +00:00
xsv TimeServ wanted my X server. 2005-12-06 21:16:16 +00:00
.cvsignore Updated by TortoiseCVS 2005-11-27 03:20:24 +00:00
Makefile That's -C, not 0C :) 2005-06-15 15:04:34 +00:00
memory.c Fixed/tweeked a few things. 2005-12-06 15:40:52 +00:00
paths.bat A batch file that basically contains the paths to your various stuff. 2005-11-27 03:09:45 +00:00
plugin.c Some new stuff for the hud plugin. 2006-01-21 00:07:47 +00:00
plugin.def The four files used by ALL plugins. 2004-10-15 00:35:53 +00:00
plugin.h Some new stuff for the hud plugin. 2006-01-21 00:07:47 +00:00
plugins.dsw Central plugin workspace, that contains all fte plugins. 2005-11-27 03:21:42 +00:00
qvm_api.c Some new stuff for the hud plugin. 2006-01-21 00:07:47 +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.