Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Commit

Permalink
Removed spammy feature install messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Nishimura-Katsuo committed Jul 3, 2020
1 parent 914ddec commit 9130ac0
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 15 deletions.
1 change: 0 additions & 1 deletion features/AlwaysD3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ namespace AlwaysD3D {
class : public Feature {
public:
void init() {
gamelog << COLOR(4) << "Always D3D installed..." << std::endl;
// Prevent this MoveWindow call since it pushes the window off the screen.
MemoryPatch(0x4f5b8b) << CALL(SetWindowPosStub) << ASM::NOP;

Expand Down
2 changes: 0 additions & 2 deletions features/DebugMode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ class : public Feature {
}

void init() {
gamelog << COLOR(4) << "Installing debug mode..." << std::endl;

State["debugMode"] = false;

MemoryPatch(0x476CDC) << CALL(_drawFloor); // Allow disabling the floor.
Expand Down
1 change: 0 additions & 1 deletion features/ExperienceMod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace ExperienceMod {
class : public Feature {
public:
void init() {
gamelog << COLOR(4) << "Installing experience modifier..." << std::endl;
// Rewrite players count modification and leave to our handler - 42 bytes total
MemoryPatch(0x47c4e4)
<< ASM::PUSHAD
Expand Down
2 changes: 1 addition & 1 deletion features/GameLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace GameLog {
DWORD start = 0;
public:
void init() {
gamelog << COLOR(4) << "Game log installed..." << std::endl;
//gamelog << COLOR(4) << "Game log installed..." << std::endl;
}

void gamePostDraw() {
Expand Down
1 change: 0 additions & 1 deletion features/MPQLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ namespace MPQLoader {
class : public Feature {
public:
void init() {
gamelog << COLOR(4) << "MPQ Loader installed..." << std::endl;
MemoryPatch(0x4fac38) << CALL(GetUseDirect);

int argc = 0;
Expand Down
1 change: 0 additions & 1 deletion features/MapReveal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class : public Feature {

public:
void init() {
gamelog << COLOR(4) << "Installing map reveal..." << std::endl;
MemoryPatch(0x4DC000) << ASM::RET; // Disable fade effects from switching areas (so we can reveal sooner)
}

Expand Down
2 changes: 1 addition & 1 deletion features/MapUnits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DWORD ItemRarityColor[32] = { 255, 29, 30, 32, 151, 132, 111, 155, 111 };
class : public Feature {
public:
void init() {
gamelog << COLOR(4) << "Installing unit tracker..." << std::endl;
// gamelog << COLOR(4) << "Installing unit tracker..." << std::endl;
}

void gameUnitPreDraw() {
Expand Down
1 change: 0 additions & 1 deletion features/Misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ HMODULE __stdcall multi(LPSTR Class, LPSTR Window) {
class : public Feature {
public:
void init() {
gamelog << COLOR(4) << "Installing misc patches and features..." << std::endl;
MemoryPatch(0x4F5623) << CALL(multi) << ASM::NOP; // Allow multiple windows open
MemoryPatch(0x476D40) << ASM::RET; // Ignore shaking requests
MemoryPatch(0x43BF60) << ASM::RET; // Prevent battle.net connections
Expand Down
2 changes: 1 addition & 1 deletion features/Omnivision.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Omnivision {
class : public Feature {
public:
void init() {
gamelog << COLOR(4) << "Installing debug omnivision..." << std::endl;
//gamelog << COLOR(4) << "Installing debug omnivision..." << std::endl;
}

void gameLoop() {
Expand Down
2 changes: 0 additions & 2 deletions features/PatchCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ struct DeferredPatch {
class : public Feature {
public:
void init() {
gamelog << COLOR(4) << "Installing patch command..." << std::endl;

ChatInputCallbacks[L"/patch"] = [](std::wstring cmd, InputStream wchat) -> BOOL {
DWORD address;
int size;
Expand Down
1 change: 0 additions & 1 deletion features/Swatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class : public Feature {
}

void init() {
gamelog << COLOR(4) << "Installing color swatch..." << std::endl;
ChatInputCallbacks[L"/swatch"] = [&](std::wstring cmd, InputStream wchat) -> BOOL {
toggleSwatch();
return FALSE;
Expand Down
2 changes: 0 additions & 2 deletions features/Weather.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ namespace Weather {
class : public Feature {
public:
void init() {
gamelog << COLOR(4) << "Installing weather patch..." << std::endl;

MemoryPatch(0x476D23) << CALL(drawWeatherIntercept);

HotkeyCallbacks[VK_INSERT] = [&](LPARAM options) -> BOOL {
Expand Down

0 comments on commit 9130ac0

Please sign in to comment.