1
0
Fork 0
forked from fte/fteqw
fteqw/plugins
Spoike 5e7688a590 first public attempt at pbr.
update infoblobs to be slightly more self-contained (still not finalised).
q3ui can now change audio volumes.
linearise 16bit srgb textures as required.
code can now potentially support >256 bones. disabled until the stack overflows are fixed...
remap bone indexes where required, for a 10-fold speedup on models with otherwise-too-high bone counts
gltf loader updates, primarily shader changes, for better conformance.
shaders can now specify whether a texture should be treated as srgb or not.
implement serverside download queue for ezquake/legacy clients downloading multiple demos. fte clients should never need to use this (would break total download size display).
some work towards threading shader loading.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5430 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-12 05:04:27 +00:00
..
avplug Forgot the cmake file. few other minor tweaks 2019-01-20 16:26:50 +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
bullet Lazy GLSL loading, for faster load times. 2018-11-27 16:48:19 +00:00
cef Fix various compiler warnings. 2017-09-20 11:27:13 +00:00
emailnot .po support for qc. 2013-11-21 23:02:28 +00:00
ezhud Many general cleaups and warning fixes. 2018-11-19 06:37:25 +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 Misc compile fixes (mostly warnings) 2019-01-29 19:41:31 +00:00
jabber Fixed crash from too many csqc entities (reported by shpuld) 2019-02-16 19:09:07 +00:00
models first public attempt at pbr. 2019-03-12 05:04:27 +00:00
mpq fixed crashy race condition when querying master servers. 2017-11-15 12:38:20 +00:00
namemaker QVM targets for possible QVM compileable plugins 2007-11-27 16:03:33 +00:00
odeplug playdemo accepts https urls now. will start playing before the file has finished downloading, to avoid unnecessary delays. 2017-05-10 02:08:58 +00:00
qi reworked clipboard handling to avoid stalls when pasting in linux. 2018-10-11 10:31:23 +00:00
serverb
spaceinv QVM targets for possible QVM compileable plugins 2007-11-27 16:03:33 +00:00
terrorgen example terrain generator for eukara. 2017-05-28 17:14:23 +00:00
winamp
xsv Fixed crash from too many csqc entities (reported by shpuld) 2019-02-16 19:09:07 +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 Add models plugin to the relevant makefile 2019-02-24 17:58:28 +00:00
memory.c
paths.bat removed hunk memory (as well as -mem argument). 2013-07-14 12:22:51 +00:00
plugin.c reworked clipboard handling to avoid stalls when pasting in linux. 2018-10-11 10:31:23 +00:00
plugin.def
plugin.h Fixed crash from too many csqc entities (reported by shpuld) 2019-02-16 19:09:07 +00:00
plugins.dsw Work In Progress branch. 2009-11-04 21:16:50 +00:00
qvm_api.c Forgot the cmake file. few other minor tweaks 2019-01-20 16:26:50 +00:00
readme-linux.txt Some notes about q3asm. 2008-05-25 14:20:00 +00:00
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.