Exposed StepMania::SaveScreenshot to Lua. Added prefix and suffix args for setting the screenshot name and removed the unused index arg. Added GetHighScore to PlayerStageStats and AddScreenshot to Profile so that Lua can imitate ScreenEvaluation's code for adding a screenshot to the profile. Removed hungarian notation from variable names in StepMania::SaveScreenshot.

This commit is contained in:
Kyzentun
2014-06-17 00:29:09 -06:00
parent e4f1682964
commit f8e1e28286
7 changed files with 92 additions and 18 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ namespace StepMania
void ChangeCurrentGame( const Game* g );
// If successful, return filename of screenshot in sDir, else return ""
RString SaveScreenshot( RString sDir, bool bSaveCompressed, bool bMakeSignature, int iIndex = -1 );
RString SaveScreenshot( RString Dir, bool SaveCompressed, bool MakeSignature, RString NamePrefix, RString NameSuffix );
void InsertCoin( int iNum = 1, bool bCountInBookkeeping = true );
void InsertCredit();