mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-06 08:05:54 +01:00
Moved more includes from headers to cpp files.
This commit is contained in:
parent
2c1eb4182b
commit
38fc0c402e
@ -46,6 +46,7 @@
|
||||
#include "scene/resources/resource_format_text.h"
|
||||
#include "scene/resources/sphere_shape.h"
|
||||
#include "scene/resources/navigation_mesh.h"
|
||||
#include "scene/3d/navigation_mesh_instance.h"
|
||||
|
||||
uint32_t EditorSceneImporter::get_import_flags() const {
|
||||
if (get_script_instance()) {
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "room_manager_editor_plugin.h"
|
||||
|
||||
#include "editor/spatial_editor_gizmos.h"
|
||||
#include "scene/resources/occluder_shape.h"
|
||||
|
||||
void RoomManagerEditorPlugin::_flip_portals() {
|
||||
if (_room_manager) {
|
||||
|
@ -66,6 +66,7 @@
|
||||
#include "scene/resources/sphere_shape.h"
|
||||
#include "scene/resources/surface_tool.h"
|
||||
#include "scene/resources/navigation_mesh.h"
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
#define HANDLE_HALF_SIZE 9.5
|
||||
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "listener.h"
|
||||
|
||||
#include "scene/resources/mesh.h"
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
void Listener::_update_audio_listener_state() {
|
||||
}
|
||||
|
@ -32,7 +32,8 @@
|
||||
#define LISTENER_H
|
||||
|
||||
#include "scene/3d/spatial.h"
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
class Viewport;
|
||||
|
||||
class Listener : public Spatial {
|
||||
GDCLASS(Listener, Spatial);
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "navigation.h"
|
||||
|
||||
#include "servers/navigation_server.h"
|
||||
#include "scene/3d/navigation_mesh_instance.h"
|
||||
|
||||
Vector<Vector3> Navigation::get_simple_path(const Vector3 &p_start, const Vector3 &p_end, bool p_optimize) const {
|
||||
return NavigationServer::get_singleton()->map_get_path(map, p_start, p_end, p_optimize);
|
||||
|
@ -31,7 +31,6 @@
|
||||
#ifndef NAVIGATION_H
|
||||
#define NAVIGATION_H
|
||||
|
||||
#include "scene/3d/navigation_mesh_instance.h"
|
||||
#include "scene/3d/spatial.h"
|
||||
|
||||
class Navigation : public Spatial {
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "scene/3d/navigation.h"
|
||||
#include "scene/3d/physics_body.h"
|
||||
#include "servers/navigation_server.h"
|
||||
#include "scene/3d/spatial.h"
|
||||
|
||||
void NavigationObstacle::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_navigation", "navigation"), &NavigationObstacle::set_navigation_node);
|
||||
|
@ -31,10 +31,10 @@
|
||||
#ifndef NAVIGATION_OBSTACLE_H
|
||||
#define NAVIGATION_OBSTACLE_H
|
||||
|
||||
#include "scene/3d/spatial.h"
|
||||
#include "scene/main/node.h"
|
||||
|
||||
class Navigation;
|
||||
class Spatial;
|
||||
|
||||
class NavigationObstacle : public Node {
|
||||
GDCLASS(NavigationObstacle, Node);
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
#include "core/engine.h"
|
||||
#include "servers/visual/portals/portal_occlusion_culler.h"
|
||||
#include "scene/resources/occluder_shape.h"
|
||||
|
||||
void Occluder::resource_changed(RES res) {
|
||||
update_gizmo();
|
||||
|
@ -32,7 +32,9 @@
|
||||
#define OCCLUDER_H
|
||||
|
||||
#include "scene/3d/spatial.h"
|
||||
#include "scene/resources/occluder_shape.h"
|
||||
#include "core/reference.h"
|
||||
|
||||
class OccluderShape;
|
||||
|
||||
class Occluder : public Spatial {
|
||||
GDCLASS(Occluder, Spatial);
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
#include "core/engine.h"
|
||||
#include "scene/scene_string_names.h"
|
||||
#include "scene/resources/curve.h"
|
||||
|
||||
void Path::_notification(int p_what) {
|
||||
}
|
||||
|
@ -32,7 +32,9 @@
|
||||
#define PATH_H
|
||||
|
||||
#include "scene/3d/spatial.h"
|
||||
#include "scene/resources/curve.h"
|
||||
#include "core/reference.h"
|
||||
|
||||
class Curve3D;
|
||||
|
||||
class Path : public Spatial {
|
||||
GDCLASS(Path, Spatial);
|
||||
|
@ -37,6 +37,8 @@
|
||||
#include "core/object.h"
|
||||
#include "core/rid.h"
|
||||
#include "scene/scene_string_names.h"
|
||||
#include "scene/resources/physics_material.h"
|
||||
#include "skeleton.h"
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
#include "editor/plugins/spatial_editor_plugin.h"
|
||||
|
@ -33,9 +33,11 @@
|
||||
|
||||
#include "core/vset.h"
|
||||
#include "scene/3d/collision_object.h"
|
||||
#include "scene/resources/physics_material.h"
|
||||
#include "core/reference.h"
|
||||
#include "servers/physics_server.h"
|
||||
#include "skeleton.h"
|
||||
|
||||
class PhysicsMaterial;
|
||||
class Skeleton;
|
||||
|
||||
class PhysicsBody : public CollisionObject {
|
||||
GDCLASS(PhysicsBody, CollisionObject);
|
||||
|
Loading…
Reference in New Issue
Block a user