⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdafx.h

📁 一个自己写的游戏引擎,用DirectX 写成
💻 H
字号:
//--------------------------------------------------
//  Desc: DLL Export Header
//  Date: 2007.3.11 /update
//  Author: artsylee
//
//  Copyright (C) 2006-2007 artsylee
//
//--------------------------------------------------

#ifndef _STDAFX_H_
#define _STDAFX_H_


#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <mmsystem.h>
#include <stdlib.h>

// convert size_t to int
#pragma warning(disable : 4267)
// std warning
#pragma warning(disable : 4251)

// inline macro
#ifndef ASINLINE
#ifdef _MSC_VER
  #if(_MSC_VER >= 1200)
  #define ASINLINE __forceinline
  #else
  #define ASINLINE __inline
  #endif
#else
  #ifdef __cplusplus
  #define ASINLINE inline
  #else
  #define ASINLINE
  #endif
#endif
#endif

// debug macro
// #ifndef ASDEBUG

// dllexport
#define ASE_EXPORT
#ifdef ASE_EXPORT
#define ASE_DLL	__declspec(dllexport)
#else 
#define ASE_DLL	__declspec(dllimport)
#endif // ASE_EXPORT

#endif // _STDAFX_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -