diff --git a/SCsub b/SCsub index c01ec9b..ae14b02 100644 --- a/SCsub +++ b/SCsub @@ -87,8 +87,6 @@ sources = [ "entities/resources/entity_resource_cost_data.cpp", "entities/resources/entity_resource.cpp", - "ui/unit_frame.cpp", - "drag_and_drop/es_drag_and_drop.cpp", "skeleton/character_skeleton_2d.cpp", diff --git a/register_types.cpp b/register_types.cpp index 2d17a6a..286b399 100644 --- a/register_types.cpp +++ b/register_types.cpp @@ -94,8 +94,6 @@ SOFTWARE. #include "data/auras/aura_stat_attribute.h" #include "data/auras/aura_trigger_data.h" -#include "ui/unit_frame.h" - #include "drag_and_drop/es_drag_and_drop.h" #include "skeleton/character_skeleton_2d.h" @@ -220,8 +218,6 @@ void register_entity_spell_system_types() { ClassDB::register_class(); //UI - ClassDB::register_class(); - ClassDB::register_class(); ClassDB::register_class(); diff --git a/ui/unit_frame.cpp b/ui/unit_frame.cpp deleted file mode 100644 index 93498cf..0000000 --- a/ui/unit_frame.cpp +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright (c) 2019-2020 Péter Magyar - -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 "unit_frame.h" - -void UnitFrame::_bind_methods() { -} diff --git a/ui/unit_frame.h b/ui/unit_frame.h deleted file mode 100644 index a6d0def..0000000 --- a/ui/unit_frame.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright (c) 2019-2020 Péter Magyar - -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. -*/ - -#ifndef UNIT_FRAME_H -#define UNIT_FRAME_H - -#include "scene/gui/panel.h" -#include "scene/resources/texture.h" - -//remove this -class UnitFrame : public Panel { - GDCLASS(UnitFrame, Panel); - -protected: - static void _bind_methods(); -}; - -#endif