mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Usunięte prawie wszystkie AnsiString oprócz zapisu e3d.
This commit is contained in:
@@ -427,7 +427,7 @@ int TSubModel::Load(cParser &parser, TModel3d *Model, int Pos, bool dynamic)
|
||||
if (texture.find_first_of("/\\") == texture.npos)
|
||||
texture.insert(0, Global::asCurrentTexturePath.c_str());
|
||||
TextureID = TTexturesManager::GetTextureID(
|
||||
szTexturePath, Global::asCurrentTexturePath.c_str(), texture);
|
||||
szTexturePath, const_cast<char*>(Global::asCurrentTexturePath.c_str()), texture);
|
||||
// TexAlpha=TTexturesManager::GetAlpha(TextureID);
|
||||
// iFlags|=TexAlpha?0x20:0x10; //0x10-nieprzezroczysta, 0x20-przezroczysta
|
||||
if (Opacity < 1.0) // przezroczystoϾ z tekstury brana tylko dla Opacity
|
||||
|
||||
Reference in New Issue
Block a user