mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-04-19 21:33:15 +02:00
Added CharacterAtlas, and CharacterAtlasEntry.
This commit is contained in:
parent
c483fa38d6
commit
236a59e582
3
SCsub
3
SCsub
@ -28,6 +28,9 @@ module_env.add_source_files(env.modules_sources,"data/spell_cooldown_manipulatio
|
||||
module_env.add_source_files(env.modules_sources,"data/item_visual.cpp")
|
||||
module_env.add_source_files(env.modules_sources,"data/item_visual_entry.cpp")
|
||||
|
||||
module_env.add_source_files(env.modules_sources,"atlases/character_atlas.cpp")
|
||||
module_env.add_source_files(env.modules_sources,"atlases/character_atlas_entry.cpp")
|
||||
|
||||
module_env.add_source_files(env.modules_sources,"data/craft_data_attribute_helper.cpp")
|
||||
module_env.add_source_files(env.modules_sources,"data/craft_data_attribute.cpp")
|
||||
|
||||
|
9
atlases/character_atlas.cpp
Normal file
9
atlases/character_atlas.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include "character_atlas.h"
|
||||
|
||||
|
||||
CharacterAtlas::CharacterAtlas() {
|
||||
|
||||
}
|
||||
|
||||
void CharacterAtlas::_bind_methods() {
|
||||
}
|
19
atlases/character_atlas.h
Normal file
19
atlases/character_atlas.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef CHARACTER_ATLAS_H
|
||||
#define CHARACTER_ATLAS_H
|
||||
|
||||
#include "core/resource.h"
|
||||
|
||||
class CharacterAtlas : public Resource {
|
||||
GDCLASS(CharacterAtlas, Resource);
|
||||
|
||||
public:
|
||||
CharacterAtlas();
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
//private:
|
||||
};
|
||||
|
||||
|
||||
#endif
|
9
atlases/character_atlas_entry.cpp
Normal file
9
atlases/character_atlas_entry.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include "character_atlas_entry.h"
|
||||
|
||||
|
||||
CharacterAtlasEntry::CharacterAtlasEntry() {
|
||||
|
||||
}
|
||||
|
||||
void CharacterAtlasEntry::_bind_methods() {
|
||||
}
|
19
atlases/character_atlas_entry.h
Normal file
19
atlases/character_atlas_entry.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef CHARACTER_ATLAS_ENTRY_H
|
||||
#define CHARACTER_ATLAS_ENTRY_H
|
||||
|
||||
#include "core/resource.h"
|
||||
|
||||
class CharacterAtlasEntry : public Resource {
|
||||
GDCLASS(CharacterAtlasEntry, Resource);
|
||||
|
||||
public:
|
||||
CharacterAtlasEntry();
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
//private:
|
||||
};
|
||||
|
||||
|
||||
#endif
|
@ -18,6 +18,9 @@
|
||||
#include "data/item_visual.h"
|
||||
#include "data/item_visual_entry.h"
|
||||
|
||||
#include "atlases/character_atlas.h"
|
||||
#include "atlases/character_atlas_entry.h"
|
||||
|
||||
#include "data/item_template.h"
|
||||
#include "data/item_instance.h"
|
||||
|
||||
@ -106,6 +109,9 @@ void register_entity_spell_system_types() {
|
||||
ClassDB::register_class<ItemVisual>();
|
||||
ClassDB::register_class<ItemVisualEntry>();
|
||||
|
||||
ClassDB::register_class<CharacterAtlas>();
|
||||
ClassDB::register_class<CharacterAtlasEntry>();
|
||||
|
||||
//entity data
|
||||
ClassDB::register_class<EntityEnums>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user