Kiwano Engine v1.3.x
kiwano.h
1// Copyright (c) 2016-2018 Kiwano - Nomango
2//
3// Permission is hereby granted, free of charge, to any person obtaining a copy
4// of this software and associated documentation files (the "Software"), to deal
5// in the Software without restriction, including without limitation the rights
6// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7// copies of the Software, and to permit persons to whom the Software is
8// furnished to do so, subject to the following conditions:
9//
10// The above copyright notice and this permission notice shall be included in
11// all copies or substantial portions of the Software.
12//
13// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19// THE SOFTWARE.
20//
21// Website: https://www.kiwanoengine.com
22// Source Code: https://github.com/KiwanoEngine/Kiwano
23//
24
25#pragma once
26
27#include <kiwano/macros.h>
28
29//
30// math
31//
32
33#include <kiwano/math/Vec2.hpp>
34#include <kiwano/math/Rect.hpp>
35#include <kiwano/math/Matrix.hpp>
36#include <kiwano/math/Transform.hpp>
37#include <kiwano/math/Constants.h>
38#include <kiwano/math/EaseFunctions.h>
39#include <kiwano/math/Random.h>
40#include <kiwano/math/Scalar.h>
41#include <kiwano/math/Interpolator.h>
42
43//
44// core
45//
46
47#include <kiwano/core/Common.h>
48#include <kiwano/core/Defer.h>
49#include <kiwano/core/Resource.h>
50#include <kiwano/core/RefBasePtr.hpp>
51#include <kiwano/core/Time.h>
52
53//
54// event
55//
56
57#include <kiwano/event/Event.h>
58#include <kiwano/event/KeyEvent.h>
59#include <kiwano/event/MouseEvent.h>
60#include <kiwano/event/WindowEvent.h>
61#include <kiwano/event/listener/EventListener.h>
62#include <kiwano/event/listener/MouseEventListener.h>
63#include <kiwano/event/listener/KeyEventListener.h>
64#include <kiwano/event/EventDispatcher.h>
65
66//
67// base
68//
69
70#include <kiwano/base/RefObject.h>
71#include <kiwano/base/ObjectBase.h>
72#include <kiwano/base/Director.h>
73#include <kiwano/base/Module.h>
74#include <kiwano/base/component/Component.h>
75#include <kiwano/base/component/ComponentManager.h>
76#include <kiwano/base/component/MouseSensor.h>
77#include <kiwano/base/component/Button.h>
78
79//
80// renderer
81//
82
83#include <kiwano/render/Color.h>
84#include <kiwano/render/Font.h>
85#include <kiwano/render/Shape.h>
86#include <kiwano/render/ShapeMaker.h>
87#include <kiwano/render/Texture.h>
88#include <kiwano/render/GifImage.h>
89#include <kiwano/render/Layer.h>
90#include <kiwano/render/TextLayout.h>
91#include <kiwano/render/TextureCache.h>
92#include <kiwano/render/Renderer.h>
93
94//
95// 2d
96//
97
98#include <kiwano/2d/Actor.h>
99#include <kiwano/2d/Canvas.h>
100#include <kiwano/2d/DebugActor.h>
101#include <kiwano/2d/GifSprite.h>
102#include <kiwano/2d/LayerActor.h>
103#include <kiwano/2d/ShapeActor.h>
104#include <kiwano/2d/SpriteFrame.h>
105#include <kiwano/2d/Sprite.h>
106#include <kiwano/2d/Stage.h>
107#include <kiwano/2d/TextActor.h>
108
109//
110// transition
111//
112
113#include <kiwano/2d/transition/Transition.h>
114#include <kiwano/2d/transition/BoxTransition.h>
115#include <kiwano/2d/transition/FadeTransition.h>
116#include <kiwano/2d/transition/MoveTransition.h>
117#include <kiwano/2d/transition/RotationTransition.h>
118
119//
120// animation
121//
122
123#include <kiwano/2d/animation/Animation.h>
124#include <kiwano/2d/animation/DelayAnimation.h>
125#include <kiwano/2d/animation/AnimationGroup.h>
126#include <kiwano/2d/animation/TweenAnimation.h>
127#include <kiwano/2d/animation/PathAnimation.h>
128#include <kiwano/2d/animation/FrameSequence.h>
129#include <kiwano/2d/animation/FrameAnimation.h>
130#include <kiwano/2d/animation/Animator.h>
131#include <kiwano/2d/animation/AnimationWrapper.h>
132
133//
134// platform
135//
136
137#include <kiwano/platform/Window.h>
138#include <kiwano/platform/Runner.h>
139#include <kiwano/platform/Application.h>
140#include <kiwano/platform/FileSystem.h>
141#include <kiwano/platform/Input.h>
142
143//
144// utils
145//
146
147#include <kiwano/utils/Logger.h>
148#include <kiwano/utils/ResourceCache.h>
149#include <kiwano/utils/ResourceLoader.h>
150#include <kiwano/utils/UserData.h>
151#include <kiwano/utils/Timer.h>
152#include <kiwano/utils/Ticker.h>
153#include <kiwano/utils/EventTicker.h>
154#include <kiwano/utils/Task.h>
155#include <kiwano/utils/TaskScheduler.h>
156#include <kiwano/utils/ConfigIni.h>