-
Notifications
You must be signed in to change notification settings - Fork 13
/
m_GameFilter.h
61 lines (33 loc) · 1.13 KB
/
m_GameFilter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifdef FUNCTION_DECLARE
#define MODULE_GAMEFILTER
void D2MCPPacketHandler_05_Patch_ASM();
void CreateGameBoxPatch_ASM();
void __stdcall DestroyGamelistPatch( D2EditBox* pListBox );
void GameListRefreshTimePatch_ASM();
void DrawGameListPatch_ASM();
#endif
#ifdef VARIABLE_DEFINE
GVAR (BOOL, fGameFilter, FALSE)
#endif
#ifdef PATH_INSTALL
{PatchCALL, DLLOFFSET(D2WIN , 0x6F8F3E51), (DWORD)DrawGameListPatch_ASM, 5, &fGameFilter},
#endif
#ifdef PATH_INSTALL2
{PatchCALL, DLLOFFSET(D2MCPCLIENT, 0x6FA26380), (DWORD)D2MCPPacketHandler_05_Patch_ASM, 5 , &fGameFilter},
{PatchCALL, DLLOFFSET(D2MULTI, 0x6F9E48CF), (DWORD)CreateGameBoxPatch_ASM, 5 , &fGameFilter},
{PatchCALL, DLLOFFSET(D2MULTI, 0x6F9E1CA3), (DWORD)DestroyGamelistPatch, 5 , &fGameFilter},
{PatchCALL, DLLOFFSET(D2MULTI, 0x6F9DDB4E), (DWORD)GameListRefreshTimePatch_ASM, 7 , &fGameFilter},
#endif
#ifdef CONFIG_LOAD
{2, "GameFilterSupport", &fGameFilter, 4},
#endif
#ifdef RUN_ONCE
#endif
#ifdef RUN_LOOP
#endif
#ifdef RUN_ENDGAME
#endif
#ifdef INIT_VALUE
#endif
#ifdef FIX_VALUE
#endif