From: Perttu Ahola Date: Tue, 6 Sep 2011 22:19:48 +0000 (+0300) Subject: Add note about trans_table_19. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=8e26c5c0664bcf140ced8db98e6ed99802a7d9fa;p=zefram%2Fminetest%2Fminetest_engine.git Add note about trans_table_19. --- diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index e18112ae..51f2f973 100644 --- a/src/content_mapnode.cpp +++ b/src/content_mapnode.cpp @@ -36,6 +36,11 @@ void setStoneLikeDiggingProperties(DiggingPropertiesList &list, float toughness) void setDirtLikeDiggingProperties(DiggingPropertiesList &list, float toughness); void setWoodLikeDiggingProperties(DiggingPropertiesList &list, float toughness); +/* + A conversion table for backwards compatibility. + Maps <=v19 content types to current ones. + Should never be touched. +*/ content_t trans_table_19[21][2] = { {CONTENT_GRASS, 1}, {CONTENT_TREE, 4},