From: Perttu Ahola Date: Tue, 6 Sep 2011 22:19:48 +0000 (+0300) Subject: Add note about trans_table_19. X-Git-Tag: 0.2.20110922~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8e26c5c0664bcf140ced8db98e6ed99802a7d9fa;p=oweals%2Fminetest.git Add note about trans_table_19. --- diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index e18112ae4..51f2f9736 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},