Separate placefiles into their own layers

- Placefile rename is partially
- Texture repack might be broken
This commit is contained in:
Dan Paulat 2023-08-02 22:39:19 -05:00
parent 0be94c4de3
commit 117a473689
5 changed files with 155 additions and 17 deletions

View file

@ -109,7 +109,7 @@ bool PlacefileManager::placefile_thresholded(const std::string& name)
return false;
}
std::shared_ptr<const gr::Placefile>
std::shared_ptr<gr::Placefile>
PlacefileManager::placefile(const std::string& name)
{
std::shared_lock lock(p->placefileRecordLock_);

View file

@ -22,7 +22,7 @@ public:
bool placefile_enabled(const std::string& name);
bool placefile_thresholded(const std::string& name);
std::shared_ptr<const gr::Placefile> placefile(const std::string& name);
std::shared_ptr<gr::Placefile> placefile(const std::string& name);
void set_placefile_enabled(const std::string& name, bool enabled);
void set_placefile_thresholded(const std::string& name, bool thresholded);