Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidebeatrici <davidebeatrici@gmail.com>2017-11-13 22:45:22 +0300
committerdavidebeatrici <davidebeatrici@gmail.com>2017-11-19 23:48:55 +0300
commit2a51c7bff664929fb181a9c55f84d326cbe28bfb (patch)
tree96264a12314283e9fb6299318191449b192a7f23 /plugins/gw
parentf397c40982860a9105b9bcffbc4e78716f359776 (diff)
Accomplish changes in all the plugins
Diffstat (limited to 'plugins/gw')
-rw-r--r--plugins/gw/gw.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/gw/gw.cpp b/plugins/gw/gw.cpp
index 54a43dd2b..08c060767 100644
--- a/plugins/gw/gw.cpp
+++ b/plugins/gw/gw.cpp
@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "../mumble_plugin_win32_32bit.h"
+#include "../mumble_plugin_win32.h"
/*
Arrays of bytes to find addresses accessed by respective functions so we don't have to blindly search for addresses after every update
@@ -73,14 +73,14 @@
*/
-static procptr32_t camptr = 0xa30274;
-static procptr32_t posptr = 0xa302a4;
-static procptr32_t camfrontptr = 0xbf46b8;
-static procptr32_t frontptr_ = 0xd55610;
-static procptr32_t frontptr;
+static procptr_t camptr = 0xa30274;
+static procptr_t posptr = 0xa302a4;
+static procptr_t camfrontptr = 0xbf46b8;
+static procptr_t frontptr_ = 0xd55610;
+static procptr_t frontptr;
-static procptr32_t locationptr = 0xa3fa08;
-static procptr32_t areaptr = 0xa31158;
+static procptr_t locationptr = 0xa3fa08;
+static procptr_t areaptr = 0xa31158;
static char prev_location;
static int prev_areaid;
@@ -114,13 +114,13 @@ static bool refreshPointers(void)
{
frontptr = 0;
- frontptr = peekProc<procptr32_t>(frontptr_);
+ frontptr = peekProcPtr(frontptr_);
if (!frontptr)
return false;
- frontptr = peekProc<procptr32_t>(frontptr + 0x8);
+ frontptr = peekProcPtr(frontptr + 0x8);
if (!frontptr)
return false;
- frontptr = peekProc<procptr32_t>(frontptr);
+ frontptr = peekProcPtr(frontptr);
if (!frontptr)
return false;
frontptr = frontptr + 0x1c;