mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-20 08:17:17 +01:00
Clang format everything.
This commit is contained in:
parent
51fdb562be
commit
6a6d3acd96
@ -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
|
||||||
|
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "atlas_merging_dialog.h"
|
#include "atlas_merging_dialog.h"
|
||||||
|
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#ifndef ATLAS_MERGING_DIALOG_H
|
#ifndef ATLAS_MERGING_DIALOG_H
|
||||||
#define ATLAS_MERGING_DIALOG_H
|
#define ATLAS_MERGING_DIALOG_H
|
||||||
/**************************************************************************/
|
|
||||||
|
/*************************************************************************/
|
||||||
/* atlas_merging_dialog.h */
|
/* atlas_merging_dialog.h */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_atlas_view.h"
|
#include "tile_atlas_view.h"
|
||||||
|
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#ifndef TILE_ATLAS_VIEW_H
|
#ifndef TILE_ATLAS_VIEW_H
|
||||||
#define TILE_ATLAS_VIEW_H
|
#define TILE_ATLAS_VIEW_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_atlas_view.h */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_atlas_view.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_data_editors.h"
|
#include "tile_data_editors.h"
|
||||||
|
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#ifndef TILE_DATA_EDITORS_H
|
#ifndef TILE_DATA_EDITORS_H
|
||||||
#define TILE_DATA_EDITORS_H
|
#define TILE_DATA_EDITORS_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_data_editors.h */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_data_editors.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "tile_atlas_view.h"
|
#include "tile_atlas_view.h"
|
||||||
|
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_map_layer_editor.h"
|
#include "tile_map_layer_editor.h"
|
||||||
|
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#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 */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_map_layer_editor.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "tile_atlas_view.h"
|
#include "tile_atlas_view.h"
|
||||||
|
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_proxies_manager_dialog.h"
|
#include "tile_proxies_manager_dialog.h"
|
||||||
|
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#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 */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_proxies_manager_dialog.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,14 +1,16 @@
|
|||||||
#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 */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_set_atlas_source_editor.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_set_editor.h"
|
#include "tile_set_editor.h"
|
||||||
|
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#ifndef TILE_SET_EDITOR_H
|
#ifndef TILE_SET_EDITOR_H
|
||||||
#define TILE_SET_EDITOR_H
|
#define TILE_SET_EDITOR_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_set_editor.h */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_set_editor.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,14 +1,16 @@
|
|||||||
#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 */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_set_scenes_collection_source_editor.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tiles_editor_plugin.h"
|
#include "tiles_editor_plugin.h"
|
||||||
|
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#ifndef TILES_EDITOR_PLUGIN_H
|
#ifndef TILES_EDITOR_PLUGIN_H
|
||||||
#define TILES_EDITOR_PLUGIN_H
|
#define TILES_EDITOR_PLUGIN_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tiles_editor_plugin.h */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tiles_editor_plugin.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,10 +27,10 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,14 +1,16 @@
|
|||||||
#ifndef TILE_MAP_H
|
#ifndef TILE_MAP_H
|
||||||
#define TILE_MAP_H
|
#define TILE_MAP_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_map.h */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_map.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_map_layer.h"
|
#include "tile_map_layer.h"
|
||||||
|
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#ifndef TILE_MAP_LAYER_H
|
#ifndef TILE_MAP_LAYER_H
|
||||||
#define TILE_MAP_LAYER_H
|
#define TILE_MAP_LAYER_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_map_layer.h */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_map_layer.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,7 +27,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "tile_map_layer_group.h"
|
#include "tile_map_layer_group.h"
|
||||||
|
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#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 */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_map_layer_group.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "scene/2d/node_2d.h"
|
#include "scene/2d/node_2d.h"
|
||||||
|
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
/**************************************************************************/
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -26,10 +27,10 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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,14 +1,16 @@
|
|||||||
#ifndef TILE_SET_H
|
#ifndef TILE_SET_H
|
||||||
#define TILE_SET_H
|
#define TILE_SET_H
|
||||||
/**************************************************************************/
|
|
||||||
/* tile_set.h */
|
/*************************************************************************/
|
||||||
/**************************************************************************/
|
/* layered_tile_set.h */
|
||||||
|
/*************************************************************************/
|
||||||
/* 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 */
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||||
/* a copy of this software and associated documentation files (the */
|
/* a copy of this software and associated documentation files (the */
|
||||||
@ -28,10 +30,7 @@
|
|||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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"
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user