SDXFrameWork  0.04
SDXFrameWork
 全て クラス ネームスペース 関数 変数 ページ
SDXafx.h
1 #pragma once
2 #include <Framework/Hit.h>
3 
4 //多重定義の関係でプリコンパイル済みヘッダーにのみインクルードするヘッダー
5 #ifdef DXLIB
6 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
7 {
8  main(0, nullptr);
9 }
10 #endif
11 
12 namespace SDX
13 {
14 
15 Camera* Camera::cameraNow;
16 
17 std::mt19937 Rand::engine;
18 
19 const Color Color::Black(0x00,0x00,0x00);
20 const Color Color::Dilver(0xc0, 0xc0, 0xc0);
21 const Color Color::Gray(0x80, 0x80, 0x80);
22 const Color Color::White(0xff, 0xff, 0xff);
23 const Color Color::Maroon(0x80, 0x00, 0x00);
24 const Color Color::Red(0xff, 0x00, 0x00);
25 const Color Color::Purple(0x80, 0x00, 0x80);
26 const Color Color::Fuchsia(0xff, 0x00, 0xff);
27 const Color Color::Green(0x00, 0x80, 0x00);
28 const Color Color::Lime(0x00, 0xff, 0x00);
29 const Color Color::Olive(0x80, 0x80, 0x00);
30 const Color Color::Yellow(0xff, 0xff, 0x00);
31 const Color Color::Navy(0x00, 0x00, 0x80);
32 const Color Color::Blue(0x00, 0x00, 0xff);
33 const Color Color::Teal(0x00, 0x80, 0x80);
34 const Color Color::Aqua(0x00, 0xff, 0xff);
35 
36 int Input::handle;
37 Joypad Input::pad;
38 Mouse Input::mouse;
39 Keyboard Input::key;
40 
41 }