Commit Graph

132 Commits

Author SHA1 Message Date
Glenn Maynard 59277f9518 SortOrder_AvgDifficulty is unused. 2003-08-12 00:28:57 +00:00
Glenn Maynard c7e8af1bc9 Move best and worst to the end in the average difficulty sort. 2003-08-12 00:18:33 +00:00
Glenn Maynard 607beaaed0 Make Course::GetMeter return a float. Use it in the sort again. This
fixes the sort ignoring #METER, not handling random difficulties the
same way as the difficulty meter, etc.
2003-08-11 23:58:32 +00:00
Chris Danford d049234f03 working on course edit screen 2003-08-10 23:48:10 +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
Steve Checkoway 9f6b17eac1 Add newline at end of file. 2003-08-07 10:29:40 +00:00
Chris Danford 879fa6c37c NUM_NOTES_TYPES => NUM_STEPS_TYPES 2003-08-07 06:38:18 +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
Glenn Maynard 44e28a2e89 fix autogen courses not being mystery 2003-08-06 08:05:41 +00:00
Glenn Maynard 7e07e7c8de Handle updating internally 2003-08-04 21:37:07 +00:00
Glenn Maynard 0a9ea01e7f optimize 2003-08-04 21:34:45 +00:00
Glenn Maynard 7b6204243d simplify 2003-08-04 20:45:34 +00:00
Andrew Wong 357987b9de changed way the course ranking sort is applied - now detects on startup and theme change rather than before each music wheel 2003-08-04 09:18:26 +00:00
Andrew Wong e5a3e634d5 minor optimization: compare if a song is in ranking for UpdateCourseStats if ranking is chosen in prefs 2003-08-04 06:35:54 +00:00
Glenn Maynard 3a85c1c8a0 Always shuffle random courses the same way during the same round. 2003-08-03 07:12:33 +00:00
Glenn Maynard b198dcee90 remove unused Entry::caprice 2003-08-03 03:32:47 +00:00
Chris Danford bf02bfddf4 rename Notes to Steps 2003-08-03 00:13:55 +00:00
Steve Checkoway 8c6ba0f506 Fix compile warnings 2003-08-01 12:12:02 +00:00
Glenn Maynard 699a10a135 Trying to track an odd crash that I can't reproduce ... 2003-08-01 00:13:16 +00:00
Glenn Maynard 7f13b5ce6d Replace "caprice" with a "showcourse"/"noshowcourse" tag.
This also allows hiding static songs; I added that since it took about four
lines extra code.

Note that I've updated the Save() function a bit, and fixed some bugs
I saw, but it's not used yet and it's no more tested than it was before.
2003-07-30 21:33:20 +00:00
Andrew Wong 7553cf3afa oops, account for bug if user uses regular songs with caprice songs 2003-07-30 10:04:59 +00:00
Andrew Wong a85491b9ad random caprice added (use CAPRICE like you use BEST1, WORST1, etc) 2003-07-30 09:53:33 +00:00
Glenn Maynard 8533a28987 fix potential crash 2003-07-28 23:38:42 +00:00
Glenn Maynard ee4aad473e Use the derived meter value instead of a plain average. 2003-07-28 07:35:54 +00:00
Glenn Maynard 2ea56ecdf8 GetStageInfo is gone.
Remove GetFirstStageInfo.
Allow specifying the course difficulty to functions affected by it.
Simplify Course::GetPlayMode.
2003-07-27 19:14:05 +00:00
Glenn Maynard 6562c230e2 Simplify: SortOrder_NumStages was always being set to ci.size()+1,
and is never used outside of this function.

Fix float/int warning.
2003-07-27 18:28:05 +00:00
Andrew Wong e6deb22af7 course coloring and minor changes 2003-07-27 14:54:56 +00:00
Andrew Wong cb250344b8 basic course sorting implemented via preferences 2003-07-27 14:10:47 +00:00
Steve Checkoway 5c27d138b1 Remove LOG->Trace() since it breaks compilation. 2003-07-22 13:00:25 +00:00
Chris Danford fe0cba9f78 runs on Xbox 2003-07-22 07:56:46 +00:00
Glenn Maynard 71b2199fb2 Move the rest of song searching logic into SONGMAN. 2003-07-22 05:45:30 +00:00
Glenn Maynard d0502bfddb rename 2003-07-21 23:16:06 +00:00
Glenn Maynard 5618c2b3d1 add course meter 2003-07-21 22:33:01 +00:00
Glenn Maynard fb0b6ed89e GetDifficulty and GetMeterRange take an Info. 2003-07-21 22:21:03 +00:00
Glenn Maynard a0230f752a Fill in CourseIndex. 2003-07-21 21:59:10 +00:00
Glenn Maynard 4106afb299 Refactor.
Finding out which songs were random was broken: if a non-static
song (eg. player's best) was missing ("BEST99999"), m_entries
doesn't necessarily match one-to-one with the results of GetStageInfo.
2003-07-21 21:54:07 +00:00
Glenn Maynard b9ef5b0f50 Remove #EXTRA. Nothing ever uses it and DWI doesn't mention it,
either.
2003-07-21 19:36:02 +00:00
Glenn Maynard 57d2c07c27 add SortCoursePointerArrayByType 2003-07-20 08:50:19 +00:00
Glenn Maynard 301ad56516 add Course::GetPlayMode 2003-07-20 01:54:17 +00:00
Glenn Maynard 1a74714b53 Fix crash in PlayerOptions.
Random meter songs in difficult courses get +2 to meter.
2003-07-17 22:44:17 +00:00
Andrew Wong 721df8ea02 updated course unlocking to take transliterated (non-translated) titles
redid code for unlock screen so courses and songs are displayed
2003-07-10 14:44:13 +00:00
Glenn Maynard 361a2b58a9 add SONGMAN->FindSong 2003-07-09 04:09:35 +00:00
Glenn Maynard 12768f0b5a change default score 2003-06-30 18:53:17 +00:00
Glenn Maynard 242d99a5df Fix RankingToInsert::CompareDescending.
Store regular scores in nonstop, not oni.  We only ever display those
scores in that mdoe.

Add Course::IsNonstop, Course::IsOni, Course::IsEndless.
2003-06-30 08:06:47 +00:00
Glenn Maynard 65c51af8a4 banner cache for course banners 2003-06-15 02:07:31 +00:00
Glenn Maynard 4cf2fc91e3 Disable these warnings; I have so many partial courses I can't find
the *real* warnings.
2003-06-15 01:24:12 +00:00
Glenn Maynard 2cb374103f remove unused parameter 2003-06-06 19:42:53 +00:00
Glenn Maynard c39deb384c Remove dupe logic; fixes autogen course banners where the filename isn't
"banner" and probably fixes them for groups not in "Songs"
2003-05-30 19:40:10 +00:00