Commit Graph

36 Commits

Author SHA1 Message Date
Kyzentun 3fb36af157 Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox. 2014-12-09 22:27:00 -07:00
Kyzentun 7e73892e6e Moved LifeType, DrainType, and BatteryLives from Song Options to Player Options. Added ScreenGameplay:FailFadeRemovePlayer lua function. 2014-08-06 23:26:05 -06:00
Kyzentun a5db63657c Changed GameCommand screen validation to allow OptionsList to work again. 2014-07-27 01:47:30 -06:00
Kyzentun 6cf23c4dc3 Changed many parts of GameCommand to improve error reporting. Fixed GameCommand setpref to not set when loading the command. Minor fix to ScreenOptionsExample.ini to explain that SongInCurrentSongGroup is unusable. CommonMetrics, CourseContentsList, HoldJudgent, OptionRowHandler all have minor changes to fix crashes on malformed theme data. 2014-07-14 15:41:04 -06:00
Kyzentun fb1a251b7a Changed many places that used RageException to use ReportScriptError instead. Wrote ScreenOptionsExample.ini as documentation example for the OptionRow system. Rewrote gamecommands.txt to include all GameCommands. Fixed Commands::GetOriginalCommandString to insert the semicolons that separated the original commands. Changed nonsensical boolean |= true statements in GameCommand.cpp to just use =. Added protection to ReportScriptError to keep it from recursing through itself when an error occurs in error reporting. Added UseAbort option to ReportScriptError for places that want to use an AbortRetryIgnore dialog to query the user. Added ScriptErrorMessage for places that need to handle the warning/dialog part separately. Added logging flag to MESSAGEMAN so that all messages broadcast can be logged when desired. Changed OptionRowHandler::LoadInternal to return a boolean success value as part of error handling. 2014-07-12 14:59:10 -06:00
Kyzentun 026f968fa4 Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError. 2014-07-07 00:39:27 -06:00
Kyzentun a7a98a690e Replaced every use of lua_call with RunScriptOnStack. Modified RunScriptOnStack to report an error to log and system message using a passed in context string. Modified every use of RunScriptOnStack to avoid crashing so that the reported error can be seen. 2014-07-05 01:34:05 -06:00
Kyzentun 0dfb131291 Created SongOptions Lua interface with a similar design to the PlayerOptions interface. Moved enums that were inside SongOptions out and made them Lua accessible. Removed sAutosyncType and associated things from AdjustSync.cpp because it was unused. Added DefaultNilArgs and FArgGTEZero to LuaBinding as helpers. Moved INTERFACE defines from PlayerOptions.cpp to OptionsBinding.h. 2014-05-03 19:27:32 -06:00
Kyzentun cc58f43567 Switching to double style shouldn't join the other player. It isn't necessary for input, the engine ScreenSelectMusic doesn't do it, and it forces a theme with custom SSM and style changing to unjoin the player that wasn't really joined. 2014-03-13 20:14:21 -06:00
Kyzentun 56cd5fb961 GetCreditsRequiredToPlayStyle didn't check the coin mode. 2014-02-12 15:08:54 -07:00
Ben "root" Anderson d654bd0142 Time to reopen this big 'ol bag of worms. 2014-02-02 12:53:26 -06:00
Devin J. Pohly 00e6f6e924 Make Pay mode work like Free
Third time's a charm.  Removing Pay mode without causing breakage to the Lua API.
This is the first step.
2013-06-08 16:11:02 -04:00
Devin J. Pohly 259e9b1e00 Revert "Round 2 of this."
This reverts commit 1d7b5fe852.
2013-06-04 23:47:49 -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 fa91154082 Revert "Forgot this one."
This reverts commit de396800d8.
2013-06-04 23:46:40 -04:00
Jason Felds de396800d8 Forgot this one. 2013-04-17 20:53:23 -04:00
Jason Felds 0ae4183f7b Round 2-2 of this. 2013-04-16 00:16:02 -04:00
Jason Felds 1d7b5fe852 Round 2 of this. 2013-04-15 23:26:05 -04:00
Colby Klein 3f32d9114f Revert "CoinMode_Pay->CoinMode_Free, step 1."
This reverts commit 15b3ee1a9a.
2013-02-11 12:11:54 -08:00
Flameshadowxeroshin 15b3ee1a9a CoinMode_Pay->CoinMode_Free, step 1.
CoinMode_Pay is still a value for the CoinMode enum but is now the same as CoinMode_Free.
Any code that checks for CoinMode_Pay is gone.
2013-02-07 09:12:28 -06:00
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -05:00
AJ Kelly 6ae5dcc6fb [GameCommand] Added GetDifficulty(), GetCourseDifficulty(), GetPlayMode(), GetSortOrder(), GetAnnouncer(), GetPreferredModifiers(), and GetStageModifiers() Lua bindings. 2012-03-05 21:32:20 -06:00
Jason Felds dbdab4759e [Xcode4] May as well fix switch warnings.
Still need some assistance for the linker error.
2011-07-20 11:11:04 -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 5102c0061b [sm130futures] Quiet the 64-bit to 32-bit warning. 2011-04-04 22:46:11 -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
AJ Kelly c4622d375b remove a todo of mine that made no sense 2011-03-07 15:19:37 -06:00
Jason Felds 9d13036e08 Add @briefs to the Luna classes.
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
AJ Kelly 7e7e00404b [GameCommand] Add GetScreen, GetSteps, GetCourse, GetTrail, and GetCharacter Lua bindings. 2010-12-19 14:18:37 -06:00
AJ Kelly d0b2a6940d [GameCommand] Remove pushscreen
[ScreenOptionsMasterPrefs] Reset Judge and Life values to the ones in SM4
[ScreenNetEvaluation] add Score, Grade, PlayerOptions params to UpdateNetEvalStats message
[PlayerState] add GetHealthState Lua binding
small cleanup in statsman
2010-08-15 15:26:27 -05:00
AJ Kelly 1c39a7db20 fix a bug with the urlnoexit GameCommand (it would pop up a message saying it couldn't launch the browser, even though it did.) 2010-06-26 17:28:46 -05:00
AJ Kelly 6b3da26a4c [GameCommand] Don't allow battle/rave with Routine (StyleType_TwoPlayersSharedSides). also cleanup
[RageTypes] remove glowmode stub stuff
[RageDisplayOGL] update comments slightly
2010-06-02 15:43:56 -05:00
AJ Kelly b769b53fd2 cleanup/comment 2010-04-30 12:37:19 -05: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