Commit Graph

24 Commits

Author SHA1 Message Date
Andrew Wong 987f152891 Added some metrics to unlock screen (animations for unlock icons, mainly, as well as "seconds to display")
Fixed bug with roulette seeds (selecting a song that does not exist in unlock database caused a crash upon selecting a song)
2003-07-10 07:22:31 +00:00
Glenn Maynard 8e421b6b61 Fix matching. 2003-07-09 19:10:09 +00:00
Andrew Wong b8c014e5bf RouletteSeeds now is updated dynamically based on unlocks.dat 2003-07-09 14:16:21 +00:00
Andrew Wong 402145139d optimized UnlockSystem::FindSong() function so its a O(log n) operation instead of O(n)
(improved from sequential to binary search; still may have bugs so old code is commented out)
2003-07-09 13:54:23 +00:00
Andrew Wong 68eeaae034 implemented unlock by roulette method [RO] (not ragnarok online, silly) 2003-07-09 11:38:50 +00:00
Andrew Wong 1bbbab816f added choice of which points to display for unlocking between dance, arcade, and song points 2003-07-09 06:05:43 +00:00
Glenn Maynard a3956e8dd4 grr. 2003-07-09 05:57:09 +00:00
Glenn Maynard fc88d69fca Use SONGMAN->FindSong 2003-07-09 05:01:37 +00:00
Glenn Maynard 4602901bbd std::sort takes a function that returns a bool, not an int 2003-07-09 04:47:51 +00:00
Glenn Maynard f9b12e9e8e simplify 2003-07-09 04:46:24 +00:00
Andrew Wong d897ba1319 removing and re-adding files because they show up as binary 2003-07-09 03:10:01 +00:00
Andrew Wong f5fe8d6784 removing and re-adding files because they show up as binary 2003-07-09 03:07:51 +00:00
Sean Burke 0bb99f60a7 eol 2003-07-08 19:16:39 +00:00
Andrew Wong a471a70e1e updated unlock screen - now it can be configured to be MAX2-style (shows the numbers 1-30) 2003-07-08 18:50:24 +00:00
Andrew Wong d248bd17e3 Fixed a bug with "points till next unlock"
Implemented metrics for unlock screen (sets position and size of dance points till next unlock)
2003-07-08 12:50:31 +00:00
Glenn Maynard 1583d3be81 fix, simplify 2003-07-08 04:35:25 +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 0011ca5654 Re-adding these; they were (incorrectly) added as binary files for some
reason.
2003-07-07 22:19:03 +00:00
Glenn Maynard 2daa449d49 fix warnings 2003-07-07 10:41:33 +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
Andrew Wong 221d2d1b36 fixed "points till next unlock" so it truly shows points till next unlock 2003-07-06 12:53:23 +00:00
Sean Burke 1150d092ae eol 2003-07-03 21:36:59 +00:00
Glenn Maynard 6f4a5af3b9 remove whitespace 2003-06-18 20:20:25 +00:00
Kevin Slaughter fd02bce784 Added new unlock system, disabled by default 2003-05-09 05:56:05 +00:00