2018-10-03 22:02:46 +08:00
|
|
|
// 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/Nomango/Easy2D
|
|
|
|
|
//
|
2017-09-10 23:56:52 +08:00
|
|
|
|
2017-12-11 18:17:24 +08:00
|
|
|
|
2017-09-10 23:56:52 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
2018-11-08 21:39:26 +08:00
|
|
|
//
|
|
|
|
|
// base
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#include "base/macros.h"
|
|
|
|
|
#include "base/base.h"
|
|
|
|
|
#include "base/modules.h"
|
|
|
|
|
#include "base/render.h"
|
|
|
|
|
#include "base/window.h"
|
|
|
|
|
#include "base/input.h"
|
|
|
|
|
#include "base/audio.h"
|
|
|
|
|
#include "base/time.h"
|
|
|
|
|
#include "base/logs.h"
|
|
|
|
|
|
|
|
|
|
#include "base/Size.h"
|
|
|
|
|
#include "base/Rect.hpp"
|
|
|
|
|
#include "base/Font.h"
|
|
|
|
|
#include "base/Color.h"
|
|
|
|
|
#include "base/Resource.h"
|
|
|
|
|
|
|
|
|
|
#include "base/RefCounter.h"
|
|
|
|
|
#include "base/Image.h"
|
|
|
|
|
#include "base/Scene.h"
|
|
|
|
|
#include "base/Node.h"
|
|
|
|
|
#include "base/Sprite.h"
|
|
|
|
|
#include "base/Task.h"
|
|
|
|
|
#include "base/Text.h"
|
|
|
|
|
#include "base/Action.h"
|
|
|
|
|
#include "base/ActionCombined.h"
|
|
|
|
|
#include "base/ActionFiniteTime.h"
|
|
|
|
|
#include "base/Animation.h"
|
|
|
|
|
#include "base/CallFunc.h"
|
|
|
|
|
#include "base/Canvas.h"
|
|
|
|
|
#include "base/Transition.h"
|
|
|
|
|
|
|
|
|
|
#include "base/KeyEvent.h"
|
|
|
|
|
#include "base/MouseEvent.h"
|
|
|
|
|
|
|
|
|
|
#include "base/Game.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// math
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#include "math/scalar.hpp"
|
|
|
|
|
#include "math/vector.hpp"
|
|
|
|
|
#include "math/Matrix.hpp"
|
|
|
|
|
#include "math/Transform.h"
|
|
|
|
|
#include "math/rand.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// utils
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#include "utils/Path.h"
|
|
|
|
|
#include "utils/Data.h"
|
|
|
|
|
#include "utils/File.h"
|
|
|
|
|
#include "utils/Transcoder.h"
|
|
|
|
|
#include "utils/Music.h"
|
|
|
|
|
#include "utils/Player.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// ui
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#include "ui/Button.h"
|
|
|
|
|
#include "ui/Menu.h"
|
2017-09-29 17:30:37 +08:00
|
|
|
|
2017-10-12 02:44:44 +08:00
|
|
|
|
2017-10-13 11:42:36 +08:00
|
|
|
#if defined(DEBUG) || defined(_DEBUG)
|
2018-05-25 00:33:46 +08:00
|
|
|
# pragma comment(lib, "Easy2Ddw.lib")
|
2017-10-13 11:42:36 +08:00
|
|
|
#else
|
2018-05-25 00:33:46 +08:00
|
|
|
# pragma comment(lib, "Easy2Dw.lib")
|
2017-10-05 00:53:03 +08:00
|
|
|
#endif
|