From bee170570de7a796ac7b5ba6c0b39b253380b5e3 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 30 Nov 2012 18:12:32 +0200 Subject: On-demand item meshes and textures --- src/util/container.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/util') diff --git a/src/util/container.h b/src/util/container.h index bdf560979..8c1ae02fb 100644 --- a/src/util/container.h +++ b/src/util/container.h @@ -107,6 +107,17 @@ public: return true; } + core::list getValues() + { + core::list result; + for(typename core::map::Iterator + i = m_values.getIterator(); + i.atEnd() == false; i++){ + result.push_back(i.getNode()->getValue()); + } + return result; + } + private: core::map m_values; JMutex m_mutex; -- cgit v1.2.3