mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add note about trans_table_19.
This commit is contained in:
parent
5c1074aa7d
commit
8e26c5c066
1 changed files with 5 additions and 0 deletions
|
@ -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},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue