OSGHUD: comment out the brakes part of the hud (both in code and config file) awaiting for better phisics to be implemented
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8907 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 501cdb54cc4d81aac4f2f9aa70c53f7ef1cabf2a Former-commit-id: 89b644782d26eaea55f3c49f61547704709cf5ca
This commit is contained in:
parent
f15f509ad9
commit
3c9a3281b4
1 changed files with 10 additions and 9 deletions
|
@ -1759,23 +1759,24 @@ void SDHUD::Refresh(tSituation *s, const SDFrameInfo* frameInfo,
|
|||
tireNameText << "tire-" << tireName.str().c_str() << "-pressures-unit";
|
||||
hudTextElements[tireNameText.str().c_str()]->setText(temp.str());
|
||||
|
||||
|
||||
// the brakes section has been commented out both here and in the osghud config file since the current phisics implementation is too unrealistic for this part of the hud to be useful
|
||||
// but please leave this here for when it will be made better in the future
|
||||
/*
|
||||
//set brake temps
|
||||
float brakeTemp = currCar->_brakeTemp(i);
|
||||
float brakeTemp = currCar->_brakeTemp(i);
|
||||
|
||||
tireNameText.str("");
|
||||
tireNameText << "brake-" << tireName.str().c_str() << "-cold";
|
||||
changeImageAlpha(hudImgElements[tireNameText.str().c_str()], 1.0);
|
||||
tireNameText << "brake-" << tireName.str().c_str() << "-cold";
|
||||
changeImageAlpha(hudImgElements[tireNameText.str().c_str()], 1.0);
|
||||
|
||||
tireNameText.str("");
|
||||
tireNameText << "brake-" << tireName.str().c_str() << "-optimal";
|
||||
changeImageAlpha(hudImgElements[tireNameText.str().c_str()], (brakeTemp*2));
|
||||
|
||||
changeImageAlpha(hudImgElements[tireNameText.str().c_str()], (brakeTemp*2));
|
||||
|
||||
tireNameText.str("");
|
||||
tireNameText << "brake-" << tireName.str().c_str() << "-hot";
|
||||
changeImageAlpha(hudImgElements[tireNameText.str().c_str()], ((brakeTemp-0.5)*2));
|
||||
|
||||
|
||||
changeImageAlpha(hudImgElements[tireNameText.str().c_str()], ((brakeTemp-0.5)*2));
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue