Posted: 06 Sep 2006, 17:03
That'd be pretty easy to do, yeah. Someone write us a patch!
Oops, that's not my line anymore
Oops, that's not my line anymore

Open Source Realtime Strategy Game Engine
https://springrts.com/phpbb/
Code: Select all
void CBaseGroundDrawer::ToggleLosTexture()
{
if (drawMode==drawLos) {
drawLineOfSight=false;
DisableExtraTexture();
} else {
drawLineOfSight=true;
SetDrawMode(drawLos);
extraTex=0;
highResInfoTexWanted=highResLosTex;
updateTextureState=0;
while(!UpdateExtraTexture());
}
}