-
Notifications
You must be signed in to change notification settings - Fork 1
/
DrawHook.h
64 lines (57 loc) · 1.67 KB
/
DrawHook.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
62
63
64
extern DWORD TimeOn;
extern DWORD BookTimer;
extern bool Units;
extern bool WelcomedOnce;
void GameDraw();
void GameDraw2();
void DrawConsole();
void DrawUIVars();
void DrawAutomapInfos();
void ScreenHooks();
void RevealActOnce();
void DrawMonsters();
void DrawPos();
void DrawPlines();
void DrawYonTarget();
void AutoTeleDraw();
void LifeManaPercents();
void PlayerInfo();
void VectorsDraw();
void EnumObjects();
void DrawAbsAboveTarget();
DWORD __fastcall D2CLIENT_GetUnitName_STUB(DWORD UnitAny);
VOID ScreenToAutomap(POINT *ptPos, int x, int y);
VOID DrawCross(INT nX, INT nY, DWORD dwColor, BOOL Automap);
void TextHook(INT xPos, INT yPos, DWORD dwColor, BOOL Automap, INT dwFont, BOOL dwCenter, LPSTR Text,...);
void BoxHook(INT x, INT y, INT xSize, INT ySize, DWORD dwColor, DWORD Trans, BOOL Automap);
void TestDraw(void);
void MiniMapCell(int xpos, int ypos, int actnum,int lvlnum, int fileno, long rx, long ry,DWORD ObjID);
void DrawPlayerBlob(int xpos, int ypos,int col);
Level* GetUnitLevel(UnitAny* pUnit);
VOID DrawVectorArrows();
VOID GetPlayerPosition(LPPOINT ptPlayer);
BOOL IsScreenClear(INT nScreen);
VOID GetPlayerPosition2(LPPOINT ptPlayer);
VOID ScreenToAutomapRelative2(LPPOINT ptPos, INT x, INT y);
VOID GetVectorArrows();
INT D2GetScreenSizeX();
INT D2GetScreenSizeY();
Level* GetLevelPointerD(ActMisc *pActMisc, int nLevel);
typedef struct VectorTarget_t
{
POINT ptPos;
INT nType;
DWORD dwTarget;
DWORD dwTargetType;
} VECTOR, *LPVECTOR;
struct Vector {
POINT WPPos;
POINT OtherPos;
POINT QuestPos;
POINT SpecialPos;
DWORD WPID;
DWORD OtherID;
DWORD QuestID;
DWORD SpecialID;
};
extern Vector GlobalVectors;