#pragma once #include "StaticRegistry.h" #include "WorldUpdate.h" #include "BlockType.h" #include "ItemType.h" #include "EntityType.h" #ifndef _REGISTRY #define _REGISTRY extern #endif #define STATIC_REGISTRY(Type) Type##Registry _REGISTRY StaticRegistry WorldUpdateTypeRegistry; _REGISTRY StaticRegistry BlockTypeRegistry; _REGISTRY StaticRegistry ItemTypeRegistry; _REGISTRY StaticRegistry EntityTypeRegistry;