4.10 support update (unfinished and untested).
This commit is contained in:
parent
eb624f15e3
commit
8e952f412f
80 changed files with 2343 additions and 2356 deletions
|
|
@ -214,45 +214,45 @@ Class SWWMCreditsMenu : GenericMenu
|
|||
// calc total height
|
||||
theight = int(logosz.y);
|
||||
theight += 8*(SECTION_PAD+mBigFont.GetHeight()*2);
|
||||
for ( int i=0; i<cdev.Size(); i++ )
|
||||
foreach ( c:cdev )
|
||||
{
|
||||
theight += ENTRY_PAD;
|
||||
theight += cdev[i].height;
|
||||
theight += c.height;
|
||||
}
|
||||
for ( int i=0; i<cassets.Size(); i++ )
|
||||
foreach ( c:cassets )
|
||||
{
|
||||
theight += ENTRY_PAD;
|
||||
theight += cassets[i].height;
|
||||
theight += c.height;
|
||||
}
|
||||
for ( int i=0; i<cmusic.Size(); i++ )
|
||||
foreach ( c:cmusic )
|
||||
{
|
||||
theight += ENTRY_PAD;
|
||||
theight += cmusic[i].height;
|
||||
theight += c.height;
|
||||
}
|
||||
for ( int i=0; i<cvoice.Size(); i++ )
|
||||
foreach ( c:cvoice )
|
||||
{
|
||||
theight += ENTRY_PAD;
|
||||
theight += cvoice[i].height;
|
||||
theight += c.height;
|
||||
}
|
||||
for ( int i=0; i<cfanart.Size(); i++ )
|
||||
foreach ( c:cfanart )
|
||||
{
|
||||
theight += ENTRY_PAD;
|
||||
theight += cfanart[i].height;
|
||||
theight += c.height;
|
||||
}
|
||||
for ( int i=0; i<clocal.Size(); i++ )
|
||||
foreach ( c:clocal )
|
||||
{
|
||||
theight += ENTRY_PAD;
|
||||
theight += clocal[i].height;
|
||||
theight += c.height;
|
||||
}
|
||||
for ( int i=0; i<cpatrons.Size(); i++ )
|
||||
foreach ( c:cpatrons )
|
||||
{
|
||||
theight += ENTRY_PAD;
|
||||
theight += cpatrons[i].height;
|
||||
theight += c.height;
|
||||
}
|
||||
for ( int i=0; i<cthanks.Size(); i++ )
|
||||
foreach ( c:cthanks )
|
||||
{
|
||||
theight += ENTRY_PAD;
|
||||
theight += cthanks[i].height;
|
||||
theight += c.height;
|
||||
}
|
||||
// music swap
|
||||
oldmus = musplaying.name;
|
||||
|
|
@ -302,66 +302,66 @@ Class SWWMCreditsMenu : GenericMenu
|
|||
// developer
|
||||
yy += SECTION_PAD;
|
||||
yy += DrawSection(xx,yy,sdev);
|
||||
for ( int i=0; i<cdev.Size(); i++ )
|
||||
foreach ( c:cdev )
|
||||
{
|
||||
yy += ENTRY_PAD;
|
||||
yy += cdev[i].Draw(ss,xx,yy);
|
||||
yy += c.Draw(ss,xx,yy);
|
||||
}
|
||||
// assets
|
||||
yy += SECTION_PAD;
|
||||
yy += DrawSection(xx,yy,sassets);
|
||||
for ( int i=0; i<cassets.Size(); i++ )
|
||||
foreach ( c:cassets )
|
||||
{
|
||||
yy += ENTRY_PAD;
|
||||
yy += cassets[i].Draw(ss,xx,yy);
|
||||
yy += c.Draw(ss,xx,yy);
|
||||
}
|
||||
// music
|
||||
yy += SECTION_PAD;
|
||||
yy += DrawSection(xx,yy,smusic);
|
||||
for ( int i=0; i<cmusic.Size(); i++ )
|
||||
foreach ( c:cmusic )
|
||||
{
|
||||
yy += ENTRY_PAD;
|
||||
yy += cmusic[i].Draw(ss,xx,yy);
|
||||
yy += c.Draw(ss,xx,yy);
|
||||
}
|
||||
// voices
|
||||
yy += SECTION_PAD;
|
||||
yy += DrawSection(xx,yy,svoice);
|
||||
for ( int i=0; i<cvoice.Size(); i++ )
|
||||
foreach ( c:cvoice )
|
||||
{
|
||||
yy += ENTRY_PAD;
|
||||
yy += cvoice[i].Draw(ss,xx,yy);
|
||||
yy += c.Draw(ss,xx,yy);
|
||||
}
|
||||
// fanart
|
||||
yy += SECTION_PAD;
|
||||
yy += DrawSection(xx,yy,sfanart);
|
||||
for ( int i=0; i<cfanart.Size(); i++ )
|
||||
foreach ( c:cfanart )
|
||||
{
|
||||
yy += ENTRY_PAD;
|
||||
yy += cfanart[i].Draw(ss,xx,yy);
|
||||
yy += c.Draw(ss,xx,yy);
|
||||
}
|
||||
// localization
|
||||
yy += SECTION_PAD;
|
||||
yy += DrawSection(xx,yy,slocal);
|
||||
for ( int i=0; i<clocal.Size(); i++ )
|
||||
foreach ( c:clocal )
|
||||
{
|
||||
yy += ENTRY_PAD;
|
||||
yy += clocal[i].Draw(ss,xx,yy);
|
||||
yy += c.Draw(ss,xx,yy);
|
||||
}
|
||||
// patrons
|
||||
yy += SECTION_PAD;
|
||||
yy += DrawSection(xx,yy,spatrons);
|
||||
for ( int i=0; i<cpatrons.Size(); i++ )
|
||||
foreach ( c:cpatrons )
|
||||
{
|
||||
yy += ENTRY_PAD;
|
||||
yy += cpatrons[i].Draw(ss,xx,yy);
|
||||
yy += c.Draw(ss,xx,yy);
|
||||
}
|
||||
// thanks
|
||||
yy += SECTION_PAD;
|
||||
yy += DrawSection(xx,yy,sthanks);
|
||||
for ( int i=0; i<cthanks.Size(); i++ )
|
||||
foreach ( c:cthanks )
|
||||
{
|
||||
yy += ENTRY_PAD;
|
||||
yy += cthanks[i].Draw(ss,xx,yy);
|
||||
yy += c.Draw(ss,xx,yy);
|
||||
}
|
||||
}
|
||||
override void Ticker()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue