Commit Graph

8 Commits

Author SHA1 Message Date
Kyzentun adfc259b71 Changed CheckEnum to use lua_isnoneornil so that enum args can be made properly optional. Changed PlayMusicPart to allow nil for optional args so optional args would be independent. 2014-08-02 00:38:33 -07:00
Kyzentun a74a49af78 Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError. 2014-08-02 00:38:18 -07:00
Kyzentun dcf819d297 Moved all sanity checking for OptionRowHandlerLua to a separate function so that a malformed row does not crash StepMania, and instead prints an error to the log file, and creates a row that does nothing. Added AllowAnything arg to CheckEnum. 2014-06-25 12:08:57 -06:00
Devin J. Pohly 2907fa06a7 Try to resolve enums old-style if new-style fails
This makes e.g. cmd(blend,add) work like cmd(blend,'BlendMode_Add').
Resolution in this case is case-insensitive like it used to be.
2014-02-23 15:28:20 -05:00
Jason Felds c09920bb4b More explicit fail messages.
Now if only I could see why I crashed here...
2012-01-16 13:52:50 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04: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