/
vtx.h
63 lines (52 loc) · 1.14 KB
/
vtx.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
vtx.h
ライブラリのヘッダファイル
15/05/21
Naoki Nakagawa
*/
#pragma once
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")
#pragma comment(lib, "dinput8.lib")
#pragma comment(lib, "XInput.lib")
#pragma comment(lib, "dxguid.lib")
// C++系
#include <vector>
#include <memory>
#include <random>
// Windows系
#include <Windows.h>
#include <tchar.h>
// DirectX系
#include <d3d9.h>
#include <d3dx9.h>
#include <dinput.h>
#include <XInput.h>
// vtxライブラリ系
#include "App.h"
#include "Render.h"
#include "Resource.h"
#include "Input.h"
#include "Math.h"
//#define Main() WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPravInstance, LPSTR lpCmdLine, int nCmdShow)
namespace vtx
{
extern std::unique_ptr<App> app;
extern std::unique_ptr<Render> render;
extern std::unique_ptr<Input> input;
extern std::unique_ptr<Math> math;
//--------------------------------------------------
// クラス
//--------------------------------------------------
// ライブラリクラス
class Lib
{
public:
// コンストラクタ
Lib();
// コンストラクタ
Lib(TCHAR *title, int width, int height, bool isFullScreen);
// デストラクタ
~Lib();
};
}