Commit Graph

242 Commits

Author SHA1 Message Date
Chris Danford 41c2415e95 cache and cleanup metrics 2003-11-05 04:57:47 +00:00
Chris Danford 4b3730cfc5 increase MusicWheel item max 2003-11-02 09:17:15 +00:00
Glenn Maynard 5ae277997b fix for new ModeChoice format 2003-10-28 21:10:57 +00:00
Glenn Maynard 17aeed205c Add SortMenuColor. Simplify. 2003-10-27 21:50:50 +00:00
Andrew Livy 37ef50d849 Pop'n Music Update
- Theme
- Noteskin

You can now make the music wheel into a 'staircase'
2003-10-08 00:17:17 +00:00
Glenn Maynard 5410988eb5 The GNU C++ library's random_shuffle doesn't always use rand();
it sometimes uses a nonportable generator, which isn't being seeded.
Sidestep and always use our own PRNG.

Cleanup.
2003-10-06 00:09:10 +00:00
Glenn Maynard 5c6fb94e14 Move UpdateRankingCourses to MusicWheel::MusicWheel. 2003-09-29 02:23:44 +00:00
Glenn Maynard 34fbd470a7 Use random_shuffle. 2003-09-28 20:21:49 +00:00
Christopher Pitman 9982447fb8 StartRandom() Now uses a linear shuffle instead of an exchange shuffle, so the distribution of songs should be as good as rand(). 2003-09-28 19:14:00 +00:00
Sean Burke cdaaa3be6b Fix comment spelling. 2003-09-27 22:32:13 +00:00
Glenn Maynard 7e0ebb6187 Use DescribesCurrentModeForAllPlayers. 2003-09-27 19:24:21 +00:00
Christopher Pitman 56cf66195c StartRandom now uses SongManager->GetRandomSong() instead of a shuffling method.
I made the change because I could notice to many recurring patterns in the songs being played, the distribution of random songs was too clumped.
2003-09-26 08:44:10 +00:00
Chris Danford 2c38027e6d fix "solo" selectable in Pump 2003-09-25 05:56:38 +00:00
Andrew Wong 54e490fd20 oops, forgot to commit:
replace GAMESTATE->m_pUnlockingSys with UNLOCKSYS
2003-09-19 07:02:53 +00:00
Andrew Wong 5b8a8e6f07 fix players best showing long version songs as final stages (by passing them, you would get 2nd extra stage) 2003-09-15 00:22:56 +00:00
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