refactor all common parts and games

This commit is contained in:
2025-04-17 19:31:37 +02:00
parent a6126bf290
commit 66a53dd2de
496 changed files with 233 additions and 344 deletions

21
common/platform/dns.h Normal file
View File

@ -0,0 +1,21 @@
#pragma once
#include <windows.h>
#include <stdbool.h>
#include <stddef.h>
struct dns_config {
bool enable;
wchar_t router[128];
wchar_t startup[128];
wchar_t billing[128];
wchar_t aimedb[128];
wchar_t title[128];
bool replaceHost;
unsigned short startupPort;
unsigned short billingPort;
unsigned short aimedbPort;
};
HRESULT dns_platform_hook_init(const struct dns_config *cfg);