mirror of
https://github.com/glest/glest-source.git
synced 2025-08-27 01:44:23 +02:00
Extended faction transparency support
This commit is contained in:
@@ -60,14 +60,9 @@ namespace Shared {
|
||||
public:
|
||||
MeshCallbackTeamColor() : MeshCallback() {
|
||||
teamTexture = NULL;
|
||||
hasAlpha = false;
|
||||
}
|
||||
void setTeamTexture(const Texture *teamTexture, bool hasAlpha) {
|
||||
void setTeamTexture(const Texture *teamTexture) {
|
||||
this->teamTexture = teamTexture;
|
||||
this->hasAlpha = hasAlpha;
|
||||
}
|
||||
bool getHasAlpha() {
|
||||
return hasAlpha;
|
||||
}
|
||||
virtual void execute(const Mesh *mesh);
|
||||
};
|
||||
|
Reference in New Issue
Block a user