mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-03 01:19:38 +01:00
Clang format everything.
This commit is contained in:
parent
51fdb562be
commit
6a6d3acd96
@ -234,7 +234,7 @@ public:
|
|||||||
|
|
||||||
void select_editor_by_name(const String &p_name);
|
void select_editor_by_name(const String &p_name);
|
||||||
void editor_set_visible_by_name(const String &p_name, const bool p_visible);
|
void editor_set_visible_by_name(const String &p_name, const bool p_visible);
|
||||||
|
|
||||||
EditorPlugin *get_editor_by_name(const String &p_name);
|
EditorPlugin *get_editor_by_name(const String &p_name);
|
||||||
|
|
||||||
void open_request(const String &p_path);
|
void open_request(const String &p_path);
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
#ifndef MERGE_GROUP_EDITOR_PLUGIN_H
|
#ifndef MERGE_GROUP_EDITOR_PLUGIN_H
|
||||||
#define MERGE_GROUP_EDITOR_PLUGIN_H
|
#define MERGE_GROUP_EDITOR_PLUGIN_H
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ public:
|
|||||||
String get_name() const;
|
String get_name() const;
|
||||||
void edit(Object *p_object);
|
void edit(Object *p_object);
|
||||||
bool handles(Object *p_object) const;
|
bool handles(Object *p_object) const;
|
||||||
|
|
||||||
void open_file(const String &p_path);
|
void open_file(const String &p_path);
|
||||||
|
|
||||||
TextEditorEditorPlugin(EditorNode *p_node);
|
TextEditorEditorPlugin(EditorNode *p_node);
|
||||||
|
@ -43,7 +43,7 @@ public:
|
|||||||
void store_opened_files(ItemList *filecontainer);
|
void store_opened_files(ItemList *filecontainer);
|
||||||
void remove_opened_file(const int index, ItemList *filecontainer);
|
void remove_opened_file(const int index, ItemList *filecontainer);
|
||||||
Array load_opened_files();
|
Array load_opened_files();
|
||||||
|
|
||||||
void store_editor_fonts(const String &file_name, const String &font_path);
|
void store_editor_fonts(const String &file_name, const String &font_path);
|
||||||
String get_editor_font();
|
String get_editor_font();
|
||||||
void clear_editor_fonts();
|
void clear_editor_fonts();
|
||||||
|
@ -600,7 +600,7 @@ TextFileEditor::TextFileEditor() {
|
|||||||
EXTENSIONS.push_back("*.bat ; Windows batch File");
|
EXTENSIONS.push_back("*.bat ; Windows batch File");
|
||||||
EXTENSIONS.push_back("*.ps1 ; Powershell File");
|
EXTENSIONS.push_back("*.ps1 ; Powershell File");
|
||||||
EXTENSIONS.push_back("*.pxml ; Non-translation xml.");
|
EXTENSIONS.push_back("*.pxml ; Non-translation xml.");
|
||||||
|
|
||||||
current_file_index = -1;
|
current_file_index = -1;
|
||||||
save_as = false;
|
save_as = false;
|
||||||
current_editor = NULL;
|
current_editor = NULL;
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* atlas_merging_dialog.cpp */
|
/* atlas_merging_dialog.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "atlas_merging_dialog.h"
|
#include "atlas_merging_dialog.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef ATLAS_MERGING_DIALOG_H
|
#ifndef ATLAS_MERGING_DIALOG_H
|
||||||
#define ATLAS_MERGING_DIALOG_H
|
#define ATLAS_MERGING_DIALOG_H
|
||||||
/**************************************************************************/
|
|
||||||
/* atlas_merging_dialog.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* atlas_merging_dialog.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "editor/editor_properties.h"
|
#include "editor/editor_properties.h"
|
||||||
#include "scene/gui/dialogs.h"
|
#include "scene/gui/dialogs.h"
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_atlas_view.cpp */
|
/* layered_tile_atlas_view.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_atlas_view.h"
|
#include "tile_atlas_view.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_ATLAS_VIEW_H
|
#ifndef TILE_ATLAS_VIEW_H
|
||||||
#define TILE_ATLAS_VIEW_H
|
#define TILE_ATLAS_VIEW_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_atlas_view.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_atlas_view.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "editor/gui/editor_zoom_widget.h"
|
#include "editor/gui/editor_zoom_widget.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_data_editors.cpp */
|
/* layered_tile_data_editors.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_data_editors.h"
|
#include "tile_data_editors.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_DATA_EDITORS_H
|
#ifndef TILE_DATA_EDITORS_H
|
||||||
#define TILE_DATA_EDITORS_H
|
#define TILE_DATA_EDITORS_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_data_editors.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_data_editors.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_atlas_view.h"
|
#include "tile_atlas_view.h"
|
||||||
|
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_map_layer_editor.cpp */
|
/* layered_tile_map_layer_editor.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_map_layer_editor.h"
|
#include "tile_map_layer_editor.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_MAP_LAYER_EDITOR_H
|
#ifndef TILE_MAP_LAYER_EDITOR_H
|
||||||
#define TILE_MAP_LAYER_EDITOR_H
|
#define TILE_MAP_LAYER_EDITOR_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_map_layer_editor.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_map_layer_editor.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_atlas_view.h"
|
#include "tile_atlas_view.h"
|
||||||
|
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_proxies_manager_dialog.cpp */
|
/* layered_tile_proxies_manager_dialog.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_proxies_manager_dialog.h"
|
#include "tile_proxies_manager_dialog.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_PROXIES_MANAGER_DIALOG_H
|
#ifndef TILE_PROXIES_MANAGER_DIALOG_H
|
||||||
#define TILE_PROXIES_MANAGER_DIALOG_H
|
#define TILE_PROXIES_MANAGER_DIALOG_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_proxies_manager_dialog.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_proxies_manager_dialog.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "editor/editor_properties.h"
|
#include "editor/editor_properties.h"
|
||||||
#include "scene/2d/tile_map.h"
|
#include "scene/2d/tile_map.h"
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_set_atlas_source_editor.cpp */
|
/* layered_tile_set_atlas_source_editor.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_set_atlas_source_editor.h"
|
#include "tile_set_atlas_source_editor.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_SET_ATLAS_SOURCE_EDITOR_H
|
#ifndef TILE_SET_ATLAS_SOURCE_EDITOR_H
|
||||||
#define TILE_SET_ATLAS_SOURCE_EDITOR_H
|
#define TILE_SET_ATLAS_SOURCE_EDITOR_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_set_atlas_source_editor.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_set_atlas_source_editor.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_atlas_view.h"
|
#include "tile_atlas_view.h"
|
||||||
#include "tile_data_editors.h"
|
#include "tile_data_editors.h"
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_set_editor.cpp */
|
/* layered_tile_set_editor.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_set_editor.h"
|
#include "tile_set_editor.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_SET_EDITOR_H
|
#ifndef TILE_SET_EDITOR_H
|
||||||
#define TILE_SET_EDITOR_H
|
#define TILE_SET_EDITOR_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_set_editor.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_set_editor.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "atlas_merging_dialog.h"
|
#include "atlas_merging_dialog.h"
|
||||||
#include "scene/gui/tab_bar.h"
|
#include "scene/gui/tab_bar.h"
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_set_scenes_collection_source_editor.cpp */
|
/* layered_tile_set_scenes_collection_source_editor.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_set_scenes_collection_source_editor.h"
|
#include "tile_set_scenes_collection_source_editor.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_SET_SCENES_COLLECTION_SOURCE_EDITOR_H
|
#ifndef TILE_SET_SCENES_COLLECTION_SOURCE_EDITOR_H
|
||||||
#define TILE_SET_SCENES_COLLECTION_SOURCE_EDITOR_H
|
#define TILE_SET_SCENES_COLLECTION_SOURCE_EDITOR_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_set_scenes_collection_source_editor.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_set_scenes_collection_source_editor.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tiles_editor_plugin.cpp */
|
/* layered_tiles_editor_plugin.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tiles_editor_plugin.h"
|
#include "tiles_editor_plugin.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILES_EDITOR_PLUGIN_H
|
#ifndef TILES_EDITOR_PLUGIN_H
|
||||||
#define TILES_EDITOR_PLUGIN_H
|
#define TILES_EDITOR_PLUGIN_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tiles_editor_plugin.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tiles_editor_plugin.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* tilemap_navigation_geometry_parser_2d.cpp */
|
/* layered_tilemap_navigation_geometry_parser_2d.cpp */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define TILEMAP_NAVIGATION_GEOMETRY_PARSER_2D_H
|
#define TILEMAP_NAVIGATION_GEOMETRY_PARSER_2D_H
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* tilemap_navigation_geometry_parser_2d.h */
|
/* layered_tilemap_navigation_geometry_parser_2d.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
|
@ -1,35 +1,36 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_map.cpp */
|
/* layered_tile_map.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_map.h"
|
|
||||||
#include "tile_map.compat.inc"
|
#include "tile_map.compat.inc"
|
||||||
|
#include "tile_map.h"
|
||||||
|
|
||||||
#include "core/core_string_names.h"
|
#include "core/core_string_names.h"
|
||||||
#include "scene/2d/tile_map_layer.h"
|
#include "scene/2d/tile_map_layer.h"
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_MAP_H
|
#ifndef TILE_MAP_H
|
||||||
#define TILE_MAP_H
|
#define TILE_MAP_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_map.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_map.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "scene/2d/tile_map_layer_group.h"
|
#include "scene/2d/tile_map_layer_group.h"
|
||||||
#include "scene/resources/2d/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_map_layer.cpp */
|
/* layered_tile_map_layer.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_map_layer.h"
|
#include "tile_map_layer.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_MAP_LAYER_H
|
#ifndef TILE_MAP_LAYER_H
|
||||||
#define TILE_MAP_LAYER_H
|
#define TILE_MAP_LAYER_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_map_layer.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_map_layer.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "scene/2d/tile_map.h"
|
#include "scene/2d/tile_map.h"
|
||||||
#include "scene/resources/2d/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
|
@ -1,32 +1,33 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_map_layer_group.cpp */
|
/* layered_tile_map_layer_group.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_map_layer_group.h"
|
#include "tile_map_layer_group.h"
|
||||||
|
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_MAP_LAYER_GROUP_H
|
#ifndef TILE_MAP_LAYER_GROUP_H
|
||||||
#define TILE_MAP_LAYER_GROUP_H
|
#define TILE_MAP_LAYER_GROUP_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_map_layer_group.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_map_layer_group.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "scene/2d/node_2d.h"
|
#include "scene/2d/node_2d.h"
|
||||||
|
|
||||||
|
@ -1,35 +1,36 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* tile_set.cpp */
|
/* layered_tile_set.cpp */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
/* https://godotengine.org */
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
/* */
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
/* */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
/* a copy of this software and associated documentation files (the */
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
/* the following conditions: */
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
/* */
|
/* the following conditions: */
|
||||||
/* The above copyright notice and this permission notice shall be */
|
/* */
|
||||||
/* included in all copies or substantial portions of the Software. */
|
/* The above copyright notice and this permission notice shall be */
|
||||||
/* */
|
/* included in all copies or substantial portions of the Software. */
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
/* */
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/**************************************************************************/
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_set.h"
|
|
||||||
#include "tile_set.compat.inc"
|
#include "tile_set.compat.inc"
|
||||||
|
#include "tile_set.h"
|
||||||
|
|
||||||
#include "core/io/marshalls.h"
|
#include "core/io/marshalls.h"
|
||||||
#include "core/math/geometry_2d.h"
|
#include "core/math/geometry_2d.h"
|
||||||
|
@ -1,37 +1,36 @@
|
|||||||
#ifndef TILE_SET_H
|
#ifndef TILE_SET_H
|
||||||
#define TILE_SET_H
|
#define TILE_SET_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_set.h */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* This file is part of: */
|
|
||||||
/* GODOT ENGINE */
|
|
||||||
/* https://godotengine.org */
|
|
||||||
/**************************************************************************/
|
|
||||||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
||||||
|
/* layered_tile_set.h */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* This file is part of: */
|
||||||
|
/* PANDEMONIUM ENGINE */
|
||||||
|
/* https://github.com/Relintai/pandemonium_engine */
|
||||||
|
/*************************************************************************/
|
||||||
|
/* Copyright (c) 2022-present Péter Magyar. */
|
||||||
|
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
||||||
|
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
||||||
|
/* */
|
||||||
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
|
/* a copy of this software and associated documentation files (the */
|
||||||
|
/* "Software"), to deal in the Software without restriction, including */
|
||||||
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
||||||
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
||||||
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
||||||
|
/* the following conditions: */
|
||||||
|
/* */
|
||||||
|
/* The above copyright notice and this permission notice shall be */
|
||||||
|
/* included in all copies or substantial portions of the Software. */
|
||||||
|
/* */
|
||||||
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
||||||
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
||||||
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
||||||
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
||||||
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "core/io/resource.h"
|
#include "core/io/resource.h"
|
||||||
#include "core/object/object.h"
|
#include "core/object/object.h"
|
||||||
|
@ -157,7 +157,7 @@ void UserManagerStatic::_editor_create_user_button(const StringName &p_property)
|
|||||||
_create_user_password = "";
|
_create_user_password = "";
|
||||||
_create_user_email = "";
|
_create_user_email = "";
|
||||||
_create_user_name = "";
|
_create_user_name = "";
|
||||||
|
|
||||||
property_list_changed_notify();
|
property_list_changed_notify();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ class HTMLTemplateDataEditorPlugin : public EditorPlugin {
|
|||||||
public:
|
public:
|
||||||
virtual void edit(Object *p_object);
|
virtual void edit(Object *p_object);
|
||||||
virtual bool handles(Object *p_object) const;
|
virtual bool handles(Object *p_object) const;
|
||||||
|
|
||||||
HTMLTemplateDataEditorPlugin(EditorNode *p_node);
|
HTMLTemplateDataEditorPlugin(EditorNode *p_node);
|
||||||
|
|
||||||
virtual String get_name() const { return "HTMLTemplateData"; }
|
virtual String get_name() const { return "HTMLTemplateData"; }
|
||||||
|
@ -63,17 +63,17 @@ Dictionary HTMLTemplateData::get_templates() const {
|
|||||||
}
|
}
|
||||||
void HTMLTemplateData::set_templates(const Dictionary &p_dict) {
|
void HTMLTemplateData::set_templates(const Dictionary &p_dict) {
|
||||||
clear();
|
clear();
|
||||||
|
|
||||||
Array keys = p_dict.keys();
|
Array keys = p_dict.keys();
|
||||||
|
|
||||||
for (int i = 0; i < keys.size(); ++i) {
|
for (int i = 0; i < keys.size(); ++i) {
|
||||||
Variant k = keys[i];
|
Variant k = keys[i];
|
||||||
Variant::Type t = k.get_type();
|
Variant::Type t = k.get_type();
|
||||||
|
|
||||||
if (t != Variant::STRING && t != Variant::STRING_NAME) {
|
if (t != Variant::STRING && t != Variant::STRING_NAME) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
_templates[k] = String(p_dict[k]);
|
_templates[k] = String(p_dict[k]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -135,9 +135,9 @@ Error HTMLTemplateData::save_to_file(const String &p_file) const {
|
|||||||
}
|
}
|
||||||
void HTMLTemplateData::load_from_string(const String &p_data) {
|
void HTMLTemplateData::load_from_string(const String &p_data) {
|
||||||
clear();
|
clear();
|
||||||
|
|
||||||
Vector<String> lines = p_data.split("\n", false);
|
Vector<String> lines = p_data.split("\n", false);
|
||||||
|
|
||||||
String current_section_name;
|
String current_section_name;
|
||||||
String current_str;
|
String current_str;
|
||||||
for (int i = 0; i < lines.size(); ++i) {
|
for (int i = 0; i < lines.size(); ++i) {
|
||||||
@ -149,26 +149,26 @@ void HTMLTemplateData::load_from_string(const String &p_data) {
|
|||||||
if (!current_section_name.empty()) {
|
if (!current_section_name.empty()) {
|
||||||
_templates[current_section_name] = current_str;
|
_templates[current_section_name] = current_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove [ and ], and strip it.
|
// Remove [ and ], and strip it.
|
||||||
current_section_name = l.substr_index(1, l.length() - 2).strip_edges();
|
current_section_name = l.substr_index(1, l.length() - 2).strip_edges();
|
||||||
current_str = "";
|
current_str = "";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
current_str += l + "\n";
|
current_str += l + "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!current_section_name.empty()) {
|
if (!current_section_name.empty()) {
|
||||||
_templates[current_section_name] = current_str;
|
_templates[current_section_name] = current_str;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String HTMLTemplateData::save_as_string() const {
|
String HTMLTemplateData::save_as_string() const {
|
||||||
String data;
|
String data;
|
||||||
|
|
||||||
for (const HashMap<StringName, String>::Element *E = _templates.front(); E; E = E->next) {
|
for (const HashMap<StringName, String>::Element *E = _templates.front(); E; E = E->next) {
|
||||||
data += "[ " + E->key() + " ]\n\n";
|
data += "[ " + E->key() + " ]\n\n";
|
||||||
data += E->value();
|
data += E->value();
|
||||||
data += "\n\n";
|
data += "\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,10 +55,10 @@ public:
|
|||||||
void set_templates_map(const HashMap<StringName, String> &p_map);
|
void set_templates_map(const HashMap<StringName, String> &p_map);
|
||||||
|
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
Error load_from_file(const String &p_file);
|
Error load_from_file(const String &p_file);
|
||||||
Error save_to_file(const String &p_file) const;
|
Error save_to_file(const String &p_file) const;
|
||||||
|
|
||||||
void load_from_string(const String &p_data);
|
void load_from_string(const String &p_data);
|
||||||
String save_as_string() const;
|
String save_as_string() const;
|
||||||
|
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
|
|
||||||
package com.pandemonium.game;
|
package com.pandemonium.game;
|
||||||
|
|
||||||
import android.os.Bundle;
|
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.FullScreenPandemoniumApp;
|
import org.pandemoniumengine.pandemonium.FullScreenPandemoniumApp;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Template activity for Pandemonium Android custom builds.
|
* Template activity for Pandemonium Android custom builds.
|
||||||
* Feel free to extend and modify this class for your custom logic.
|
* Feel free to extend and modify this class for your custom logic.
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium;
|
package org.pandemoniumengine.pandemonium;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.utils.ProcessPhoenix;
|
||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
@ -41,8 +43,6 @@ import androidx.annotation.Nullable;
|
|||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
import androidx.fragment.app.FragmentActivity;
|
import androidx.fragment.app.FragmentActivity;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.utils.ProcessPhoenix;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base activity for Android apps intending to use Pandemonium as the primary and only screen.
|
* Base activity for Android apps intending to use Pandemonium as the primary and only screen.
|
||||||
*
|
*
|
||||||
|
@ -34,6 +34,16 @@ package org.pandemoniumengine.pandemonium;
|
|||||||
import static android.content.Context.MODE_PRIVATE;
|
import static android.content.Context.MODE_PRIVATE;
|
||||||
import static android.content.Context.WINDOW_SERVICE;
|
import static android.content.Context.WINDOW_SERVICE;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.input.PandemoniumEditText;
|
||||||
|
import org.pandemoniumengine.pandemonium.input.PandemoniumInputHandler;
|
||||||
|
import org.pandemoniumengine.pandemonium.io.directory.DirectoryAccessHandler;
|
||||||
|
import org.pandemoniumengine.pandemonium.io.file.FileAccessHandler;
|
||||||
|
import org.pandemoniumengine.pandemonium.plugin.PandemoniumPlugin;
|
||||||
|
import org.pandemoniumengine.pandemonium.plugin.PandemoniumPluginRegistry;
|
||||||
|
import org.pandemoniumengine.pandemonium.utils.BenchmarkUtils;
|
||||||
|
import org.pandemoniumengine.pandemonium.utils.PandemoniumNetUtils;
|
||||||
|
import org.pandemoniumengine.pandemonium.utils.PermissionsUtil;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.ActivityManager;
|
import android.app.ActivityManager;
|
||||||
@ -107,16 +117,6 @@ import java.util.Locale;
|
|||||||
|
|
||||||
import javax.microedition.khronos.opengles.GL10;
|
import javax.microedition.khronos.opengles.GL10;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.input.PandemoniumEditText;
|
|
||||||
import org.pandemoniumengine.pandemonium.input.PandemoniumInputHandler;
|
|
||||||
import org.pandemoniumengine.pandemonium.io.directory.DirectoryAccessHandler;
|
|
||||||
import org.pandemoniumengine.pandemonium.io.file.FileAccessHandler;
|
|
||||||
import org.pandemoniumengine.pandemonium.plugin.PandemoniumPlugin;
|
|
||||||
import org.pandemoniumengine.pandemonium.plugin.PandemoniumPluginRegistry;
|
|
||||||
import org.pandemoniumengine.pandemonium.utils.BenchmarkUtils;
|
|
||||||
import org.pandemoniumengine.pandemonium.utils.PandemoniumNetUtils;
|
|
||||||
import org.pandemoniumengine.pandemonium.utils.PermissionsUtil;
|
|
||||||
|
|
||||||
public class Pandemonium extends Fragment implements SensorEventListener, IDownloaderClient {
|
public class Pandemonium extends Fragment implements SensorEventListener, IDownloaderClient {
|
||||||
private static final String TAG = Pandemonium.class.getSimpleName();
|
private static final String TAG = Pandemonium.class.getSimpleName();
|
||||||
|
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium;
|
package org.pandemoniumengine.pandemonium;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.input.PandemoniumEditText;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.ActivityNotFoundException;
|
import android.content.ActivityNotFoundException;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
@ -54,8 +56,6 @@ import java.io.File;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.input.PandemoniumEditText;
|
|
||||||
|
|
||||||
// Wrapper for native library
|
// Wrapper for native library
|
||||||
|
|
||||||
public class PandemoniumIO {
|
public class PandemoniumIO {
|
||||||
|
@ -31,16 +31,16 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium;
|
package org.pandemoniumengine.pandemonium;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.io.directory.DirectoryAccessHandler;
|
||||||
|
import org.pandemoniumengine.pandemonium.io.file.FileAccessHandler;
|
||||||
|
import org.pandemoniumengine.pandemonium.utils.PandemoniumNetUtils;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.res.AssetManager;
|
import android.content.res.AssetManager;
|
||||||
import android.hardware.SensorEvent;
|
import android.hardware.SensorEvent;
|
||||||
|
|
||||||
import javax.microedition.khronos.opengles.GL10;
|
import javax.microedition.khronos.opengles.GL10;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.io.directory.DirectoryAccessHandler;
|
|
||||||
import org.pandemoniumengine.pandemonium.io.file.FileAccessHandler;
|
|
||||||
import org.pandemoniumengine.pandemonium.utils.PandemoniumNetUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper for native library
|
* Wrapper for native library
|
||||||
*/
|
*/
|
||||||
|
@ -31,14 +31,14 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium;
|
package org.pandemoniumengine.pandemonium;
|
||||||
|
|
||||||
import javax.microedition.khronos.egl.EGLConfig;
|
|
||||||
import javax.microedition.khronos.opengles.GL10;
|
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.gl.PandemoniumGLSurfaceView;
|
import org.pandemoniumengine.pandemonium.gl.PandemoniumGLSurfaceView;
|
||||||
import org.pandemoniumengine.pandemonium.plugin.PandemoniumPlugin;
|
import org.pandemoniumengine.pandemonium.plugin.PandemoniumPlugin;
|
||||||
import org.pandemoniumengine.pandemonium.plugin.PandemoniumPluginRegistry;
|
import org.pandemoniumengine.pandemonium.plugin.PandemoniumPluginRegistry;
|
||||||
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
||||||
|
|
||||||
|
import javax.microedition.khronos.egl.EGLConfig;
|
||||||
|
import javax.microedition.khronos.opengles.GL10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pandemonium's renderer implementation.
|
* Pandemonium's renderer implementation.
|
||||||
*/
|
*/
|
||||||
|
@ -31,6 +31,13 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium;
|
package org.pandemoniumengine.pandemonium;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.config.RegularConfigChooser;
|
||||||
|
import org.pandemoniumengine.pandemonium.config.RegularContextFactory;
|
||||||
|
import org.pandemoniumengine.pandemonium.config.RegularFallbackConfigChooser;
|
||||||
|
import org.pandemoniumengine.pandemonium.gl.PandemoniumGLSurfaceView;
|
||||||
|
import org.pandemoniumengine.pandemonium.input.PandemoniumInputHandler;
|
||||||
|
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.AssetManager;
|
import android.content.res.AssetManager;
|
||||||
@ -52,13 +59,6 @@ import javax.microedition.khronos.egl.EGL10;
|
|||||||
import javax.microedition.khronos.egl.EGLConfig;
|
import javax.microedition.khronos.egl.EGLConfig;
|
||||||
import javax.microedition.khronos.egl.EGLContext;
|
import javax.microedition.khronos.egl.EGLContext;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.config.RegularConfigChooser;
|
|
||||||
import org.pandemoniumengine.pandemonium.config.RegularContextFactory;
|
|
||||||
import org.pandemoniumengine.pandemonium.config.RegularFallbackConfigChooser;
|
|
||||||
import org.pandemoniumengine.pandemonium.gl.PandemoniumGLSurfaceView;
|
|
||||||
import org.pandemoniumengine.pandemonium.input.PandemoniumInputHandler;
|
|
||||||
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A simple GLSurfaceView sub-class that demonstrate how to perform
|
* A simple GLSurfaceView sub-class that demonstrate how to perform
|
||||||
* OpenGL ES 2.0 rendering into a GL Surface. Note the following important
|
* OpenGL ES 2.0 rendering into a GL Surface. Note the following important
|
||||||
|
@ -31,13 +31,13 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium.config;
|
package org.pandemoniumengine.pandemonium.config;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.gl.PandemoniumGLSurfaceView;
|
||||||
|
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
||||||
|
|
||||||
import javax.microedition.khronos.egl.EGL10;
|
import javax.microedition.khronos.egl.EGL10;
|
||||||
import javax.microedition.khronos.egl.EGLConfig;
|
import javax.microedition.khronos.egl.EGLConfig;
|
||||||
import javax.microedition.khronos.egl.EGLDisplay;
|
import javax.microedition.khronos.egl.EGLDisplay;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.gl.PandemoniumGLSurfaceView;
|
|
||||||
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to select the egl config for pancake games.
|
* Used to select the egl config for pancake games.
|
||||||
*/
|
*/
|
||||||
|
@ -31,6 +31,10 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium.config;
|
package org.pandemoniumengine.pandemonium.config;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.PandemoniumLib;
|
||||||
|
import org.pandemoniumengine.pandemonium.gl.PandemoniumGLSurfaceView;
|
||||||
|
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import javax.microedition.khronos.egl.EGL10;
|
import javax.microedition.khronos.egl.EGL10;
|
||||||
@ -38,10 +42,6 @@ import javax.microedition.khronos.egl.EGLConfig;
|
|||||||
import javax.microedition.khronos.egl.EGLContext;
|
import javax.microedition.khronos.egl.EGLContext;
|
||||||
import javax.microedition.khronos.egl.EGLDisplay;
|
import javax.microedition.khronos.egl.EGLDisplay;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.PandemoniumLib;
|
|
||||||
import org.pandemoniumengine.pandemonium.gl.PandemoniumGLSurfaceView;
|
|
||||||
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Factory used to setup the opengl context for pancake games.
|
* Factory used to setup the opengl context for pancake games.
|
||||||
*/
|
*/
|
||||||
|
@ -31,14 +31,14 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium.config;
|
package org.pandemoniumengine.pandemonium.config;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import javax.microedition.khronos.egl.EGL10;
|
import javax.microedition.khronos.egl.EGL10;
|
||||||
import javax.microedition.khronos.egl.EGLConfig;
|
import javax.microedition.khronos.egl.EGLConfig;
|
||||||
import javax.microedition.khronos.egl.EGLDisplay;
|
import javax.microedition.khronos.egl.EGLDisplay;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.utils.GLUtils;
|
|
||||||
|
|
||||||
/* Fallback if the requested configuration is not supported */
|
/* Fallback if the requested configuration is not supported */
|
||||||
public class RegularFallbackConfigChooser extends RegularConfigChooser {
|
public class RegularFallbackConfigChooser extends RegularConfigChooser {
|
||||||
private static final String TAG = RegularFallbackConfigChooser.class.getSimpleName();
|
private static final String TAG = RegularFallbackConfigChooser.class.getSimpleName();
|
||||||
|
@ -49,6 +49,8 @@ package org.pandemoniumengine.pandemonium.gl;
|
|||||||
|
|
||||||
//import android.compat.annotation.UnsupportedAppUsage;
|
//import android.compat.annotation.UnsupportedAppUsage;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.gl.EGLLogWrapper;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.opengl.EGL14;
|
import android.opengl.EGL14;
|
||||||
import android.opengl.EGLExt;
|
import android.opengl.EGLExt;
|
||||||
@ -72,8 +74,6 @@ import javax.microedition.khronos.egl.EGLSurface;
|
|||||||
import javax.microedition.khronos.opengles.GL;
|
import javax.microedition.khronos.opengles.GL;
|
||||||
import javax.microedition.khronos.opengles.GL10;
|
import javax.microedition.khronos.opengles.GL10;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.gl.EGLLogWrapper;
|
|
||||||
|
|
||||||
public class PandemoniumGLSurfaceView extends SurfaceView implements SurfaceHolder.Callback2 {
|
public class PandemoniumGLSurfaceView extends SurfaceView implements SurfaceHolder.Callback2 {
|
||||||
private final static String TAG = "PandemoniumGLSurfaceView";
|
private final static String TAG = "PandemoniumGLSurfaceView";
|
||||||
private final static boolean LOG_ATTACH_DETACH = false;
|
private final static boolean LOG_ATTACH_DETACH = false;
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium.input;
|
package org.pandemoniumengine.pandemonium.input;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.*;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
@ -45,8 +47,6 @@ import android.widget.EditText;
|
|||||||
|
|
||||||
import java.lang.ref.WeakReference;
|
import java.lang.ref.WeakReference;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.*;
|
|
||||||
|
|
||||||
public class PandemoniumEditText extends EditText {
|
public class PandemoniumEditText extends EditText {
|
||||||
// ===========================================================
|
// ===========================================================
|
||||||
// Constants
|
// Constants
|
||||||
|
@ -33,6 +33,9 @@ package org.pandemoniumengine.pandemonium.input;
|
|||||||
|
|
||||||
import static org.pandemoniumengine.pandemonium.utils.GLUtils.DEBUG;
|
import static org.pandemoniumengine.pandemonium.utils.GLUtils.DEBUG;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.PandemoniumLib;
|
||||||
|
import org.pandemoniumengine.pandemonium.PandemoniumView;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.hardware.input.InputManager;
|
import android.hardware.input.InputManager;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
@ -49,9 +52,6 @@ import java.util.Collections;
|
|||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.PandemoniumLib;
|
|
||||||
import org.pandemoniumengine.pandemonium.PandemoniumView;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles input related events for the {@link PandemoniumView} view.
|
* Handles input related events for the {@link PandemoniumView} view.
|
||||||
*/
|
*/
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium.input;
|
package org.pandemoniumengine.pandemonium.input;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.*;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.text.Editable;
|
import android.text.Editable;
|
||||||
import android.text.TextWatcher;
|
import android.text.TextWatcher;
|
||||||
@ -40,8 +42,6 @@ import android.view.inputmethod.InputMethodManager;
|
|||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.TextView.OnEditorActionListener;
|
import android.widget.TextView.OnEditorActionListener;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.*;
|
|
||||||
|
|
||||||
public class PandemoniumTextInputWrapper implements TextWatcher, OnEditorActionListener {
|
public class PandemoniumTextInputWrapper implements TextWatcher, OnEditorActionListener {
|
||||||
// ===========================================================
|
// ===========================================================
|
||||||
// Constants
|
// Constants
|
||||||
|
@ -31,6 +31,9 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium.plugin;
|
package org.pandemoniumengine.pandemonium.plugin;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.BuildConfig;
|
||||||
|
import org.pandemoniumengine.pandemonium.Pandemonium;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
@ -53,9 +56,6 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
import javax.microedition.khronos.egl.EGLConfig;
|
import javax.microedition.khronos.egl.EGLConfig;
|
||||||
import javax.microedition.khronos.opengles.GL10;
|
import javax.microedition.khronos.opengles.GL10;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.BuildConfig;
|
|
||||||
import org.pandemoniumengine.pandemonium.Pandemonium;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for the Pandemonium Android plugins.
|
* Base class for the Pandemonium Android plugins.
|
||||||
* <p>
|
* <p>
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
package org.pandemoniumengine.pandemonium.plugin;
|
package org.pandemoniumengine.pandemonium.plugin;
|
||||||
|
|
||||||
|
import org.pandemoniumengine.pandemonium.Pandemonium;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.pm.ApplicationInfo;
|
import android.content.pm.ApplicationInfo;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
@ -45,8 +47,6 @@ import java.lang.reflect.InvocationTargetException;
|
|||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
||||||
import org.pandemoniumengine.pandemonium.Pandemonium;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registry used to load and access the registered Pandemonium Android plugins.
|
* Registry used to load and access the registered Pandemonium Android plugins.
|
||||||
*/
|
*/
|
||||||
|
@ -495,7 +495,7 @@ void PopupMenu::_draw_items() {
|
|||||||
Ref<StyleBox> hover = get_theme_stylebox("hover");
|
Ref<StyleBox> hover = get_theme_stylebox("hover");
|
||||||
Ref<Font> font = get_theme_font("font");
|
Ref<Font> font = get_theme_font("font");
|
||||||
select_font(font);
|
select_font(font);
|
||||||
|
|
||||||
// In Item::checkable_type enum order (less the non-checkable member)
|
// In Item::checkable_type enum order (less the non-checkable member)
|
||||||
Ref<Texture> check[] = { get_theme_icon("checked"), get_theme_icon("radio_checked") };
|
Ref<Texture> check[] = { get_theme_icon("checked"), get_theme_icon("radio_checked") };
|
||||||
Ref<Texture> uncheck[] = { get_theme_icon("unchecked"), get_theme_icon("radio_unchecked") };
|
Ref<Texture> uncheck[] = { get_theme_icon("unchecked"), get_theme_icon("radio_unchecked") };
|
||||||
|
Loading…
Reference in New Issue
Block a user