diff --git a/DiabloUI/DiabloUI.cpp b/DiabloUI/DiabloUI.cpp index 0163e35..de24b4b 100644 --- a/DiabloUI/DiabloUI.cpp +++ b/DiabloUI/DiabloUI.cpp @@ -1,7 +1,21 @@ // DiabloUI.cpp : Defines the entry point for the DLL application. // -#include "stdafx.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "..\structs.h" #include "DiabloUI.h" BOOL APIENTRY DllMain( HANDLE hModule, @@ -20,38 +34,6 @@ BOOL APIENTRY DllMain( HANDLE hModule, return TRUE; } - -// This is an example of an exported variable -DIABLOUI_API int nDiabloUI=0; - -// This is an example of an exported function. -DIABLOUI_API int fnDiabloUI(void) -{ - return 42; -} - -// This is the constructor of a class that has been exported. -// see DiabloUI.h for the class definition -CDiabloUI::CDiabloUI() -{ - return; -} - -struct _SNETPROGRAMDATA { - int a1; -}; -struct _SNETPLAYERDATA { - int a1; -}; -struct _SNETUIDATA { - int a1; -}; -struct _SNETVERSIONDATA { - int a1; -}; -struct _uiheroinfo { - int a1; -}; void __cdecl UiDestroy() { return; } void __stdcall UiTitleDialog(int a1) { return; } void __cdecl UiInitialize() { return; }