mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Moved som of the includes from headers to cpp files under the editor folder.
This commit is contained in:
parent
4d7df62b8e
commit
1ab4a46da0
@ -40,6 +40,7 @@
|
||||
#include "core/translation.h"
|
||||
#include "core/version.h"
|
||||
#include "scene/resources/theme.h"
|
||||
#include "core/io/xml_parser.h"
|
||||
|
||||
static String _get_indent(const String &p_text) {
|
||||
String indent;
|
||||
|
@ -30,9 +30,11 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "core/io/xml_parser.h"
|
||||
#include "core/map.h"
|
||||
#include "core/variant.h"
|
||||
#include "core/reference.h"
|
||||
|
||||
class XMLParser;
|
||||
|
||||
class DocData {
|
||||
public:
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "editor/editor_node.h"
|
||||
#include "scene/resources/bit_map.h"
|
||||
#include "scene/resources/texture.h"
|
||||
#include "core/image.h"
|
||||
|
||||
String ResourceImporterBitMap::get_importer_name() const {
|
||||
return "bitmap";
|
||||
|
@ -30,7 +30,6 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "core/image.h"
|
||||
#include "core/io/resource_importer.h"
|
||||
|
||||
class StreamBitMap;
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/os/file_access.h"
|
||||
#include "scene/resources/texture.h"
|
||||
#include "core/image.h"
|
||||
|
||||
String ResourceImporterImage::get_importer_name() const {
|
||||
return "image";
|
||||
|
@ -30,7 +30,6 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "core/image.h"
|
||||
#include "core/io/resource_importer.h"
|
||||
|
||||
class ResourceImporterImage : public ResourceImporter {
|
||||
|
@ -47,6 +47,9 @@
|
||||
#include "scene/resources/ray_shape.h"
|
||||
#include "scene/resources/resource_format_text.h"
|
||||
#include "scene/resources/sphere_shape.h"
|
||||
#include "scene/resources/animation.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
#include "scene/resources/shape.h"
|
||||
|
||||
uint32_t EditorSceneImporter::get_import_flags() const {
|
||||
if (get_script_instance()) {
|
||||
|
@ -33,11 +33,14 @@
|
||||
#include "core/pair.h"
|
||||
|
||||
#include "core/io/resource_importer.h"
|
||||
#include "scene/resources/animation.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
#include "scene/resources/shape.h"
|
||||
#include "scene/main/node.h"
|
||||
|
||||
class Material;
|
||||
class Shape;
|
||||
class Animation;
|
||||
class Mesh;
|
||||
class ArrayMesh;
|
||||
|
||||
class EditorSceneImporter : public Reference {
|
||||
GDCLASS(EditorSceneImporter, Reference);
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
#include "core/image.h"
|
||||
#include "core/io/resource_importer.h"
|
||||
|
||||
class ResourceImporterTextureAtlas : public ResourceImporter {
|
||||
GDCLASS(ResourceImporterTextureAtlas, ResourceImporter);
|
||||
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "scene/gui/texture_button.h"
|
||||
#include "scene/main/viewport.h"
|
||||
#include "scene/resources/world.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
void MeshEditor::_gui_input(Ref<InputEvent> p_event) {
|
||||
Ref<InputEventMouseMotion> mm = p_event;
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/resources/bit_map.h"
|
||||
#include "thirdparty/misc/clipper.hpp"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
void SpriteEditor::_node_removed(Node *p_node) {
|
||||
if (p_node == node) {
|
||||
|
Loading…
Reference in New Issue
Block a user