summaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-01-16 22:16:04 +0100
committersfan5 <sfan5@live.de>2021-01-29 17:34:41 +0100
commitedd8c3c664ad005eb32e1968ce80091851ffb817 (patch)
treeaf80ed33fa80879ac97c6875fdbb930b857617ad /src/nodedef.h
parente6e5910cb432f0fb25a8af3dc6cb9950fd9a05f5 (diff)
downloadminetest-edd8c3c664ad005eb32e1968ce80091851ffb817.tar.gz
minetest-edd8c3c664ad005eb32e1968ce80091851ffb817.tar.bz2
minetest-edd8c3c664ad005eb32e1968ce80091851ffb817.zip
Drop never documented 'alpha' property from nodedef
Includes minimal support code for practical reasons. We'll need it for a slightly different purpose next commit.
Diffstat (limited to 'src/nodedef.h')
-rw-r--r--src/nodedef.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nodedef.h b/src/nodedef.h
index 66c21cc07..63b9474b9 100644
--- a/src/nodedef.h
+++ b/src/nodedef.h
@@ -418,15 +418,6 @@ struct ContentFeatures
void serialize(std::ostream &os, u16 protocol_version) const;
void deSerialize(std::istream &is);
- /*!
- * Since vertex alpha is no longer supported, this method
- * adds opacity directly to the texture pixels.
- *
- * \param tiles array of the tile definitions.
- * \param length length of tiles
- */
- void correctAlpha(TileDef *tiles, int length);
-
#ifndef SERVER
/*
* Checks if any tile texture has any transparent pixels.