mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 05:30:23 +02:00
Merge pull request #271 from jBot-42/master
Show Tmp2 in the HUD for elements that use it
This commit is contained in:
@@ -2278,6 +2278,12 @@ void GameView::OnDraw()
|
|||||||
sampleInfo << ", Temp: " << std::fixed << sample.particle.temp -273.15f << " C";
|
sampleInfo << ", Temp: " << std::fixed << sample.particle.temp -273.15f << " C";
|
||||||
sampleInfo << ", Life: " << sample.particle.life;
|
sampleInfo << ", Life: " << sample.particle.life;
|
||||||
sampleInfo << ", Tmp: " << sample.particle.tmp;
|
sampleInfo << ", Tmp: " << sample.particle.tmp;
|
||||||
|
|
||||||
|
if (sample.particle.type == PT_CRAY || sample.particle.type == PT_DRAY || sample.particle.type == PT_EXOT || sample.particle.type == PT_LIGH || sample.particle.type == PT_SOAP || sample.particle.type == PT_TRON || sample.particle.type == PT_VIBR || sample.particle.type == PT_VIRS || sample.particle.type == PT_WARP) {
|
||||||
|
|
||||||
|
sampleInfo << ", Tmp2: " << sample.particle.tmp2;
|
||||||
|
}
|
||||||
|
|
||||||
sampleInfo << ", Pressure: " << std::fixed << sample.AirPressure;
|
sampleInfo << ", Pressure: " << std::fixed << sample.AirPressure;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user