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:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user