Commit Graph
117 Commits
Author SHA1 Message Date
Chris Danford bc39cb5079 serialize all memory card operations since mount operations hang if we're doing lsusb or reading USB mass storage descriptors in another thread 2004-10-09 08:16:48 +00:00
Chris Danford 5c5ac50b82 Load from LastGood if the main profile is tampered/corrupt.
Don't write new data on a load fail - it doesn't give the user a change to correct the load failure.
2004-10-07 19:57:51 +00:00
Chris Danford e4cb07f1d5 FileCopy instead of Save 2004-10-06 08:54:37 +00:00
Chris Danford ebb9e730a4 Show message when a Profile load fails so that the player doesn't accidentally save over their possibly-good data.
Save a copy of Stats.xml to the memory card after a successful load.  I have seen one instance where the digital signature on save is bogus, and there's no way for the player to recover their data.
Update Stats.xsl text help text.
2004-10-06 08:39:38 +00:00
Chris Danford d2a54cca31 make TapNote a struct. Over time, more properties will move from the enums and into bit flags. 2004-09-12 05:56:24 +00:00
Chris Danford 56e930e1b6 don't show machine scores for edits in PaneDisplay 2004-08-21 15:51:33 +00:00
Steve Checkoway 4b09d31db6 Too few arguments for format. 2004-08-09 05:53:10 +00:00
Chris Danford e435165014 clean up memory card logic:
- Don't do the OS mount for cards during the attract screens.  Only do OS mounts in the time between BeginGame and PlayersFinalized.
 - Remove logic for fast load of a Profile from the MemoryCard.  Instead, load the whole profile all at once on PlayersFinalized.
2004-08-09 05:01:24 +00:00
Glenn Maynard 0c4f092fd3 fix ambiguous ?: types 2004-08-06 21:01:28 +00:00
Glenn Maynard 0047e04998 add ProfileManager::SaveAllProfiles
make ProfileManager::SaveMachineProfile() const
2004-07-20 01:31:23 +00:00
Glenn Maynard 5f58c7e2cf save scores in event mode when no profile is enabled, to avoid confusion 2004-07-11 05:21:19 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford 0de7efdfe0 remove dead score load code
clamp negative scores because they have a weird influence on the "percent complete" number
2004-06-26 21:38:38 +00:00
Chris Danford e915e5d4d5 only save scores in event mode if the player's profile has sLastUsedHighScoreName 2004-06-09 08:25:08 +00:00
Chris Danford 63bbabc491 add pref: MinPercentageForMachineCourseHighScore 2004-06-08 08:15:58 +00:00
Glenn Maynard 733127d8ed license update 2004-06-08 01:24:17 +00:00
Chris Danford 8889e84f11 fix silly mistake 2004-06-06 05:39:41 +00:00
Chris Danford 110ec3d331 synchronize access to memory cards between mounting thread and main thread Profile Load/Save 2004-06-06 02:41:16 +00:00
Chris Danford 32b703fd17 add logging 2004-06-05 19:40:53 +00:00
Chris Danford 0151baf6dc save stats on exit only if there's new data that hasn't yet been saved 2004-05-25 06:01:52 +00:00
Chris Danford 962cdfc4f0 write Catalog.xml only after loading songs
get rid of try/catch in SongManager
get rid of try/catch in PrefsManager
2004-05-25 05:52:57 +00:00
Chris Danford ba93ee8469 "for( int p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 06:10:11 +00:00
Chris Danford 4bb777232d name cleanup: "pNotes" -> "pSteps" 2004-05-24 03:41:39 +00:00
Chris Danford 4ff8b8ec2b clean up Course score saving (use Trail) 2004-05-23 09:17:10 +00:00
Chris Danford ec1b8430bc don't consider minimum percentage for Course scores 2004-05-17 02:31:37 +00:00
Chris Danford ee4427a54b clean up CPU player naming
add default CPU player modifiers
2004-05-16 02:51:55 +00:00
Glenn Maynard 0ec88317a0 delete edits when deleting a profile; otherwise the profile directory won't
be removed, and the entry will still show up in the profile list
2004-05-14 23:20:28 +00:00
Chris Danford e9f576d262 "LastScores"->"RecentScores"
add recent scores to HTML
2004-05-08 10:12:10 +00:00
Chris Danford 82c910711c read memory card names in the mount thread
MemoryCardDrivers: fix Mount doesn't clear the right mount point before trying to mount
2004-04-23 04:17:02 +00:00
Chris Danford b28f440883 fix edit high score hash saving
don't save machine high scores for edits
2004-04-23 02:19:45 +00:00
Chris Danford 7a47504507 fix Profiles loaded for players that aren't joined 2004-04-23 02:01:44 +00:00
Chris Danford 0cc49c66bb add CourseLastScores for tournaments 2004-04-22 22:01:38 +00:00
Glenn Maynard 70958ad3cb never sign machine profiles 2004-04-20 00:07:17 +00:00
Chris Danford 3bc5943a9e don't throw away Song scores for Songs/Steps that aren't currently loaded on the machine 2004-04-18 18:42:42 +00:00
Chris Danford 1920634135 move Song/Steps sorting into Song/StepsUtil.h/cpp 2004-04-18 07:34:37 +00:00
Chris Danford d6e52f6aac optimize profile loading 2004-03-29 06:47:10 +00:00
Chris Danford 9555d508ee move RageFileManager mounting into the MemoryCardDriver, not MemoryCardManager 2004-03-14 01:40:24 +00:00
Chris Danford df63bf2642 fix Game default modifiers override Profile default modifiers depending on when the player joined 2004-03-13 12:27:24 +00:00
Chris Danford 1090dcd2a0 add themed StepsType name
add "TotalHighScoreDancePoints" calculation to ScreenEnding
2004-03-11 06:31:30 +00:00
Chris Danford 7fe28a6dae add PerDifficulty and PeakCombo awards 2004-03-07 04:34:49 +00:00
Chris Danford c9d2572508 hack around unmounting weirdness 2004-02-27 03:36:11 +00:00
Chris Danford e9e09dc701 add debugging 2004-02-27 03:14:21 +00:00
Steve Checkoway b09116c138 fix warning 2004-02-24 01:22:39 +00:00
Chris Danford e183e3b706 add SaveModifiers code for PlayerOptions screen 2004-02-23 08:16:40 +00:00
Thad Ward e33c642403 fix typo 2004-02-22 21:22:48 +00:00
Chris Danford 6154c14f86 add calorie tracking
clean up time formatting functions
2004-02-22 19:51:46 +00:00
Glenn Maynard 802e1a6758 Store unlock data in a more fundamental form in the profile, and derive
the special values as needed.  Centralize most of it in GameState::EndGame.
2004-02-22 08:16:49 +00:00
Chris Danford 69600d9d80 save per-difficulty course scores 2004-02-22 06:04:01 +00:00
Chris Danford b12ea17458 fix local profile loading 2004-02-22 03:44:04 +00:00
Chris Danford 455d4a8383 profile cleanup 2004-02-22 02:15:34 +00:00