Skip to content
Permalink
Browse files

Merge PR #2510: mumble/plugins: Rename Win32 headers

  • Loading branch information...
mkrautz committed Aug 11, 2016
2 parents 58a7ff5 + 746322e commit 30ec38dae7dcd0f45da412c786868c7dd82109f7
Showing with 45 additions and 45 deletions.
  1. +1 −1 plugins/aoc/aoc.cpp
  2. +1 −1 plugins/arma2/arma2.cpp
  3. +1 −1 plugins/bf1942/bf1942.cpp
  4. +1 −1 plugins/bf2/bf2.cpp
  5. +1 −1 plugins/bf2142/bf2142.cpp
  6. +1 −1 plugins/bf3/bf3.cpp
  7. +1 −1 plugins/bf4/bf4.cpp
  8. +1 −1 plugins/bf4_x86/bf4_x86.cpp
  9. +1 −1 plugins/bfbc2/bfbc2.cpp
  10. +1 −1 plugins/bfheroes/bfheroes.cpp
  11. +1 −1 plugins/blacklight/blacklight.cpp
  12. +1 −1 plugins/borderlands/borderlands.cpp
  13. +1 −1 plugins/borderlands2/borderlands2.cpp
  14. +1 −1 plugins/breach/breach.cpp
  15. +1 −1 plugins/cod2/cod2.cpp
  16. +1 −1 plugins/cod4/cod4.cpp
  17. +1 −1 plugins/cod5/cod5.cpp
  18. +1 −1 plugins/codmw2/codmw2.cpp
  19. +1 −1 plugins/codmw2so/codmw2so.cpp
  20. +1 −1 plugins/cs/cs.cpp
  21. +1 −1 plugins/dys/dys.cpp
  22. +1 −1 plugins/etqw/etqw.cpp
  23. +1 −1 plugins/gmod/gmod.cpp
  24. +1 −1 plugins/gtaiv/gtaiv.cpp
  25. +1 −1 plugins/gtav/gtav.cpp
  26. +1 −1 plugins/gw/gw.cpp
  27. +1 −1 plugins/insurgency/insurgency.cpp
  28. +1 −1 plugins/jc2/jc2.cpp
  29. +1 −1 plugins/l4d/l4d.cpp
  30. +1 −1 plugins/l4d2/l4d2.pro
  31. +1 −1 plugins/l4d2/{l4d2.cpp → l4d2_win32.cpp}
  32. +1 −1 plugins/lol/lol.cpp
  33. +1 −1 plugins/lotro/lotro.cpp
  34. +2 −2 plugins/{mumble_plugin_win32_x86.h → mumble_plugin_win32_32bit.h}
  35. +2 −2 plugins/{mumble_plugin_win32_x64.h → mumble_plugin_win32_64bit.h}
  36. +1 −1 plugins/ql/ql.cpp
  37. +1 −1 plugins/rl/rl.cpp
  38. +1 −1 plugins/sr/sr.cpp
  39. +1 −1 plugins/sto/sto.cpp
  40. +1 −1 plugins/ut2004/ut2004.cpp
  41. +1 −1 plugins/ut3/ut3.cpp
  42. +1 −1 plugins/ut99/ut99.cpp
  43. +1 −1 plugins/wolfet/wolfet.cpp
@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

using namespace std;

@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

procptr32_t posptr, frontptr, topptr;

@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

procptr32_t faceptr, topptr;
//BYTE *stateptr;
@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"
using namespace std;


@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

procptr32_t posptr, faceptr, topptr;

@@ -36,7 +36,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"
static bool ptr_chain_valid = false;

// Magic ptrs
@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x64.h" // Include standard plugin header.
#include "../mumble_plugin_win32_64bit.h" // Include standard plugin header.
#include "../mumble_plugin_utils.h" // Include plugin header for special functions, like "escape".

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &context, std::wstring &identity) {
@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h" // Include standard plugin header.
#include "../mumble_plugin_win32_32bit.h" // Include standard plugin header.
#include "../mumble_plugin_utils.h" // Include plugin header for special functions, like "escape".

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &context, std::wstring &identity) {
@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

bool is_steam = false;

@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

procptr32_t posptr, faceptr, topptr, stateptr;

@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

/*
Arrays of bytes to find addresses accessed by respective functions so we don't have to blindly search for addresses after every update
@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

procptr32_t posptr, frontptr, topptr, contextptraddress, stateaddress, loginaddress;

@@ -35,7 +35,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"
#include <algorithm>

procptr32_t vects_ptr;
@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

procptr32_t posptr, frontptr, topptr;

@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &, std::wstring &) {
float viewHor, viewVer;
@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

using namespace std;

@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &, std::wstring &) {
float viewHor, viewVer;
@@ -35,7 +35,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &, std::wstring &) {
float viewHor, viewVer;
@@ -35,7 +35,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &, std::wstring &) {
float viewHor, viewVer;
@@ -35,7 +35,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

using namespace std;

@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

using namespace std;

@@ -36,7 +36,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

using namespace std;

@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

using namespace std;

@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static unsigned int playerid;
static procptr32_t base_address;
@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x64.h" // Include standard plugin header.
#include "../mumble_plugin_win32_64bit.h" // Include standard plugin header.
#include "../mumble_plugin_utils.h" // Include plugin header for special functions, like "escape".
#include <algorithm> // Include algorithm header for the game version detector

@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

/*
Arrays of bytes to find addresses accessed by respective functions so we don't have to blindly search for addresses after every update
@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

using namespace std;

@@ -35,7 +35,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

const unsigned int off_character_manager = 0xD8FB24;
const unsigned int off_local_player = 0x3570;
@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

procptr32_t posptr, rotptr;

@@ -8,7 +8,7 @@ include(../plugins.pri)
TARGET = l4d2

win32 {
SOURCES = l4d2.cpp
SOURCES = l4d2_win32.cpp
LIBS += -luser32
}

@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h" // Include standard plugin header.
#include "../mumble_plugin_win32_32bit.h" // Include standard plugin header.
#include "../mumble_plugin_utils.h" // Include plugin header for special functions, like "escape".

procptr32_t serverid_steamclient, player_engine; // BYTE values to contain modules addresses
@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

/*
Arrays of bytes to find addresses accessed by respective functions so we don't have to blindly search for addresses after every update
@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &context, std::wstring &) {
for (int i=0;i<3;i++)
@@ -3,8 +3,8 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#ifndef MUMBLE_MUMBLE_PLUGIN_WIN32_X86_H_
#define MUMBLE_MUMBLE_PLUGIN_WIN32_X86_H_
#ifndef MUMBLE_MUMBLE_PLUGIN_WIN32_32BIT_H_
#define MUMBLE_MUMBLE_PLUGIN_WIN32_32BIT_H_

typedef unsigned long procptr32_t;

@@ -3,8 +3,8 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#ifndef MUMBLE_MUMBLE_PLUGIN_WIN32_X64_H_
#define MUMBLE_MUMBLE_PLUGIN_WIN32_X64_H_
#ifndef MUMBLE_MUMBLE_PLUGIN_WIN32_64BIT_H_
#define MUMBLE_MUMBLE_PLUGIN_WIN32_64BIT_H_

typedef unsigned long long procptr64_t;

@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h" // Include standard plugin header.
#include "../mumble_plugin_win32_32bit.h" // Include standard plugin header.
#include "../mumble_plugin_utils.h" // Include plugin header for special functions, like "escape".

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &context, std::wstring &identity) {
@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &, std::wstring &) {
for (int i=0;i<3;i++)
@@ -35,7 +35,7 @@
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &/*context*/, std::wstring &/*identity*/) {
for (int i=0;i<3;i++)
@@ -3,7 +3,7 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static procptr32_t identptr, contextptr, posptr;

@@ -35,7 +35,7 @@
*/

////
#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

using namespace std;

@@ -37,7 +37,7 @@
//

////
#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

using namespace std;

@@ -34,7 +34,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

procptr32_t posptr;
procptr32_t frtptr;
@@ -47,7 +47,7 @@
Increasing when turning left.
*/

#include "../mumble_plugin_win32_x86.h"
#include "../mumble_plugin_win32_32bit.h"

static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &context, std::wstring &) {
float viewHor, viewVer;

0 comments on commit 30ec38d

Please sign in to comment.
You can’t perform that action at this time.