Skip to content

Commit

Permalink
Merge PR #2510: mumble/plugins: Rename Win32 headers
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrautz committed Aug 11, 2016
2 parents 58a7ff5 + 746322e commit 30ec38d
Show file tree
Hide file tree
Showing 43 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion plugins/aoc/aoc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/arma2/arma2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/bf1942/bf1942.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plugins/bf2/bf2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down
2 changes: 1 addition & 1 deletion plugins/bf2142/bf2142.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/bf3/bf3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/bf4/bf4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion plugins/bf4_x86/bf4_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion plugins/bfbc2/bfbc2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/bfheroes/bfheroes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/blacklight/blacklight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/borderlands/borderlands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/borderlands2/borderlands2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plugins/breach/breach.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/cod2/cod2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plugins/cod4/cod4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/cod5/cod5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plugins/codmw2/codmw2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plugins/codmw2so/codmw2so.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plugins/cs/cs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/dys/dys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/etqw/etqw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/gmod/gmod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/gtaiv/gtaiv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plugins/gtav/gtav.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion plugins/gw/gw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/insurgency/insurgency.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/jc2/jc2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plugins/l4d/l4d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/l4d2/l4d2.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include(../plugins.pri)
TARGET = l4d2

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

Expand Down
2 changes: 1 addition & 1 deletion plugins/l4d2/l4d2.cpp → plugins/l4d2/l4d2_win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/lol/lol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/lotro/lotro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/ql/ql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion plugins/rl/rl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down
2 changes: 1 addition & 1 deletion plugins/sr/sr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down
2 changes: 1 addition & 1 deletion plugins/sto/sto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion plugins/ut2004/ut2004.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/

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

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion plugins/ut3/ut3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
//

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

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion plugins/ut99/ut99.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plugins/wolfet/wolfet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 30ec38d

Please sign in to comment.