Commit Graph

64 Commits

Author SHA1 Message Date
Ben "root" Anderson 4e83167450 Fix double meters sort (Bug#1027) 2013-10-24 00:12:49 -05:00
Jason Felds 09dff9834a Remove recursion. Make it public. 2013-06-08 22:28:10 -04:00
Devin J. Pohly 4c2bfd7dc9 Add ChangeSort method to Lua MusicWheel 2013-03-24 00:12:17 -04:00
Devin J. Pohly b7d74c6c0b Register MusicWheel as a Lua class.
Now Lua functions on MusicWheel actually exist.
2013-03-24 00:01:40 -04:00
Jason Felds fb06985b64 Another goto goes away.
As far as if a variable should be made in the loop
or out of it...consider that up for debate.
2013-01-24 22:54:02 -05:00
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -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 2edd2b31b5 add TrySelectCourse so that SelectCourse can be bound without having to change its protection 2012-07-22 17:07:12 -05:00
Flameshadowxeroshin 1fc5fe100e prepare for vyhdycokio anger 2012-07-22 12:26:43 -05:00
Flameshadowxeroshin c2bc9d1ff3 if you fail to reach the top the more you break the more you drop. try it again. try it again. 2012-07-22 12:05:19 -05:00
Flameshadowxeroshin 2b21a91f91 Add ResetSelection binding to MusicWheel, add MusicWheel to Luadocs 2012-07-22 11:44:45 -05:00
AJ Kelly 7051b2bc16 it's bitching about this for some reason 2012-07-08 10:58:53 -05:00
AJ Kelly 44523f0c48 [MusicWheel] Added EmptyColor metric. 2012-05-27 12:55:31 -05:00
AJ Kelly ccf29a15b7 [MusicWheel] Added RouletteStopped message, which is broadcast when Roulette is finished and the wheel is locked. 2012-03-08 18:39:42 -06:00
AJ Kelly 02ae959aab [MusicWheel, WheelBase] Added collapse sound. 2012-03-01 21:35:33 -06:00
Jason Felds 4ae5105d46 Enforce a rebuild, allow for sorting itself. 2012-01-08 22:32:48 -05:00
Flameshadowxeroshin 069c423b52 to me this makes sense... the real fix is still a mystery it seems 2012-01-09 02:45:51 +00:00
Jason Felds e73d3c33c3 Partial fix for music wheel woes. 2012-01-08 21:39:58 -05:00
AJ Kelly ec74678b70 Add MusicWheel:IsRouletting and WheelBase:GetNumWheelItems Lua bindings. 2011-12-27 11:03:02 -06:00
Colby Klein 2e5d5f3697 Add some Lua bindings for the music wheel and items. 2011-12-20 01:47:49 -08:00
AJ Kelly ebe832a142 Move the expanded section name into GameState 2011-08-03 23:56:04 -05:00
AJ Kelly 701034219f [MusicWheel, RoomWheel] Moved the "- EMPTY -" string to the languages file. [AJ] 2011-08-01 16:58:54 -05: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 02d05e1b33 Revert. Try to avoid breaking default compiling. 2011-07-07 09:33:04 -04:00
Alberto Ramos a7e356793f can someone look for a workaround for this please? 2011-07-07 03:06:19 -06:00
Jason Felds 5ef549d80d Warning fixes. 2011-06-11 09:36:17 -04:00
Jason Felds 09305639ae Let AutoSetStyle select all charts in the game. 2011-06-06 21:41:24 -04:00
Henrik Andersson ca71c99f63 Cleaning up some merge junk that I missed. 2011-05-30 11:25:09 +02:00
Henrik Andersson 7379443cb3 The wheel merge result compiles! It also doesn't crash at runtime! 2011-05-29 20:40:28 +02:00
AJ Kelly 14e07cbb61 planning stuff for musicwheel 2011-04-29 13:25:58 -05:00
AJ Kelly 6fa63cfb78 todo comment about ordering random, roulette, portal, and custom items 2011-04-09 23:32:13 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
AJ Kelly 919279938e Revert "Previously, we didn't create MusicWheel sorts when the screen loads"
This reverts commit 0dc297ba76508bb7244ed70f9f72761087e1f177.

It didn't work out so well.
2011-03-13 20:23:07 -05:00
AJ Kelly ff5cef88f0 whoops again! 2011-03-13 12:32:35 -05:00
AJ Kelly 983c2cd56f whoops, forgot a line. 2011-03-13 12:30:47 -05:00
AJ Kelly b0398a3b4f sm5svn 2527d15 2011-03-13 12:30:22 -05:00
AJ Kelly a906aac6b9 fix warning 2011-03-09 13:55:55 -06:00
AJ Kelly 56bb3e8445 sm5svn 0dc297b [Glenn Maynard]
"Previously, we didn't create MusicWheel sorts when the screen loads; it was delayed until the
screen begins.  This allowed preloading before the style is set.  However, it caused a
major skip when the screen starts, because creating the sorts is fairly expensive.

Refactor this.  Load the sorts when the screen is loaded, and then go through them
and quickly filter out unplayable data and handle other initialization on begin.
This is much faster, so we can more easily transition seamlessly from the previous
menu.

One known limitation: the sorts are created before we know the style, so we have to
guess.  This means if you're in a style like dance-solo or pump-halfdouble, sorts will
still be based on regular mode.  This affects the difficulty, top grade and roulette sorts."
2011-03-08 21:09:38 -06:00
AJ Kelly c28845a8dc Added custom MusicWheel items.
[ScreenSelectMusic] Add GetMusicWheel Lua binding.
2011-03-08 19:28:40 -06:00
Jason Felds 00257e7995 Consistent semicolon use.
This is C++, not Python!
2011-02-18 20:40:51 -05:00
AJ Kelly 86dab15937 remove unused logging 2011-02-18 14:07:41 -06:00
AJ Kelly ff9eb24770 [MusicWheel] add RouletteColor, RandomColor, and PortalColor metrics 2011-01-15 17:06:28 -06:00
AJ Kelly 628afdd7d8 comment and stuff 2010-12-21 16:22:01 -06:00
AJ Kelly 092f767d6b small cleanup 2010-12-14 02:09:12 -06:00
Alberto Ramos 3653da83c6 Two part can be cancelled with menuup/down, todo: make it a metric 2010-07-26 13:09:56 -06:00
AJ Kelly cc0996f653 slight comment/cleanup 2010-07-25 19:39:07 -05:00
AJ Kelly 102b896fbc did I never sync up the change that fixed autogen off + a second player joins while the first player is on a doubles-only song? hmm.. 2010-07-25 14:46:12 -05:00
Alberto Ramos 0f12b48805 HideSections renamed to OnlyShowActiveSection 2010-07-25 11:35:58 -06:00
Alberto Ramos 23a1cc37d4 MusicWheel::JumpToNext/PrevGroup, functions tweaked (thanks juanelote)
Metric added, [MusicWheel]::HideSections, will restrict showing one group at time, it you want to see the other groups use the next/prev group code, defaulted to "false"
Also group changing is allowed via gamebuttons in case of those who wants to take advantage of the codedetector too, "false" as default
SongManager::GetSongGroupByIndex, gets groups by index (helpful in Jump to group functions, thanks to juanelote for this too).
2010-07-25 11:29:05 -06:00
AJ Kelly d785851eb6 if a preferred song group is set via gamecommand, and [MusicWheel] UseSectionsWithPreferredGroup=true, then jump to the first song in the group when entering SSMusic instead of staying on the first item in the wheel. 2010-06-29 18:51:06 -05:00