mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-25 18:39:18 +01:00
Moved more includes.
This commit is contained in:
parent
eeb7c04aaf
commit
c1ebd9905a
@ -45,6 +45,7 @@
|
|||||||
#include "scene/resources/ray_shape.h"
|
#include "scene/resources/ray_shape.h"
|
||||||
#include "scene/resources/resource_format_text.h"
|
#include "scene/resources/resource_format_text.h"
|
||||||
#include "scene/resources/sphere_shape.h"
|
#include "scene/resources/sphere_shape.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
uint32_t EditorSceneImporter::get_import_flags() const {
|
uint32_t EditorSceneImporter::get_import_flags() const {
|
||||||
if (get_script_instance()) {
|
if (get_script_instance()) {
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include "scene/3d/physics_body.h"
|
#include "scene/3d/physics_body.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "spatial_editor_plugin.h"
|
#include "spatial_editor_plugin.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
void MeshInstanceEditor::_node_removed(Node *p_node) {
|
void MeshInstanceEditor::_node_removed(Node *p_node) {
|
||||||
if (p_node == node) {
|
if (p_node == node) {
|
||||||
|
@ -65,6 +65,7 @@
|
|||||||
#include "scene/resources/ray_shape.h"
|
#include "scene/resources/ray_shape.h"
|
||||||
#include "scene/resources/sphere_shape.h"
|
#include "scene/resources/sphere_shape.h"
|
||||||
#include "scene/resources/surface_tool.h"
|
#include "scene/resources/surface_tool.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
#define HANDLE_HALF_SIZE 9.5
|
#define HANDLE_HALF_SIZE 9.5
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
|
|
||||||
#ifndef _3D_DISABLED
|
#ifndef _3D_DISABLED
|
||||||
#include "navigation_mesh_generator.h"
|
#include "navigation_mesh_generator.h"
|
||||||
|
#include "scene/resources/mesh.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
#include "nav_region.h"
|
#include "nav_region.h"
|
||||||
#include "rvo_agent.h"
|
#include "rvo_agent.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include "scene/resources/mesh.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@author AndreaCatania
|
@author AndreaCatania
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include "nav_utils.h"
|
#include "nav_utils.h"
|
||||||
#include "scene/3d/navigation.h"
|
#include "scene/3d/navigation.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@author AndreaCatania
|
@author AndreaCatania
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
#include "navigation_mesh_generator.h"
|
#include "navigation_mesh_generator.h"
|
||||||
#include "scene/3d/mesh_instance.h"
|
#include "scene/3d/mesh_instance.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
|
#include "scene/resources/mesh.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
void NavigationMeshEditor::_node_removed(Node *p_node) {
|
void NavigationMeshEditor::_node_removed(Node *p_node) {
|
||||||
if (p_node == node) {
|
if (p_node == node) {
|
||||||
|
@ -49,6 +49,8 @@
|
|||||||
#include "scene/resources/shape.h"
|
#include "scene/resources/shape.h"
|
||||||
#include "scene/resources/sphere_shape.h"
|
#include "scene/resources/sphere_shape.h"
|
||||||
#include "scene/resources/multimesh.h"
|
#include "scene/resources/multimesh.h"
|
||||||
|
#include "scene/resources/mesh.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
#include "modules/modules_enabled.gen.h" // For csg, gridmap.
|
#include "modules/modules_enabled.gen.h" // For csg, gridmap.
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
#include "mesh_instance.h"
|
#include "mesh_instance.h"
|
||||||
#include "navigation.h"
|
#include "navigation.h"
|
||||||
#include "servers/navigation_server.h"
|
#include "servers/navigation_server.h"
|
||||||
|
#include "scene/resources/mesh.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
void NavigationMeshInstance::set_enabled(bool p_enabled) {
|
void NavigationMeshInstance::set_enabled(bool p_enabled) {
|
||||||
if (enabled == p_enabled) {
|
if (enabled == p_enabled) {
|
||||||
|
@ -32,10 +32,10 @@
|
|||||||
#define NAVIGATION_MESH_INSTANCE_H
|
#define NAVIGATION_MESH_INSTANCE_H
|
||||||
|
|
||||||
#include "scene/3d/spatial.h"
|
#include "scene/3d/spatial.h"
|
||||||
#include "scene/resources/mesh.h"
|
|
||||||
#include "scene/resources/navigation_mesh.h"
|
|
||||||
|
|
||||||
|
class Mesh;
|
||||||
class Navigation;
|
class Navigation;
|
||||||
|
class NavigationMesh;
|
||||||
|
|
||||||
class NavigationMeshInstance : public Spatial {
|
class NavigationMeshInstance : public Spatial {
|
||||||
GDCLASS(NavigationMeshInstance, Spatial);
|
GDCLASS(NavigationMeshInstance, Spatial);
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
#include "servers/physics_2d_server.h"
|
#include "servers/physics_2d_server.h"
|
||||||
#include "servers/physics_server.h"
|
#include "servers/physics_server.h"
|
||||||
#include "viewport.h"
|
#include "viewport.h"
|
||||||
|
#include "scene/3d/spatial.h"
|
||||||
|
|
||||||
#include "modules/modules_enabled.gen.h" // For freetype.
|
#include "modules/modules_enabled.gen.h" // For freetype.
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include "core/math/transform.h"
|
#include "core/math/transform.h"
|
||||||
#include "core/math/transform_2d.h"
|
#include "core/math/transform_2d.h"
|
||||||
#include "servers/navigation_server.h"
|
#include "servers/navigation_server.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@author AndreaCatania
|
@author AndreaCatania
|
||||||
|
@ -34,6 +34,9 @@
|
|||||||
|
|
||||||
#include "navigation_server.h"
|
#include "navigation_server.h"
|
||||||
|
|
||||||
|
#include "scene/3d/navigation_mesh_instance.h"
|
||||||
|
#include "scene/resources/navigation_mesh.h"
|
||||||
|
|
||||||
NavigationServer *NavigationServer::singleton = nullptr;
|
NavigationServer *NavigationServer::singleton = nullptr;
|
||||||
|
|
||||||
void NavigationServer::_bind_methods() {
|
void NavigationServer::_bind_methods() {
|
||||||
|
@ -37,7 +37,10 @@
|
|||||||
|
|
||||||
#include "core/object.h"
|
#include "core/object.h"
|
||||||
#include "core/rid.h"
|
#include "core/rid.h"
|
||||||
#include "scene/3d/navigation_mesh_instance.h"
|
|
||||||
|
#include "core/reference.h"
|
||||||
|
|
||||||
|
class NavigationMesh;
|
||||||
|
|
||||||
/// This server uses the concept of internal mutability.
|
/// This server uses the concept of internal mutability.
|
||||||
/// All the constant functions can be called in multithread because internally
|
/// All the constant functions can be called in multithread because internally
|
||||||
|
Loading…
Reference in New Issue
Block a user