XMudClient.h
上传用户:garry_shen
上传日期:2015-04-15
资源大小:45647k
文件大小:7k
- // XMudClient.h : main header file for the XMUDCLIENT application
- //
- #if !defined(AFX_XMUDCLIENT_H__80F76C24_5954_11D3_BA84_0000E8A021D8__INCLUDED_)
- #define AFX_XMUDCLIENT_H__80F76C24_5954_11D3_BA84_0000E8A021D8__INCLUDED_
- #include "3DSound.h"
- #include "Getdxver.h"
- #include "MesssageWnd.h"
- // Spock start
- #define MAXLOADMAPTIME 30
- // Spock end
- #define SAFE_RELEASE(x) if (x != NULL) {x->Release(); x = NULL;}
- #define RELEASE(x) if (x != NULL) {x->Release(); x = NULL;}
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #ifdef _DIRECTX7
- #define LPDIRECTDRAW LPDIRECTDRAW7
- #define DIRECTDRAW DIRECTDRAW7
- #define IDirectDraw IDirectDraw7
- #define LPDDSCAPS LPDDSCAPS2
- #define DDSCAPS DDSCAPS2
- #define LPDDSURFACEDESC LPDDSURFACEDESC2
- #define DDSURFACEDESC DDSURFACEDESC2
- #define LPDIRECTDRAWSURFACE LPDIRECTDRAWSURFACE7
- #define DIRECTDRAWSURFACE DIRECTDRAWSURFACE7
- #define IDirectDrawSurface IDirectDrawSurface7
- #endif
- #define UM_SERVERMSG WM_USER
- #define UM_MSG_ABORT WM_USER+1
- #define UM_CHANGEMAP WM_USER+2
- #define UM_SERBREAK WM_USER+3
- #define UM_SERVERACTIVEMSG WM_USER+4
- #define UM_MSG_ABORTOK WM_USER+5
- #define WSA_GAME WM_USER+6
- #define SZVERSION "代刚