mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Don't render touchscreen controls in demo
This commit is contained in:
@@ -57,6 +57,7 @@ extern short numSparkles, numFlyingPts, numPendulums, clockFrame;
|
|||||||
extern short numFlames, numSavedMaps, numTikiFlames, numCoals;
|
extern short numFlames, numSavedMaps, numTikiFlames, numCoals;
|
||||||
extern Boolean evenFrame, shadowVisible, twoPlayerGame, tvOn;
|
extern Boolean evenFrame, shadowVisible, twoPlayerGame, tvOn;
|
||||||
extern touchScreenControlState touchScreen;
|
extern touchScreenControlState touchScreen;
|
||||||
|
extern Boolean demoGoing;
|
||||||
|
|
||||||
|
|
||||||
//============================================================== Functions
|
//============================================================== Functions
|
||||||
@@ -610,6 +611,9 @@ void RenderShreds (void)
|
|||||||
|
|
||||||
void RenderTouchScreenControls (void)
|
void RenderTouchScreenControls (void)
|
||||||
{
|
{
|
||||||
|
if (demoGoing)
|
||||||
|
return;
|
||||||
|
|
||||||
DrawSurface *ctrlGraphics[TouchScreenCtrlIDs::Count];
|
DrawSurface *ctrlGraphics[TouchScreenCtrlIDs::Count];
|
||||||
|
|
||||||
for (int i = 0; i < TouchScreenCtrlIDs::Count; i++)
|
for (int i = 0; i < TouchScreenCtrlIDs::Count; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user