mirror of
https://github.com/ineedbots/cod2m.git
synced 2025-04-19 16:02:53 +00:00
not doing SP (for now)
This commit is contained in:
parent
44e850d305
commit
9564dcec13
1
src/Game/MP/Game.cpp
Normal file
1
src/Game/MP/Game.cpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "STDInclude.hpp"
|
@ -1,9 +0,0 @@
|
|||||||
#include "STDInclude.hpp"
|
|
||||||
|
|
||||||
namespace SP
|
|
||||||
{
|
|
||||||
void PatchT4()
|
|
||||||
{
|
|
||||||
MessageBoxA(nullptr, "SP", "DEBUG", 0);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
namespace SP
|
|
||||||
{
|
|
||||||
void PatchT4();
|
|
||||||
}
|
|
@ -32,8 +32,6 @@ namespace Main
|
|||||||
DWORD dataStrData = Utils::Hook::Get<DWORD>(0x59B69C);
|
DWORD dataStrData = Utils::Hook::Get<DWORD>(0x59B69C);
|
||||||
if (dataStrData == 0x6C6C6143)
|
if (dataStrData == 0x6C6C6143)
|
||||||
MP::PatchT4();
|
MP::PatchT4();
|
||||||
else
|
|
||||||
SP::PatchT4();
|
|
||||||
|
|
||||||
hModule = GetModuleHandle(NULL);
|
hModule = GetModuleHandle(NULL);
|
||||||
PIMAGE_DOS_HEADER header = (PIMAGE_DOS_HEADER)hModule;
|
PIMAGE_DOS_HEADER header = (PIMAGE_DOS_HEADER)hModule;
|
||||||
|
@ -84,7 +84,6 @@ template <size_t S> class Sizer { };
|
|||||||
#include "Utils/Hooking.hpp"
|
#include "Utils/Hooking.hpp"
|
||||||
|
|
||||||
#include "Game/MP.hpp"
|
#include "Game/MP.hpp"
|
||||||
#include "Game/SP.hpp"
|
|
||||||
|
|
||||||
// Libraries
|
// Libraries
|
||||||
#pragma comment(lib, "Winmm.lib")
|
#pragma comment(lib, "Winmm.lib")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user