Commit Graph

31 Commits

Author SHA1 Message Date
Kyzentun f8e1e28286 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. 2014-06-17 00:29:09 -06:00
Kyzentun 7e41d88feb Fixed fake conflict in Profile.cpp. 2014-06-16 22:57:33 -06:00
Kyzentun 6db1199db5 Added PROFILE:GetHighScoreListIfExists for limiting memory footprint on searches. Added PROFILE:GetAllUsedHighScoreNames to provide a non-brute force way for obtaining a list of names. Added HighScoreList:GetHighestScoreOfName so the C++ side could do the iteration. Added HighScoreList:GetRankOfName for the same reason. 2014-05-13 13:34:38 -06:00
Kyzentun c8476738f5 Exposed GAMESTATE:StoreRankingName and Profile:SetLastUsedHighScoreName to Lua. StoreRankingName no longer forces uppercase. 2014-05-12 22:01:22 -06:00
sigatrev f1fc291989 run profile's CustomLoadFunction when changing theme or assigning a local profile to a player
This should make the custom load functions a lot more useful.
2014-04-30 21:30:30 -05:00
Kyzentun 3c7bb93bbc Added ComboContinuesBetweenSongs back in. And if that line in ResetStageStatistics is committed as FOREACH_HumanPlayer, I'm going to punch git. 2014-02-16 11:43:28 -07:00
AJ Kelly 7787efdaa9 Add Lua bindings for RankingCategory
(Sourced from shakesoda/stepmania.)
2013-10-04 07:43:41 -05:00
Devin J. Pohly cc38fa1d5a Profile: add custom load/save hooks
Themes can use these to implement custom per-profile data, such as
SpeedMods.txt.  For memory cards, they will be executed while the card is
mounted and should read/write everything they will need at that point.
2013-09-06 23:36:54 -04:00
Devin J. Pohly 1220dbe085 Revert "Round 2-2 of this."
This reverts commit 0ae4183f7b.
2013-06-04 23:47:22 -04:00
Devin J. Pohly bf20306d07 Revert "Missed more of these darned spots."
This reverts commit bbb57b1600.
2013-06-04 23:46:11 -04:00
Jason Felds bbb57b1600 Missed more of these darned spots.
Gah, losing my touch.
2013-04-18 22:56:57 -04:00
Jason Felds 0ae4183f7b Round 2-2 of this. 2013-04-16 00:16:02 -04:00
Colby Klein a1fc6a38b1 Revert "No point in saving CoinData anymore."
This reverts commit 3d90a33394.
2013-02-11 12:11:11 -08:00
Jason Felds 3d90a33394 No point in saving CoinData anymore. 2013-02-10 10:32:11 -05:00
Jason Felds 1fc16698ba War on -Werror, part 12: explicit bool usage.
It may save a few cycles, but it's best to be
explicit on boolean operations, especially with
ASSERT.
2012-12-27 11:38:53 -05:00
AJ Kelly b4bd8e82d9 Add various new bindings for ProfileManager, also GetGUID binding for Profile. [asorenson] 2012-11-22 12:42:12 -06:00
AJ Kelly c07d41cecb [Profile] Added GetLastPlayedSong and GetLastPlayedCourse Lua bindings. 2012-04-25 19:56:33 -05:00
AJ Kelly 4cfc1af8db remove leftover catalog stuff 2011-10-27 21:31:34 -05:00
Mark Cannon b5d8d67079 "UserData" -> "UserTable" in Profile; more accurate name. 2011-08-21 20:20:59 -04:00
Jason Felds da51e26d07 Standardize conversion processes.
Too many arguments for or against the many methods:
stick to one inside a common function.

This commit will force recompilation of many files.
2011-05-11 15:58:31 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds 81ccc7daba Quickly variables! Into the magic mirror! 2011-03-14 03:32:07 -04:00
Jason Felds 9d13036e08 Add @briefs to the Luna classes.
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
Jason Felds d6bdeb0499 Another round of doxygenating. 2011-02-13 18:12:40 -05:00
AJ Kelly 86b2dcdc0a [Profile] Add GetLastUsedHighScoreName Lua binding. 2010-12-19 14:54:45 -06:00
AJ Kelly a8de96107f New Lua Bindings: Profile:SetCharacter(sCharID), GAMESTATE:GetCharacter(PlayerNumber), GAMESTATE:SetCharacter(PlayerNumber,sCharID) 2010-12-18 14:42:07 -06:00
AJ Kelly 4a7e97e796 hey some profile stuff i missed that's pretty important! 2010-04-14 22:00:56 -05:00
AJ Kelly 5c5ef54a48 various changes from sm4 and sm-ssc (svn); see updated changelog for the full information 2010-02-18 23:17:24 -06:00
AJ Kelly 75861f22a1 various commits from SM4 SVN, courtesy of Glenn and Vyhd. 2010-02-14 23:02:34 -06:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00