Update FNFSB.cpp
removed stuffs
This commit is contained in:
parent
3cae7e0924
commit
29908aba9b
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#pragma comment(lib, "Ws2_32.lib")
|
#pragma comment(lib, "Ws2_32.lib")
|
||||||
|
|
||||||
#define clamp( x, xmin, xmax ) min( xmax, max( x, xmin ) )
|
|
||||||
|
|
||||||
DWORD BaseAddress4 = 0x00400000;
|
DWORD BaseAddress4 = 0x00400000;
|
||||||
int horizontal4 = 0;
|
int horizontal4 = 0;
|
||||||
int vertical4 = 0;
|
int vertical4 = 0;
|
||||||
@ -43,15 +41,11 @@ DWORD WINAPI DefWindowProcART4(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
switch (message)
|
switch (message)
|
||||||
{
|
{
|
||||||
case WM_LBUTTONDOWN:
|
case WM_LBUTTONDOWN:
|
||||||
SetCapture(hWnd);
|
|
||||||
xClick = LOWORD(lParam);
|
|
||||||
yClick = HIWORD(lParam);
|
|
||||||
injector::WriteMemory<BYTE>((0x576CF + BaseAddress4), 0x01, true);
|
injector::WriteMemory<BYTE>((0x576CF + BaseAddress4), 0x01, true);
|
||||||
movable4 = true;
|
movable4 = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_LBUTTONUP:
|
case WM_LBUTTONUP:
|
||||||
ReleaseCapture();
|
|
||||||
injector::WriteMemory<BYTE>((0x576CF + BaseAddress4), 0x00, true);
|
injector::WriteMemory<BYTE>((0x576CF + BaseAddress4), 0x00, true);
|
||||||
movable4 = false;
|
movable4 = false;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user