stoneage8.5/石器时代8.5客户端最新源代码/石器源码/systeminc/main.h

56 lines
1.7 KiB
C
Raw Permalink Normal View History

2020-06-23 15:53:23 +08:00
// main.cpp ???????
2020-06-23 15:27:59 +08:00
#ifndef _MAIN_H_
#define _MAIN_H_
#include "version.h"
//---------------------------------------------------------------------------//
2020-06-23 15:53:23 +08:00
// ?? ㄩ????define)‥? //
2020-06-23 15:27:59 +08:00
//---------------------------------------------------------------------------//
extern int DEF_APPSIZEX;
extern int DEF_APPSIZEY;
extern int SCREEN_WIDTH_CENTER;
extern int SCREEN_HEIGHT_CENTER;
//---------------------------------------------------------------------------//
2020-06-23 15:53:23 +08:00
// ?? ㄩ????????‥? //
2020-06-23 15:27:59 +08:00
//---------------------------------------------------------------------------//
int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ); // ?????
LRESULT CALLBACK PASCAL WindMsgProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); //??????????
BOOL SystemTask( void ); // ??????????
2020-06-23 15:53:23 +08:00
// ?????阪?
2020-06-23 15:27:59 +08:00
extern HWND hWnd; // ?????????
extern BOOL WindowMode; // ????????
extern int ResoMode;
2020-06-23 15:53:23 +08:00
extern int LowResoCmdFlag; // ??冉阪????????
2020-06-23 15:27:59 +08:00
extern int CmdShow; // Wi5nMain??????????????
extern LPSTR CmdLine; // WinMain?????????????????????
2020-06-23 15:53:23 +08:00
extern HANDLE hMutex; // 可??去???????????????
2020-06-23 15:27:59 +08:00
extern char realBinName[];
extern char adrnBinName[];
extern char sprBinName[];
extern char sprAdrnBinName[];
#ifdef _READ16BITBMP
extern char realtrueBinName[];
extern char adrntrueBinName[];
#endif
//add jeffrey
extern struct gameserver gmsv[];
extern struct gamegroup gmgroup[];
//end
extern BOOL offlineFlag;
extern char DebugKey0[ 256 ];
extern char DebugKey1[ 256 ];
extern char DebugKey2[ 256 ];
#endif