-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.hpp
More file actions
78 lines (66 loc) · 2.29 KB
/
Copy pathgame.hpp
File metadata and controls
78 lines (66 loc) · 2.29 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#pragma once
#include <SDL2/SDL.h>
/**
* 为兼容 Windows 而变得丑陋
*
* vcpkg 不直接提供 SDL2main
* SDL2.h 把 main 改名为 SDL_main 了
* 导致 MSVC 连接器找不到程序入口
*
* 手动链接会引发别的问题,比如跟默认库冲突
* (否则 vcpkg 作者肯定脑子有坑才会整出“手动链接”这种脱了裤子那啥的活)
*/
#ifdef main
#undef main
#endif
#include "cosmos.hpp"
#include "matter.hpp"
#include "misc.hpp"
#include "graphics/dc.hpp"
#include "graphics/font.hpp"
#include "graphics/texture.hpp"
#include "graphics/ruler.hpp"
#include "graphics/misc.hpp"
#include "matter/atlas.hpp"
#include "matter/planet.hpp"
#include "matter/sprite.hpp"
#include "matter/sprite/folder.hpp"
#include "matter/sprite/sheet.hpp"
#include "matter/sprite/mascot/tuxmon.hpp"
#include "matter/sprite/mascot/coinlet.hpp"
#include "matter/sprite/mascot/character.hpp"
#include "matter/sprite/mascot/creature.hpp"
#include "matter/sprite/mascot/atlas/mario.hpp"
#include "matter/sprite/mascot/atlas/planetcute.hpp"
#include "matter/sprite/mascot/agent/linkmon.hpp"
#include "matter/graphlet.hpp"
#include "matter/canvaslet.hpp"
#include "matter/graphlet/textlet.hpp"
#include "matter/graphlet/shapelet.hpp"
#include "matter/graphlet/tracklet.hpp"
#include "matter/graphlet/dimensionlet.hpp"
#include "matter/graphlet/chromalet.hpp"
#include "matter/graphlet/plot/historylet.hpp"
#include "matter/graphlet/plot/radarlet.hpp"
#include "physics/random.hpp"
#include "physics/mathematics.hpp"
#include "physics/color/rgba.hpp"
#include "physics/color/CIE.hpp"
#include "physics/color/names.hpp"
#include "physics/algebra/vector.hpp"
#include "physics/algebra/matrix.hpp"
#include "physics/geometry/port.hpp"
#include "physics/geometry/vertices.hpp"
#include "physics/geometry/aabox.hpp"
#include "physics/geometry/margin.hpp"
#include "physics/motion/platformer.hpp"
#include "physics/motion/map2d.hpp"
#include "datum/flonum.hpp"
#include "datum/fixnum.hpp"
#include "datum/string.hpp"
#include "datum/path.hpp"
#include "datum/vector.hpp"
#include "virtualization/filesystem/imgdb.hpp"
#include "virtualization/position.hpp"
/*************************************************************************************************/
#define isinstance(object, Type) (dynamic_cast<Type*>(object) != nullptr)