mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
rename rig to skeleton
This commit is contained in:
parent
91230ecbeb
commit
60f4f33180
24 changed files with 187 additions and 187 deletions
|
|
@ -22,7 +22,7 @@ class Content;
|
|||
class ContentPackRuntime;
|
||||
|
||||
namespace rigging {
|
||||
class RigConfig;
|
||||
class SkeletonConfig;
|
||||
}
|
||||
|
||||
enum class contenttype {
|
||||
|
|
@ -116,7 +116,7 @@ class Content {
|
|||
std::unique_ptr<ContentIndices> indices;
|
||||
UptrsMap<std::string, ContentPackRuntime> packs;
|
||||
UptrsMap<std::string, BlockMaterial> blockMaterials;
|
||||
UptrsMap<std::string, rigging::RigConfig> rigs;
|
||||
UptrsMap<std::string, rigging::SkeletonConfig> skeletons;
|
||||
public:
|
||||
ContentUnitDefs<Block> blocks;
|
||||
ContentUnitDefs<ItemDef> items;
|
||||
|
|
@ -131,7 +131,7 @@ public:
|
|||
ContentUnitDefs<EntityDef> entities,
|
||||
UptrsMap<std::string, ContentPackRuntime> packs,
|
||||
UptrsMap<std::string, BlockMaterial> blockMaterials,
|
||||
UptrsMap<std::string, rigging::RigConfig> rigs
|
||||
UptrsMap<std::string, rigging::SkeletonConfig> skeletons
|
||||
);
|
||||
~Content();
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ public:
|
|||
return indices.get();
|
||||
}
|
||||
|
||||
const rigging::RigConfig* getRig(const std::string& id) const;
|
||||
const rigging::SkeletonConfig* getRig(const std::string& id) const;
|
||||
const BlockMaterial* findBlockMaterial(const std::string& id) const;
|
||||
const ContentPackRuntime* getPackRuntime(const std::string& id) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue