123456789101112131415161718 |
- #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<WorldUpdateType> WorldUpdateTypeRegistry;
- _REGISTRY StaticRegistry<BlockType> BlockTypeRegistry;
- _REGISTRY StaticRegistry<ItemType> ItemTypeRegistry;
- _REGISTRY StaticRegistry<EntityType> EntityTypeRegistry;
|