1
0
Fork 0
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:
Perttu Ahola 2012-11-30 18:12:32 +02:00
parent ba73e75ef9
commit bee170570d
8 changed files with 309 additions and 201 deletions

View file

@ -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;