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