This commit introduces a new plugin framework into the codebase of the
Mumble client. Note that "plugin" here really refers to a (more or less)
general purpose plugin and is therefore not to be confused with the
previously available positional data plugins (only responsible for
fetching positional data from a running game and passing that to
Mumble).
The plugin interface is written in C, removing the compiler-dependence
the old "plugins" had. Instead plugins can now be written in an
arbitrary language as long as that language is capable of being compiled
into a shared library and also being capable of being C-compatible.
As already indicated a plugin is essentially a shared library that
provides certain functions that allow Mumble to interface with it.
Inside Mumble the so-called PluginManager is responsible for managing
the plugins and relaying events to the respective callbacks. Plugins
themselves can also interact with Mumble on their own initiative by
using the provided API functions.
Fixes#2455Fixes#2148Fixes#1594Fixes#2051Fixes#3742Fixes#4575Fixes#4751
This reverts commit e9c558ffdb, reversing
changes made to ca2fd07b90.
This is a quick-fix for crashing PA plugins. The intended change is
still useful and planned to land later.
Update the WoW plugin again, clean up some of the old code that's not
necessary, and add solution by @hacst to append realm name to identity
so it's actually useful now.
Update WoW plugin, including switching to 128-bit GUIDs, which I've
naively done with a structure containing two 64-bit integers instead.
There's probably a nicer way to do this.
I'm also tentatively throwing away the process of going through NameStore
looking for our characer name - all the posters on OwnedCore are doing it through
a simple pointer. I'm guessing this plugin doesn't do it that way because there was
no static pointer when it was written, but for now this seems to work.
(Also, no one has posted the updated offset for NameStorePtr yet)
add wow plugin to installer
add conversion of avatar name
begin separation of wow spefific functions
rework MultiByte to WideCharacter conversion as suggested by slicer
reenable detaching from wow once it's gone
improve string handling as suggested by dD0T and slicer
show full error message when attachment to wow fails in debug build
Revert "Remove deprecated WoW plugin."
This reverts commit 8c197b374e.
Updated WoW plugin to WoW 3.2.2. Attaches to process, returns sane values in test program. Attaches to process and activates positional audio in mumble, but has not influence to audio but make the sound softer as if both actors are >15m from each other. (which they where not in out tests)
translate wow coordinate system to right handed coordinate system add resync after stuck coordinates (maybe needed, could realiably reproduce) add realm as context
add more checks for sane values add utility functions for memory reading add identity reading
add camera reading instead of copied avatar