Noticias:

SMF - Just Installed!

Menú principal

Source Move ServerList

Publicado por Dakosmu, Mar 01, 2023, 03:10 PM

Tema anterior - Siguiente tema

Dakosmu

INFORMACION
Source Move ServerList


IMAGENES
Los visitantes no pueden visualizar imágenes en los mensajes, por favor Regístrate o Inicia Sesión



DESCARGAS

ServerSelWin.h
#pragma once
#define WindowWidth *(GLsizei*)0x00E61E58
#define CWin_SetSize ((void(__thiscall*)(BYTE * pCWin, int nWidth, int nHeight, int eChangedPram)) 0x004AC0B0)
#define ServerSel_SpiriteSetPosition ((void(__thiscall*)(BYTE * CButton, int cx, int cy, int eChangedPram)) 0x00416640)

class CServerSelWin
{
public:
CServerSelWin();
virtual ~CServerSelWin();
void Init();
static void __thiscall SelWin_SetSize(BYTE * pCWin, int nWidth, int nHeight, int eChangedPram);
static void __thiscall SetPositionServerGroupA(BYTE * CButton, int cx, int cy, int eChangedPram);
static void __thiscall SetPositionServerGroupB(BYTE * CButton, int cx, int cy, int eChangedPram);
};

extern CServerSelWin g_ServerSelWin;

ServerSelWin.cpp:
#include "StdAfx.h"
#include "Util.h"
#include "ServerSelWin.h"

CServerSelWin g_ServerSelWin;

CServerSelWin::CServerSelWin()
{
}

CServerSelWin::~CServerSelWin()
{
}

void CServerSelWin::SelWin_SetSize(BYTE * pCWin, int nWidth, int nHeight, int eChangedPram)
{
CWin_SetSize(pCWin, WindowWidth, nHeight, eChangedPram);
}

void CServerSelWin::SetPositionServerGroupA(BYTE * CButton, int cx, int cy, int eChangedPram)
{
cx = (WindowWidth / 2) - 54;
ServerSel_SpiriteSetPosition(CButton, cx, cy, eChangedPram);
}

void CServerSelWin::SetPositionServerGroupB(BYTE * CButton, int cx, int cy, int eChangedPram)
{
cx = (WindowWidth / 2) - 54;
ServerSel_SpiriteSetPosition(CButton, cx, cy, eChangedPram);
}

void CServerSelWin::Init()
{
SetCompleteHook(0xE8, 0x00413EFE, &CServerSelWin::SelWin_SetSize);
SetCompleteHook(0xE8, 0x004140D9, &CServerSelWin::SetPositionServerGroupA);
SetCompleteHook(0xE8, 0x0041412E, &CServerSelWin::SetPositionServerGroupB);
}


CONTRASEÑA
muserverfiles.com


CREDITOS
takumi12


Bon Dia

🡱 🡳