2026-02-25 06:23:53 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
2026-02-27 20:46:16 +08:00
|
|
|
// Extra2D v3.0 - 统一入口头文件
|
2026-02-25 06:23:53 +08:00
|
|
|
// 包含所有公共 API
|
|
|
|
|
|
2026-02-27 20:46:16 +08:00
|
|
|
// Types
|
|
|
|
|
#include <types/base/types.h>
|
|
|
|
|
#include <types/const/priority.h>
|
|
|
|
|
#include <types/ptr/intrusive_ptr.h>
|
|
|
|
|
#include <types/ptr/ref_counted.h>
|
|
|
|
|
|
|
|
|
|
// Math
|
|
|
|
|
#include <types/math/color.h>
|
|
|
|
|
#include <types/math/rect.h>
|
|
|
|
|
#include <types/math/size.h>
|
|
|
|
|
#include <types/math/transform.h>
|
|
|
|
|
#include <types/math/vec2.h>
|
|
|
|
|
#include <types/math/vec3.h>
|
2026-02-26 01:00:58 +08:00
|
|
|
|
2026-02-27 20:46:16 +08:00
|
|
|
// Core
|
|
|
|
|
#include <core/director.h>
|
|
|
|
|
#include <core/scheduler.h>
|
|
|
|
|
#include <core/service.h>
|
2026-02-26 01:00:58 +08:00
|
|
|
|
2026-02-27 22:59:17 +08:00
|
|
|
// Platform
|
|
|
|
|
#include <platform/sdl2.h>
|
|
|
|
|
#include <platform/input.h>
|
|
|
|
|
#include <platform/window.h>
|
|
|
|
|
#include <platform/file.h>
|
|
|
|
|
|
2026-02-25 06:23:53 +08:00
|
|
|
// Utils
|
2026-02-26 01:00:58 +08:00
|
|
|
#include <utils/logger.h>
|
2026-02-25 06:23:53 +08:00
|
|
|
#include <utils/random.h>
|
2026-02-26 01:00:58 +08:00
|
|
|
|
2026-02-25 06:23:53 +08:00
|
|
|
// Application
|
|
|
|
|
#include <app/application.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __SWITCH__
|
|
|
|
|
#include <switch.h>
|
2026-02-27 19:12:24 +08:00
|
|
|
#endif
|