-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sys_Include.h
39 lines (29 loc) · 1.13 KB
/
Sys_Include.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef _SYS_INCLUDE_
#define _SYS_INCLUDE_
//-------------------------------------------------
//SysInclude
//-------------------------------------------------
#define STRICT
#include <windows.h> // Windowsプログラムにはこれを付ける
#include <tchar.h> // 汎用テキスト マッピング
#include <stdio.h> // 文字列処理で必要
#include <stdlib.h>
#include <time.h>
#include <crtdbg.h>
#include <mmsystem.h> // 時間管理で使用
#include <d3d9.h> // DirectX Graphics 関連のヘッダー
#include <d3dx9.h> // DirectX Graphics 関連のヘッダー
#include <string.h>
#define DIRECTINPUT_VERSION 0x0800 // DirectX8 を明示
#include <dinput.h> // DirectInput 関連のヘッダー
//------------------------------------------------
//SysObjectInclude
//-------- ライブラリのリンク(こう記述しておけば別途リンク設定が不要となる)
#pragma comment(lib, "winmm.lib")
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")
#pragma comment(lib, "dxguid.lib")
#pragma comment(lib, "dinput8.lib")
#pragma warning( disable : 4996 ) // disable deprecated warning
#pragma warning( default : 4996 ) //無視する警告
#endif