Commit Graph

227 Commits

Author SHA1 Message Date
Thad Ward 0d8a5f16a1 Fix the Default Sort metric. it wasn't being used to initially build the wheel, and then
when you chaged the sort, played a song, and selected another group, the sort would
suddenly pop back to the default, which wasn't being used as the default in the first place.
2003-09-07 14:29:59 +00:00
Kevin Slaughter 32350db67c Fixed bug.. This now only takes effect on ScreenSelectMusic, where it was originally only intended to execute 2003-08-31 09:41:38 +00:00
Andrew Wong 9ead112062 remove default sort (it interferes with the select sort menu)... sorry ^^ 2003-08-31 06:01:00 +00:00
Andrew Wong c02f7700d9 fix nonstop/oni modes (course sort was being overridden by metrics) 2003-08-31 03:49:19 +00:00
Thad Ward d067bd0d49 correct indent level 2003-08-30 12:59:03 +00:00
Kevin Slaughter e3b7432784 Added scriptable default musicwheel sort 2003-08-30 09:14:32 +00:00
Andrew Wong 1ebe763c9a add option to push random courses to end or sort them based on GetMeter 2003-08-12 23:18:19 +00:00
Glenn Maynard 1305172793 This update is done as necessary *within* the SortCoursePointerArrayBy*
functions.
2003-08-12 00:07:00 +00:00
Chris Danford 1e514c1c51 Rename overloaded methods of Song so that stack traces are more helpful. 2003-08-10 08:58:11 +00:00
Andrew Wong d3dadcc2e2 (hopefully) bugfix for following bug:
"Also, sorting courses by Average feet has some problems. At on point the order went Trip 5, World Tour, Road of Slow, Road of 2MB. The averages for these are 8.4, 7.89, 7.6, and 8.6. A bit out of order, eh?"

NOTE: it has to compare floats, NOT ints.  getmeter() doesn't work because it returns an integer, causing loss of decimal places
2003-08-09 22:08:17 +00:00
Andrew Wong c329db132c fix possible event mode bug (hopefully) 2003-08-08 20:37:17 +00:00
Andrew Wong 5cc3dbe4bb various bugfixes/updates
unlock system now supports clear and failed extra stages
songs unlocked by roulette are no longer unlocked by selecting them as extra stage
'fixed' survived time for extra stage when failing
2003-08-07 10:15:16 +00:00
Andrew Wong 1349a51360 fix extra stage bug with auto-select mode 2003-08-07 07:19:45 +00:00
Chris Danford 1a0d83cbc0 m_NotesType => m_StepsType
split NoteDataUtil to sep file
2003-08-07 06:36:34 +00:00
Chris Danford f5cd95b4f9 NotesType => StepsType 2003-08-07 06:16:17 +00:00
Andrew Wong f5794f47f7 HACK: invalidates currenly selected song if its a longversion or marathon and after clearing user doesn't have enough songs left to play it again
(previous behavior was it would select the first group heading if they were on, and the stage counter was messed up)
(if group headings were off, it would work fine previously, should still work fine)
2003-08-07 02:35:08 +00:00
Glenn Maynard 7e07e7c8de Handle updating internally 2003-08-04 21:37:07 +00:00
Chris Danford a5484733ab Remove Notes::DefaultScrollDirection metric. Use DefaultModifers pref instead. 2003-08-03 00:15:39 +00:00
Chris Danford bf02bfddf4 rename Notes to Steps 2003-08-03 00:13:55 +00:00
Glenn Maynard ef7733e121 remove unused parameter 2003-07-30 02:01:19 +00:00
Glenn Maynard 9a5f812c8f Simplify: use an enum instead of magic constants. 2003-07-27 18:39:34 +00:00
Andrew Wong cb250344b8 basic course sorting implemented via preferences 2003-07-27 14:10:47 +00:00
Glenn Maynard fe489cd281 SOUNDMAN -> SOUND
RageSoundManager.h -> RageSounds.h
2003-07-26 23:05:16 +00:00
Glenn Maynard 2d49a8a604 use SONGMAN->GetBestSongs 2003-07-21 21:47:50 +00:00
Glenn Maynard ca9b02c3b8 simplify 2003-07-20 20:53:11 +00:00
Glenn Maynard 16ca3937d9 Remove old code. 2003-07-20 20:10:54 +00:00
Glenn Maynard 81e16cf7a6 Don't show course modes after the first stage. 2003-07-20 09:15:46 +00:00
Glenn Maynard 5cb0b4f7cd Split up the course sort into four sorts: all courses, and one ofr each
course mode.

Fix score not tweening when switching sorts via the menu.

Rename SORT_SORT to SORT_MODE.  Add metrics to define what
sorts are listed.  This can also change modes, but this has only been
tested for changing the play mode, not the play style.
2003-07-20 08:54:31 +00:00
Glenn Maynard 530ef62c4a Clean up course lists. Allow showing courses in SSM (not currently available). 2003-07-20 05:13:45 +00:00
Glenn Maynard 608f6aede3 simplify 2003-07-18 08:04:47 +00:00
Glenn Maynard bbec48aef1 simplify 2003-07-18 07:53:41 +00:00
Andrew Wong e5b4b4be6c updated support for course unlocking (very basic) 2003-07-10 11:24:16 +00:00
Chris Danford 383ba2b17c fixed reversed 3d wheel 2003-07-10 03:38:21 +00:00
Andrew Wong 68eeaae034 implemented unlock by roulette method [RO] (not ragnarok online, silly) 2003-07-09 11:38:50 +00:00
Glenn Maynard f9b12e9e8e simplify 2003-07-09 04:46:24 +00:00
Chris Danford 332c2b318c break battle into two PlayModes: CPU_BATTLE, HUMAN_BATTLE 2003-07-08 19:56:56 +00:00
Glenn Maynard 03b4a7b6f3 Re-adding these; they were (incorrectly) added as binary files for some
reason.

Fix include case, reduce dependencies on UnlockSystem.h, cleanup.
2003-07-07 22:21:31 +00:00
Glenn Maynard 6f82760d6d extra stage fixes 2003-07-07 19:19:16 +00:00
Andrew Wong d27a25e472 Revamped the unlock system. Currently it supports the following methods:
DP - dance points, what Miryokuteki had in place
AP - arcade points, like MAX2 arcade
SP - song points, like MAX2 home (though I don't know the exact system)
CS - clear stages, like 5th home

Somewhat strewn but not supported yet:
!! - Toastys seen
EC - cleared extra stages
EF - fail extra stage (don't quote me on these two yet, I haven't tried them yet)
RO - roulette (theres fifteen roulette slots, but its not implemented yet)

Also updated the INI to store values for these means of unlocking.  The system
still isn't "optimized" yet, though.
2003-07-07 10:22:53 +00:00
Chris Danford 2636a34acb no message 2003-07-05 05:34:16 +00:00
William Reading d310d0e252 Fix darwin math problems 2003-07-04 18:03:20 +00:00
Glenn Maynard 2a0972b8ba cleanup 2003-06-30 07:09:13 +00:00
Glenn Maynard c787b9fa60 Only show some sorts in the normal rotation; get ot the rest via the "sort"
sort.  This should probably be configurable in some way (but probably not
a metric).
2003-06-30 06:53:21 +00:00
Glenn Maynard edb9ce03b6 optimization 2003-06-30 00:34:18 +00:00
Chris Danford df728d987a Add sorts by meter
Choose a random dancing character on GameState::Reset()
2003-06-27 08:06:22 +00:00
Glenn Maynard a026a7d9f6 remove m_bUseBGIfNoBanner and m_BannerCacheType 2003-06-23 08:39:34 +00:00
Glenn Maynard 31e3025c1f Skip unneeded sort changes 2003-06-19 19:31:46 +00:00
Glenn Maynard 683f2fc28e simplify and optimize section sort
fix two "OTHER" groups
2003-06-19 06:24:41 +00:00
Glenn Maynard a78661f4f4 Fix Artist sort.
Fix off-by-one error in BPM sort.
2003-06-19 05:30:01 +00:00
Glenn Maynard 854bb37ade Be careful with HasBanner; it checks to see if the file exists, which involves
scanning the directory, and doing that to a whole group of songs can take
a long time.  (I have unfinished code to speed this up, but we don't need this
particular call anyway ...)
2003-06-18 20:39:04 +00:00