Add note about trans_table_19.

This commit is contained in:
Perttu Ahola 2011-09-07 01:19:48 +03:00
parent 5c1074aa7d
commit 8e26c5c066
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,11 @@ void setStoneLikeDiggingProperties(DiggingPropertiesList &list, float toughness)
void setDirtLikeDiggingProperties(DiggingPropertiesList &list, float toughness); void setDirtLikeDiggingProperties(DiggingPropertiesList &list, float toughness);
void setWoodLikeDiggingProperties(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_t trans_table_19[21][2] = {
{CONTENT_GRASS, 1}, {CONTENT_GRASS, 1},
{CONTENT_TREE, 4}, {CONTENT_TREE, 4},