You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
767 B
29 lines
767 B
/** |
|
* @file init.h |
|
* |
|
* Interface of routines for initializing the environment, disable screen saver, load MPQ. |
|
*/ |
|
#ifndef __INIT_H__ |
|
#define __INIT_H__ |
|
|
|
extern _SNETVERSIONDATA fileinfo; |
|
extern int gbActive; |
|
extern WNDPROC CurrentProc; |
|
extern HANDLE diabdat_mpq; |
|
#ifdef HELLFIRE |
|
extern HANDLE hfbard_mpq; |
|
extern HANDLE hfbarb_mpq; |
|
#endif |
|
|
|
void init_cleanup(BOOL show_cursor); |
|
void init_create_window(int nCmdShow); |
|
LRESULT __stdcall MainWndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam); |
|
LRESULT __stdcall WindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam); |
|
WNDPROC SetWindowProc(WNDPROC NewProc); |
|
|
|
/* data */ |
|
|
|
extern char gszVersionNumber[MAX_PATH]; |
|
extern char gszProductName[MAX_PATH]; |
|
|
|
#endif /* __INIT_H__ */
|
|
|