mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
ObjDefManager, Mapgen SAPI: Huge refactoring
- General code cleanup - Unified object creation and loading - Specifying objects in APIs is now orthogonal (i.e. anything can take an ID, name string, or the raw table definition (and automatically registers if present
This commit is contained in:
@@ -213,7 +213,6 @@ public:
|
||||
|
||||
virtual const char *getObjectTitle() const = 0;
|
||||
|
||||
virtual ObjDef *create(int type) = 0;
|
||||
virtual void clear();
|
||||
virtual ObjDef *getByName(const std::string &name) const;
|
||||
|
||||
|
Reference in New Issue
Block a user