aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_train_subway
ModeNameSize
-rw-r--r--depends.txt18logplain
-rw-r--r--init.lua2035logplain
d---------locale34logplain
d---------models54logplain
d---------textures112logplain
opt">{ MapgenSinglenodeParams() {} ~MapgenSinglenodeParams() {} void readParams(Settings *settings); void writeParams(Settings *settings); }; class MapgenSinglenode : public Mapgen { public: u32 flags; content_t c_node; MapgenSinglenode(int mapgenid, MapgenParams *params, EmergeManager *emerge); ~MapgenSinglenode(); void makeChunk(BlockMakeData *data); int getGroundLevelAtPoint(v2s16 p); }; struct MapgenFactorySinglenode : public MapgenFactory { Mapgen *createMapgen(int mgid, MapgenParams *params, EmergeManager *emerge) { return new MapgenSinglenode(mgid, params, emerge); }; MapgenSpecificParams *createMapgenParams() { return new MapgenSinglenodeParams(); }; }; #endif