I added a demo parser to github based on the ioquake3 trunk (r2240).
It will eventually include stats for UrT since I play that.  Right
now, it probably won't work on Windows due to err.h (lazy) which
should be an easy fix.  I can't test on Windows.

It's designed to be used as a callback mechanism with access to cl,
clc, and cls (dynamic) or anything global (static).  I based the
plugin mechanism loosely on libpurple.  They are using glib to make it
a lot easier.  This parser supports dynamically loading libraries that
implement the interface which is overkill.  I tried to keep the code
changes to the base ioquake3 as minimal as possible so it can be kept
in sync.

By any chance does someone have a VoIP enabled demo?  There's no
support for that now in this program and I don't have an example file
with multiple people talking to test with.

https://github.com/undeadzy/ioquake3_mirror/tree/t/q3dmparser
https://github.com/undeadzy/ioquake3_mirror/commit/56b6727e04cd05b19672fb9f7984c554f21f1f6c

Example plugin:
https://raw.github.com/undeadzy/ioquake3_mirror/t/q3dmparser/code/demo_parser/demo_dummy.c
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to