37 Commits

Author SHA1 Message Date
Dan Guzek 9666bb0ae2 change a few global Lua variables to be local
Running StepMania with the command line argument of --ExportLuaInformation while the current 5.1's default theme (Lambda) was selected added some seemingly stray Lua variables to the Constants table in ./Docs/Luadoc/Lua.xml.

I spotted them here: http://dguzek.github.io/Lua-For-SM5/LuaAPI#Constants

I'm assuming num, bPreference, and bCategory don't need global scope, so I added the local keyword where appropriate.
2019-12-09 19:45:57 -05:00
Kyzentun 5d7f6b7b52 Added code for setting player name plates with bpm info. 2014-12-27 05:44:46 -07:00
Kyzentun 3945a4a34b Improved three-key support. Default theme should be completely usable with three-key cabinets if ThreeKeyNavigation pref is true. Added ThreeKeyNavigation pref. ScreenOptions:NavigationMode metric now uses that pref to decide between normal and toggle modes. Added GoToFirstOnStart to OptionRowHandlerLua so an option row can control that behavior. Rewrote input for default's ScreenSelectProfile to use an input callback to take advantage of menu button mapping. Fixed inconsistent indentation in ORHL documentation. 2014-08-02 00:38:46 -07:00
Kyzentun 32664e7e17 Changed ArbitrarySpeedMods to use a large increment that is not forced to be a multiple of the smaller increment. 2014-08-02 00:38:31 -07:00
Kyzentun de8799ebdc Renamed ArbSpeedMods to ArbitrarySpeedMods to avoid the wrath of the OpenGL Architecture Review Board. Added option rows for controlling the size of the increments used by ArbitrarySpeedMods. Simplified logic in ASM and added rounding to avoid excessive precision. Removed pointless setmetatable calls from various lua option rows. 2014-06-20 22:48:00 -06:00
Kyzentun 045e9edcdd Added ArbSpeedMods function for a better way of setting speed modifiers. Added NotifyHandlerOfSelection to OptionRowHandler to support this. Changed exceptions thrown by OptionRowHandlerLua into log warnings because crashing out is not helpful to themers. Fixed SetEnabledForPlayers in OptionRowHandlerLua to correctly read the PlayerNumber enum. Removed silly git add Docs/Themerdocs/Examples/OptionRowHandlerLua.lua and second check for ExportOnChange. 2014-06-19 06:41:18 -06:00
Devin J. Pohly d5345f2f37 Rewrite CustomSpeedMods to use new profile hooks
This fixes bug 1054.
2013-09-06 23:38:03 -04:00
Jason Felds 20d94d4b7e Cat is back in the bag. Revert commits.
A-mods need to be tested more.

...and this is what happens when you forget to
stash changes before a merge. Lesson learned.
2013-04-19 21:49:55 -04:00
Jason Felds 3b7d5716a7 ...well, cat's out of the bag. a-mod tryout. 2013-04-18 23:05:23 -04:00
Flameshadowxeroshin 58669e616e Tweaked Failure function, made case-correction code work 2012-05-04 07:16:04 -05:00
Flameshadowxeroshin 84eef100a6 lazytown 2012-05-03 20:28:55 -05:00
Flameshadowxeroshin 37246257af I just realized there was a pretty serious problem here 2012-05-04 01:14:17 +00:00
AJ Kelly 0e867243be [CustomSpeedMods] If a player decides to remove 1x from the machine profile's custom speed mods, re-add it back in to avoid crashes. 2012-05-03 20:04:49 -05:00
AJ Kelly 60111ac53c the Failure() function in CustomSpeedMods was failing. Fancy that. Not sure what the real cause of it was, but a small fix later... 2012-02-15 22:52:48 -06:00
Flameshadowxeroshin f138bca380 make new CustomSpeedMods actually work because I am awesome 2012-01-20 13:35:23 -06:00
Flameshadowxeroshin 4ed12ba28c upgrade CustomSpeedMods to 2.2, disable KeymapGuard because it doesn't work 2012-01-19 22:57:20 -06:00
AJ Kelly a3d5eaefe1 Remove old references to Data/ in CustomSpeedMods 2011-12-15 20:24:12 -06:00
AJ Kelly 28c1b3e70b update scripts as a part of a cleanup 2011-10-27 18:56:23 -05:00
AJ Kelly 150438dbee remove unfinished datetime; moved working functions to Utilities. small edits to customspeedmods 2011-09-26 14:33:41 -05:00
AJ Kelly e0bd63a2a8 turns out that code didn't work. 2011-08-20 01:44:54 -05:00
AJ Kelly 35118e7632 [CustomSpeedMods] Updated to v2.2; implements a m-Mod fix. [hanubeki] 2011-08-20 01:33:59 -05:00
AJ Kelly d3f641c0e3 attempt to fix issue 267 by splitting the check between persistent profile and memory card state 2011-07-31 12:25:41 -05:00
Jonathan Payne df12c3e2fc Bug 176: Small theme and behavior tweaks.
( http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=176 )
2011-07-20 15:07:56 -07:00
AJ Kelly 745ce7560a small changes to CustomSpeedMods 2011-07-07 16:03:07 -05:00
Colby Klein f63fa335f2 Slightly faster default CMods (250, 450). 2011-07-03 11:01:53 -07:00
Colby Klein 07a2bd6da7 Port OpenITG's M-Mods. Example: m600 to set target BPM of 600, on a 200BPM song this means 3x. Works with custom speed mods. Note: the block in Player.cpp needs to be fixed for these to be usable, do this before releasing PR2. 2011-07-03 00:08:56 -07:00
AJ Kelly 4d5b1fe2a3 change default custom speed mods back to pre-arrow spacing change speeds 2011-05-01 14:54:12 -05:00
AJ Kelly 3a8395820b fix small typo 2011-04-22 19:17:55 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
AJ Kelly d23a718b8b change this to use the string binding 2011-02-27 22:04:14 -06:00
Colby Klein 3f27d9c6b1 Change default speed mod set to reflect changes to scrolling speed. 2010-11-28 12:42:26 -08:00
AJ Kelly 7b3f8b2090 Script cleanup, add aliases for SCREEN_* (_screen.w, etc, check alias.lua). [shakesoda] 2010-06-07 23:24:19 -05:00
AJ Kelly 1bce8e686c Update CustomSpeedMods documentation 2010-05-05 23:43:54 -05:00
AJ Kelly dfc5f53134 various theme changes by Midiman and myself. 2010-02-17 19:47:36 -06:00
AJ Kelly d80641ecf1 fix byte order mark issue in customspeedmods 2010-02-06 21:33:52 -06:00
Jason Felds 19a0444747 Fix encoding issue. 2010-01-31 21:06:02 -05:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00