mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-19 22:24:23 +01:00
Moved more includes from headers to cpp files.
This commit is contained in:
parent
73baa5545a
commit
f105eba923
@ -33,6 +33,7 @@
|
||||
#include "editor/editor_scale.h"
|
||||
#include "scene/gui/viewport_container.h"
|
||||
#include "scene/resources/particles_material.h"
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
void MaterialEditor::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_READY) {
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "mesh_editor_plugin.h"
|
||||
|
||||
#include "editor/editor_scale.h"
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
void MeshEditor::_gui_input(Ref<InputEvent> p_event) {
|
||||
Ref<InputEventMouseMotion> mm = p_event;
|
||||
|
@ -52,6 +52,7 @@
|
||||
#include "scene/gui/viewport_container.h"
|
||||
#include "scene/resources/packed_scene.h"
|
||||
#include "scene/resources/surface_tool.h"
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
#define DISTANCE_DEFAULT 4
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -52,6 +52,7 @@ typedef class RenderingServer VS;
|
||||
#include "lights/prop_light.h"
|
||||
#include "material_cache/prop_material_cache.h"
|
||||
#include "scene/3d/camera.h"
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
#if TEXTURE_PACKER_PRESENT
|
||||
#include "./singleton/prop_cache.h"
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include "scene/3d/physics_joint.h"
|
||||
#include "scene/resources/capsule_shape.h"
|
||||
#include "scene/resources/sphere_shape.h"
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
#define DISTANCE_DEFAULT 4
|
||||
|
||||
|
@ -34,6 +34,8 @@
|
||||
#include "scene/3d/camera.h"
|
||||
#include "scene/3d/listener.h"
|
||||
#include "scene/main/viewport.h"
|
||||
#include "scene/3d/spatial_velocity_tracker.h"
|
||||
#include "servers/audio/audio_stream.h"
|
||||
|
||||
// Based on "A Novel Multichannel Panning Method for Standard and Arbitrary Loudspeaker Configurations" by Ramy Sadek and Chris Kyriakakis (2004)
|
||||
// Speaker-Placement Correction Amplitude Panning (SPCAP)
|
||||
|
@ -33,12 +33,13 @@
|
||||
|
||||
#include "core/safe_refcount.h"
|
||||
#include "scene/3d/spatial.h"
|
||||
#include "scene/3d/spatial_velocity_tracker.h"
|
||||
#include "servers/audio/audio_filter_sw.h"
|
||||
#include "servers/audio/audio_stream.h"
|
||||
#include "servers/audio_server.h"
|
||||
|
||||
class Camera;
|
||||
class AudioStreamPlayback;
|
||||
class SpatialVelocityTracker;
|
||||
|
||||
class AudioStreamPlayer3D : public Spatial {
|
||||
GDCLASS(AudioStreamPlayer3D, Spatial);
|
||||
|
||||
|
@ -35,6 +35,11 @@
|
||||
#include "core/math/camera_matrix.h"
|
||||
#include "scene/resources/material.h"
|
||||
#include "scene/resources/surface_tool.h"
|
||||
#include "scene/3d/spatial_velocity_tracker.h"
|
||||
#include "scene/main/viewport.h"
|
||||
#include "scene/resources/environment.h"
|
||||
|
||||
|
||||
void Camera::_update_audio_listener_state() {
|
||||
}
|
||||
|
||||
|
@ -32,9 +32,11 @@
|
||||
#define CAMERA_H
|
||||
|
||||
#include "scene/3d/spatial.h"
|
||||
#include "scene/3d/spatial_velocity_tracker.h"
|
||||
#include "scene/main/viewport.h"
|
||||
#include "scene/resources/environment.h"
|
||||
#include "core/reference.h"
|
||||
|
||||
class SpatialVelocityTracker;
|
||||
class Viewport;
|
||||
class Environment;
|
||||
|
||||
class Camera : public Spatial {
|
||||
GDCLASS(Camera, Spatial);
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "mesh_instance.h"
|
||||
#include "scene/scene_string_names.h"
|
||||
#include "servers/physics_server.h"
|
||||
#include "scene/resources/shape.h"
|
||||
|
||||
void CollisionObject::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
|
@ -32,7 +32,9 @@
|
||||
#define COLLISION_OBJECT_H
|
||||
|
||||
#include "scene/3d/spatial.h"
|
||||
#include "scene/resources/shape.h"
|
||||
#include "core/reference.h"
|
||||
|
||||
class Shape;
|
||||
|
||||
class CollisionObject : public Spatial {
|
||||
GDCLASS(CollisionObject, Spatial);
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "scene/3d/camera.h"
|
||||
#include "scene/resources/particles_material.h"
|
||||
#include "servers/visual_server.h"
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
AABB CPUParticles::get_aabb() const {
|
||||
return AABB();
|
||||
|
@ -213,6 +213,7 @@
|
||||
#include "scene/resources/environment.h"
|
||||
#include "scene/resources/occluder_shape.h"
|
||||
#include "scene/resources/occluder_shape_polygon.h"
|
||||
#include "scene/3d/spatial_velocity_tracker.h"
|
||||
#endif
|
||||
|
||||
#include "modules/modules_enabled.gen.h" // For freetype.
|
||||
|
Loading…
Reference in New Issue
Block a user