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>2016-06-24 00:32:22 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-06-24 00:32:37 +0300
commited8748dc07536c2ca67f2e803bf183c20826ee42 (patch)
tree5d75edf1cccafdd15b96a9b4bbc9ad358a2c295f /plugins/insurgency
parent51af7852474d92a7d0514a0f57903551c3595f97 (diff)
plugins: update memory addresses retrieval to use procptr32_t/procptr64_t.
Diffstat (limited to 'plugins/insurgency')
-rw-r--r--plugins/insurgency/insurgency.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/insurgency/insurgency.cpp b/plugins/insurgency/insurgency.cpp
index 3bc2e5258..2e7f09cab 100644
--- a/plugins/insurgency/insurgency.cpp
+++ b/plugins/insurgency/insurgency.cpp
@@ -34,14 +34,11 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "../mumble_plugin_win32.h"
+#include "../mumble_plugin_win32_x86.h"
using namespace std;
-BYTE *posptr;
-BYTE *rotptr;
-BYTE *stateptr;
-BYTE *hostptr;
+procptr32_t posptr, rotptr, stateptr, hostptr;
static bool calcout(float *pos, float *rot, float *opos, float *front, float *top) {
float h = rot[0];
@@ -131,7 +128,7 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
if (! initialize(pids, L"hl2.exe", L"client.dll"))
return false;
- BYTE *mod_engine=getModuleAddr(L"engine.dll");
+ procptr32_t mod_engine=getModuleAddr(L"engine.dll");
if (!mod_engine)
return false;
@@ -170,7 +167,7 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
}
static const std::wstring longdesc() {
- return std::wstring(L"Supports Insurgency pModule build 4044. No identity support yet.");
+ return std::wstring(L"Supports Insurgency: Modern Infantry Combat build 4044. No identity support yet.");
}
static std::wstring description(L"Insurgency: Modern Infantry Combat (Build 4044)");