Commit Graph

87 Commits

Author SHA1 Message Date
RhythmLunatic 12e983ba51 add GetCurrentSections 2020-05-26 22:36:53 -05:00
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
Kyzentun 2aee27a276 Backport custom song support. Prefs are CustomSongsEnable, CustomSongsMaxCount, CustomSongsLoadTimeout, CustomSongsMaxSeconds, CustomSongsMaxMegabytes. Metrics are NumProfileSongGroupColors and the colors with it. Profile custom load function is passed PlayerNumber now. Stepmania must run as root to save USB profile scores. (#1470) 2017-06-06 05:30:06 -07:00
Nickito12 d96bcae8de NetRoom/SelectBase/Music lua objects. Scrolling with lua funcs and binded to ctrl+pg up/down. Show prev msgs, binded to pg up/down. Music wheel move, selectmusic screen's select current song, chatbox visibility, input en/disabling and UserList visibility lua functions. (#1394) 2017-02-10 04:58:23 -08:00
Kyzentun Keeslala 8a7b1d407a Ignore auto set style when filtering songs for the music wheel in online mode. 2016-06-29 15:36:48 -06:00
Kyzentun Keeslala 4361bcd7e3 Don't invalidate the current song or steps until after the music wheel has been constructed, so that themes can safely touch it when handling current song changed. 2016-05-19 11:19:55 -06:00
Colin Wallace 473974e52f Add ability to delete songs from disk at the song selection screen (Ctrl+Backspace) 2015-03-27 05:22:55 +00:00
Kyzentun b293a8c073 Added debug key for toggling action sounds off. Touches every place that RageSound::Play is called, hope I didn't miss one. 2015-02-28 06:25:02 -07:00
Kyzentun 65a1551c6d Changed SetCurrentStyle to unjoin other player when setting OnePlayerTwoSides to fix crash from second joining on SSS and picking double. Changed MusicWheel FilterWheelItemDatas to clear the vector it's putting the filtered data in instead of appending to the end. Updated Polish translation. 2015-02-08 10:33:51 -07:00
Devin J. Pohly 603b9d95fc Allow OnlyShowActiveSection wheel to include current section title
IIDX hides inactive sections, but unlike the current behavior of our
OnlyShowActiveSection metric (based on certain Pumps according to
DaisukeMaster's comment), it retains the section title so that the
section can be closed normally.

New metric: MusicWheel.HideActiveSectionTitle, defaulting to true in
_fallback.  A bit unfortunate, but keeps backward compatibility with the
existing behavior of OnlyShowActiveSection.

If neither metric is true, wheel displays all titles plus the contents
of the active section (if any).

If OSAS is true but HAST is false, wheel displays the active section
title plus its contents, or all titles if no section is active.

If both are true, wheel displays only the active section's contents, or
all titles if no section is active.
2015-02-01 10:09:59 -05:00
Devin J. Pohly f18fa45495 MusicWheel: fix CloseCurrentFolder with OnlyShowActiveSection
Moves all of the wheel-entry-hiding logic into SetOpenSection rather
than prematurely throwing out section headings.  Now when we close the
active section with OnlyShowActiveSection in effect, the headings are
shown rather than an empty wheel.
2015-01-31 10:38:14 -05:00
Kyzentun 3fb36af157 Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox. 2014-12-09 22:27:00 -07:00
Kyzentun 6b346e8e0b Added MusicWheel:GetSelectedSection. 2014-08-02 00:38:58 -07:00
Kyzentun a74a49af78 Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError. 2014-08-02 00:38:18 -07:00
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
Jason Felds 07b9fb6da5 The big NULL replacement party part 6.
...and ', NULL' had even more to replace.
2013-05-03 23:49:23 -04:00
Jason Felds 28e5148dec The big NULL replacement party part 5.
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds ba59dd1656 The big NULL replacement party part 2.
This may take a bit. Trying to do this by operator/command.
2013-05-03 23:11:42 -04:00
Jason Felds 9f24627bf9 The big NULL replacement party part 1.
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.

And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
Jason Felds c67419ecc8 There goes the macro file.
This is one of my bigger commits in this branch.

Still, shouldn't cause a problem.
2013-05-01 23:54:39 -04:00
Jason Felds f2dbe7ccdb Utilize the algorithm approach. 2013-05-01 21:55:47 -04:00
Jason Felds 9f431955f3 Another loop. 2013-04-28 18:03:24 -04:00
Jason Felds acb312fa14 No need for indexer: use for each.
Also no need to have a separate ref variable.
2013-04-27 13:56:25 -04:00
Jason Felds 7356adefd7 Handle the set loops here. 2013-04-27 13:54:28 -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