Commit Graph

51 Commits

Author SHA1 Message Date
Andrew Wong 06eaebb9c5 warn in logfile invalid unlock entries, and remove them from the system when they're found 2003-08-11 22:37:46 +00:00
Andrew Wong 6812cbfd7a change SongEntry to UnlockEntry 2003-08-11 20:57:57 +00:00
Steve Checkoway 762afe38a4 Fix compiler warnings. 2003-08-10 03:23: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
Chris Danford 8eb277cdce fix slash direction for Xbox 2003-08-04 00:04:53 +00:00
Andrew Wong cd0af65a88 show number of unlocks on title screen (easier benchmarking purposes, mainly) 2003-07-25 00:03:05 +00:00
Andrew Wong 4fa5cbf673 minor unlock system fixes 2003-07-24 14:04:13 +00:00
Glenn Maynard 71b2199fb2 Move the rest of song searching logic into SONGMAN. 2003-07-22 05:45:30 +00:00
Andrew Wong 42ea9a0fdb unlock system changes - mainly to try implement extreme-style unlock scrolling 2003-07-20 15:09:37 +00:00
Glenn Maynard 608f6aede3 simplify 2003-07-18 08:04:47 +00:00
Glenn Maynard 66e156e840 Whoops. SongEntry::UpdateLocked was backwards. 2003-07-18 07:51:42 +00:00
Glenn Maynard 32831d5af2 Simplify. 2003-07-18 06:38:05 +00:00
Andrew Wong f2c5d01e8f basic support for scrolling song list 2003-07-16 12:58:02 +00:00
Sean Burke 4feca2678f Compile fix for UnlockSystem. 2003-07-15 10:11:22 +00:00
Andrew Wong a1e82c2f8b removed a few unused functions 2003-07-15 08:00:59 +00:00
Glenn Maynard 461e1bcf1a Don't parse things yourself when there's code to do it ... 2003-07-15 00:52:01 +00:00
Andrew Wong 608a2cdacf changed unlock.dat format (now #UNLOCK:song title:code=value,code=value) 2003-07-14 06:36:29 +00:00
Glenn Maynard 2d12eb7985 simplify, comment 2003-07-13 19:41:57 +00:00
Andrew Wong 511e81eafc fixed a few bugs (thanks glenn) and a little cleanup 2003-07-13 14:18:26 +00:00
Glenn Maynard bf5cd55bb6 re-simplify 2003-07-12 21:41:12 +00:00
Glenn Maynard 216462a9b7 Comment, simplify. 2003-07-12 20:22:26 +00:00
Glenn Maynard 9db916b94f Simplify. 2003-07-12 20:16:07 +00:00
Ben Anderson e882f9d3b2 Case counts on Linux 2003-07-11 18:08:57 +00:00
Andrew Wong 89e57aa708 fixed bug in reading inis - it would reset if the file WAS found, not vice versa. 2003-07-11 10:34:10 +00:00
Andrew Wong 9958c4c0c5 bugfixes and updates to unlock system (more abstract) 2003-07-11 09:35:28 +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
Andrew Wong e5b4b4be6c updated support for course unlocking (very basic) 2003-07-10 11:24:16 +00:00
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