- narrowing down the public interface of the texture class

Cannot refactor if the entire class is this wide open to everything.
Not complete yet, doesn't fully compile!
This commit is contained in:
Christoph Oelckers 2018-12-06 01:11:04 +01:00
commit 6eab4a882c
74 changed files with 608 additions and 518 deletions

View file

@ -1904,7 +1904,7 @@ void FParser::SF_FloorTexture(void)
t_return.type = svt_string;
FTexture * tex = TexMan[sector->GetTexture(sector_t::floor)];
t_return.string = tex? tex->Name : "";
t_return.string = tex? tex->GetName() : "";
}
}
@ -1994,7 +1994,7 @@ void FParser::SF_CeilingTexture(void)
t_return.type = svt_string;
FTexture * tex = TexMan[sector->GetTexture(sector_t::ceiling)];
t_return.string = tex? tex->Name : "";
t_return.string = tex? tex->GetName() : "";
}
}