1
0
Fork 0
forked from fte/fteqw
fteqw/plugins
Spoike 87564c9d79 stripped out my ancient form of in-engine translation. Implemented gettext style translation instead. Automatically determine language from environment settings.
try to imitate cyrillic chars if the charset doesn't support them using koi8 mappings, so russian-speaking users don't get so easily pissed about not knowing how to select a font that actually contains chars for their language.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4544 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 14:36:47 +00:00
..
avplug .po support for qc. 2013-11-21 23:02:28 +00:00
berkelium xmpp tweaks in a vague attempt at compatibility with google's official clients with voice support (which lag behind the jingle spec). 2013-08-21 07:42:42 +00:00
botlib
emailnot .po support for qc. 2013-11-21 23:02:28 +00:00
ezscript
hud
irc Fix up the irc client a little. Build the plugin by default, so that its available for people to actually download and use instead of just rotting. 2013-11-29 14:27:23 +00:00
jabber .po support for qc. 2013-11-21 23:02:28 +00:00
mpq made max_clients more dynamic on the server to attempt to reduce bss usage. hopefully this will help the webgl port without resulting in extra crashes. 2013-10-29 17:38:22 +00:00
namemaker
serverb
spaceinv
winamp
xsv berkelium plugin no longer has annoying rescaling. 2013-06-23 02:33:52 +00:00
engine.h minor tweaks. 2013-08-07 14:13:18 +00:00
Makefile Fix up the irc client a little. Build the plugin by default, so that its available for people to actually download and use instead of just rotting. 2013-11-29 14:27:23 +00:00
memory.c
paths.bat removed hunk memory (as well as -mem argument). 2013-07-14 12:22:51 +00:00
plugin.c stripped out my ancient form of in-engine translation. Implemented gettext style translation instead. Automatically determine language from environment settings. 2013-11-29 14:36:47 +00:00
plugin.def
plugin.h stripped out my ancient form of in-engine translation. Implemented gettext style translation instead. Automatically determine language from environment settings. 2013-11-29 14:36:47 +00:00
plugins.dsw
qvm_api.c xmpp NAT holepunching (ICE) is now implemented. it doesn't know how to do relays. 2013-06-29 16:01:07 +00:00
readme-linux.txt
readme.txt

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.