113 lines
2.6 KiB
C
113 lines
2.6 KiB
C
// Copyright (c) 2016-2018 Easy2D - Nomango
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be included in
|
|
// all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
// THE SOFTWARE.
|
|
//
|
|
// Website: https://www.easy2d.cn
|
|
// Source Code: https://github.com/easy2d/easy2d
|
|
//
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
//
|
|
// core
|
|
//
|
|
|
|
#include "core/macros.h"
|
|
#include "core/modules.h"
|
|
#include "core/render.h"
|
|
#include "core/window.h"
|
|
#include "core/input.h"
|
|
#include "core/time.h"
|
|
#include "core/logs.h"
|
|
|
|
#include "core/Font.hpp"
|
|
#include "core/Color.h"
|
|
#include "core/Resource.h"
|
|
#include "core/Transform.hpp"
|
|
#include "core/TextStyle.hpp"
|
|
|
|
#include "core/Object.h"
|
|
#include "core/Image.h"
|
|
#include "core/Frames.h"
|
|
#include "core/Geometry.h"
|
|
#include "core/Task.h"
|
|
#include "core/TaskManager.h"
|
|
#include "core/Action.h"
|
|
#include "core/ActionGroup.h"
|
|
#include "core/ActionTween.h"
|
|
#include "core/ActionHelper.h"
|
|
#include "core/Animation.h"
|
|
#include "core/ActionManager.h"
|
|
#include "core/Transition.h"
|
|
|
|
#include "core/Event.hpp"
|
|
#include "core/EventListener.h"
|
|
#include "core/EventDispatcher.h"
|
|
|
|
#include "core/Node.h"
|
|
#include "core/Scene.h"
|
|
#include "core/Sprite.h"
|
|
#include "core/Text.h"
|
|
#include "core/Canvas.h"
|
|
#include "core/GeometryNode.h"
|
|
#include "core/DebugNode.h"
|
|
|
|
#include "core/Application.h"
|
|
|
|
|
|
//
|
|
// math
|
|
//
|
|
|
|
#include "math/constants.hpp"
|
|
#include "math/scalar.hpp"
|
|
#include "math/ease.hpp"
|
|
#include "math/vector.hpp"
|
|
#include "math/rand.h"
|
|
#include "math/Matrix.hpp"
|
|
|
|
|
|
//
|
|
// audio
|
|
//
|
|
|
|
#include "audio/audio.h"
|
|
#include "audio/Music.h"
|
|
#include "audio/Player.h"
|
|
|
|
|
|
//
|
|
// utils
|
|
//
|
|
|
|
#include "utils/Path.h"
|
|
#include "utils/Data.h"
|
|
#include "utils/File.h"
|
|
#include "utils/ResLoader.h"
|
|
|
|
|
|
//
|
|
// ui
|
|
//
|
|
|
|
#include "ui/Button.h"
|
|
#include "ui/Menu.h"
|