forked from Mirrorlandia_minetest/minetest
Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them not being filled correctly on some systems and compilers
This commit is contained in:
parent
74c6836f2f
commit
8b8ef8acc0
@ -32,6 +32,9 @@ class Inventory;
|
|||||||
#define NODEMETA_FURNACE 16
|
#define NODEMETA_FURNACE 16
|
||||||
#define NODEMETA_LOCKABLE_CHEST 17
|
#define NODEMETA_LOCKABLE_CHEST 17
|
||||||
|
|
||||||
|
core::map<u16, NodeMetadata::Factory> NodeMetadata::m_types;
|
||||||
|
core::map<std::string, NodeMetadata::Factory2> NodeMetadata::m_names;
|
||||||
|
|
||||||
class SignNodeMetadata : public NodeMetadata
|
class SignNodeMetadata : public NodeMetadata
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -30,9 +30,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
NodeMetadata
|
NodeMetadata
|
||||||
*/
|
*/
|
||||||
|
|
||||||
core::map<u16, NodeMetadata::Factory> NodeMetadata::m_types;
|
|
||||||
core::map<std::string, NodeMetadata::Factory2> NodeMetadata::m_names;
|
|
||||||
|
|
||||||
NodeMetadata::NodeMetadata(IGameDef *gamedef):
|
NodeMetadata::NodeMetadata(IGameDef *gamedef):
|
||||||
m_gamedef(gamedef)
|
m_gamedef(gamedef)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user