mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
On-demand item meshes and textures
This commit is contained in:
parent
ba73e75ef9
commit
bee170570d
8 changed files with 309 additions and 201 deletions
|
@ -107,6 +107,17 @@ public:
|
|||
return true;
|
||||
}
|
||||
|
||||
core::list<Value> getValues()
|
||||
{
|
||||
core::list<Value> result;
|
||||
for(typename core::map<Key, Value>::Iterator
|
||||
i = m_values.getIterator();
|
||||
i.atEnd() == false; i++){
|
||||
result.push_back(i.getNode()->getValue());
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
private:
|
||||
core::map<Key, Value> m_values;
|
||||
JMutex m_mutex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue