1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

minecraft-style water done (but no texture animation or sound)

This commit is contained in:
Perttu Ahola 2011-01-17 21:15:31 +02:00
parent 0fa0e0752a
commit d44abdab17
13 changed files with 770 additions and 65 deletions

View file

@ -1608,7 +1608,7 @@ public:
return true;
}
void pop_front()
Value pop_front()
{
typename core::list<Value>::Iterator i = m_list.begin();
Value value = *i;
@ -1617,6 +1617,12 @@ public:
return value;
}
u32 size()
{
assert(m_list.size() == m_map.size());
return m_list.size();
}
private:
core::map<Value, u8> m_map;
core::list<Value> m_list;