1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Fix mixed indentation in titlerender.cpp

There's a lot, looks like mainly because of the person who added MMMMMM
and M&P.
This commit is contained in:
Misa 2020-04-02 14:19:15 -07:00 committed by Ethan Lee
parent dd8cf0f200
commit a31a6ef614

View file

@ -38,9 +38,9 @@ void titlerender()
graphics.drawsprite((160 - 96) + 3 * 32, temp, 23, tr, tg, tb);
graphics.drawsprite((160 - 96) + 4 * 32, temp, 23, tr, tg, tb);
graphics.drawsprite((160 - 96) + 5 * 32, temp, 23, tr, tg, tb);
#if defined(MAKEANDPLAY)
#if defined(MAKEANDPLAY)
graphics.Print(-1,temp+35," MAKE AND PLAY EDITION",tr, tg, tb, true);
#endif
#endif
graphics.Print(5, 175, "[ Press ACTION to Start ]", tr, tg, tb, true);
graphics.Print(5, 195, "ACTION = Space, Z, or V", int(tr*0.5f), int(tg*0.5f), int(tb*0.5f), true);
@ -76,16 +76,16 @@ void titlerender()
graphics.drawsprite((160 - 96) + 3 * 32, temp, 23, tr, tg, tb);
graphics.drawsprite((160 - 96) + 4 * 32, temp, 23, tr, tg, tb);
graphics.drawsprite((160 - 96) + 5 * 32, temp, 23, tr, tg, tb);
#if defined(MAKEANDPLAY)
#if defined(MAKEANDPLAY)
graphics.Print(-1,temp+35," MAKE AND PLAY EDITION",tr, tg, tb, true);
#endif
#endif
graphics.Print( 310 - (4*8), 230, "v2.2", tr/2, tg/2, tb/2);
if(music.mmmmmm){
graphics.Print( 10, 230, "[MMMMMM Mod Installed]", tr/2, tg/2, tb/2);
}
}
#if !defined(NO_CUSTOM_LEVELS)
#if !defined(NO_CUSTOM_LEVELS)
else if (game.currentmenuname == "levellist")
{
if(ed.ListOfMetaData.size()==0){
@ -106,7 +106,7 @@ void titlerender()
}
}
}
#endif
#endif
else if (game.currentmenuname == "errornostart")
{
graphics.Print( -1, 65, "ERROR: This level has", tr, tg, tb, true);
@ -115,7 +115,7 @@ void titlerender()
else if (game.currentmenuname == "options")
{
#if defined(MAKEANDPLAY)
#if defined(MAKEANDPLAY)
if (game.currentmenuoption == 0)
{
graphics.bigprint( -1, 30, "Accessibility", tr, tg, tb, true);
@ -144,7 +144,7 @@ void titlerender()
}
}
}
#elif !defined(MAKEANDPLAY)
#elif !defined(MAKEANDPLAY)
if (game.currentmenuoption == 0)
{
graphics.bigprint( -1, 30, "Accessibility", tr, tg, tb, true);
@ -180,7 +180,7 @@ void titlerender()
}
}
}
#endif
#endif
}
else if (game.currentmenuname == "graphicoptions")
{
@ -2257,7 +2257,7 @@ void maprender()
graphics.Print(0, 105, "Press ACTION to warp to the ship.", 196, 196, 255 - help.glow, true);
}
#if !defined(NO_CUSTOM_LEVELS)
#if !defined(NO_CUSTOM_LEVELS)
else if(map.custommode){
graphics.Print(30, 220, "MAP", 64,64,64);
graphics.Print(103-8, 220, "[CREW]", 196, 196, 255 - help.glow);
@ -2295,7 +2295,7 @@ void maprender()
}
}
}
#endif
#endif
else
{
graphics.Print(30, 220, "MAP", 64,64,64);