1 // -------------------------------------------------------------------------------
2 //
3 //         DXライブラリ        データタイプ定義ヘッダファイル
4 //
5 //                 Ver 3.22c
6 //
7 // -------------------------------------------------------------------------------
8 module dxlib_d.DxDataType;
9 
10 
11 // インクルード ------------------------------------------------------------------
12 public import core.stdc.stdio;
13 public import dxlib_d.DxCompileConfig;
14 public import dxlib_d.DxDataType;
15 public import dxlib_d.DxDataTypeAndroid;
16 public import dxlib_d.DxDataTypeiOS;
17 public import dxlib_d.DxDataTypeWin;
18 
19 //version (iOS) {
20 	//#include "TargetConditionals.h"
21 //}
22 
23 pragma(inline, true)
24 pure nothrow @safe @nogc @live
25 void SETRECT(ref .RECT Dest, .LONG Left, .LONG Top, .LONG Right, .LONG Bottom)
26 
27 	do
28 	{
29 		Dest.left = Left;
30 		Dest.top = Top;
31 		Dest.right = Right;
32 		Dest.bottom = Bottom;
33 	}
34 
35 extern (C++, DxLib) {
36 	// マクロ定義 --------------------------------------------------------------------
37 
38 	/+
39 	version (USE_ULL) {
40 		#define ULL_NUM(x) (x##ULL)
41 		#define LL_NUM(x) (x##LL)
42 		#define ULL_PARAM(x) x##ULL
43 		#define LL_PARAM(x) x##LL
44 	} else {
45 		#define ULL_NUM(x) ((ULONGLONG) x)
46 		#define LL_NUM(x) ((LONGLONG) x)
47 		#define ULL_PARAM(x) x
48 		#define LL_PARAM(x) x
49 	}
50 	+/
51 
52 	// 構造体定義 --------------------------------------------------------------------
53 
54 	// RGBA色構造体
55 	struct RGBCOLOR
56 	{
57 		ubyte Blue;
58 		ubyte Green;
59 		ubyte Red;
60 		ubyte Alpha;
61 	}
62 
63 	// テーブル-----------------------------------------------------------------------
64 
65 	// 内部大域変数宣言 --------------------------------------------------------------
66 
67 	// 関数プロトタイプ宣言-----------------------------------------------------------
68 }