mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
minecraft-style water done (but no texture animation or sound)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user