1
0
Fork 0

Update DiabloUI.h

pull/10/head
galaxyhaxz 2018-06-09 05:25:18 -05:00 committed by GitHub
parent bad103a5d2
commit 9f5253d004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 41 additions and 20 deletions

View File

@ -1,24 +1,45 @@
/*
* Diablo(TM)
*
* Copyright (C) 1996 Blizzard Entertainment
* All Rights Reserved.
*
* DiabloUI.h
* definitions for DiabloUI
*/
// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the DIABLOUI_EXPORTS #ifdef __GNUC__
// symbol defined on the command line. this symbol should not be defined on any project extern "C" {
// that uses this DLL. This way any other project whose source files include this file see
// DIABLOUI_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef DIABLOUI_EXPORTS
#define DIABLOUI_API __declspec(dllexport)
#else
#define DIABLOUI_API __declspec(dllimport)
#endif #endif
// This class is exported from the DiabloUI.dll void __cdecl UiDestroy(); // { return; }
class DIABLOUI_API CDiabloUI { void __stdcall UiTitleDialog(int a1); // { return; }
public: void __cdecl UiInitialize(); // { return; }
CDiabloUI(void); void __stdcall UiCopyProtError(int a1); // { return; }
// TODO: add your methods here. void __stdcall UiAppActivate(int a1); // { return; }
}; int __stdcall UiValidPlayerName(char *a1); // { return 0; }
int __stdcall UiSelHeroMultDialog(void *fninfo, void *fncreate, void *fnremove, void *fnstats, int *a5, int *a6, char *name); // { return 0; }
extern DIABLOUI_API int nDiabloUI; int __stdcall UiSelHeroSingDialog(void *fninfo, void *fncreate, void *fnremove, void *fnstats, int *a5, char *name, int *difficulty); // { return 0; }
void __stdcall UiCreditsDialog(int a1); // { return; }
DIABLOUI_API int fnDiabloUI(void); int __stdcall UiMainMenuDialog(char *name, int *a2, void *fnSound, int a4); // { return 0; }
int __stdcall UiProgressDialog(HWND window, char *msg, int a3, void *fnfunc, int a5); // { return 0; }
int __cdecl UiProfileGetString(); // { return; }
void __cdecl UiProfileCallback(); // { return; }
void __cdecl UiProfileDraw(); // { return; }
void __cdecl UiCategoryCallback(); // { return; }
void __cdecl UiGetDataCallback(); // { return; }
void __cdecl UiAuthCallback(); // { return; }
void __cdecl UiSoundCallback(); // { return; }
void __cdecl UiMessageBoxCallback(); // { return; }
void __cdecl UiDrawDescCallback(); // { return; }
void __cdecl UiCreateGameCallback(); // { return; }
void __cdecl UiArtCallback(); // { return; }
int __stdcall UiSelectGame(int a1, _SNETPROGRAMDATA *client_info, _SNETPLAYERDATA *user_info, _SNETUIDATA *ui_info, _SNETVERSIONDATA *file_info, int *a6); // { return 0; }
int __stdcall UiSelectProvider(int a1, _SNETPROGRAMDATA *client_info, _SNETPLAYERDATA *user_info, _SNETUIDATA *ui_info, _SNETVERSIONDATA *file_info, int *type); // { return 0; }
int __stdcall UiCreatePlayerDescription(_uiheroinfo *info, int mode, char *desc); // { return 0; }
int __stdcall UiSetupPlayerInfo(char *str, _uiheroinfo *info, int mode); // { return 0; }
#ifdef __GNUC__
}
#endif