Commit Graph
189 Commits
Author SHA1 Message Date
Glenn Maynard 63120568e6 Edits are part of the profile, so it's the profile's responsibility to load and unload them. (allows implementing fallback edit loading) 2005-04-25 00:32:08 +00:00
Glenn Maynard d997b7d137 unload edits when unloading the profile 2005-04-25 00:25:04 +00:00
Glenn Maynard 5093809e31 fallback load for Editable.ini when loaded by the memory card thread 2005-04-24 23:23:32 +00:00
Glenn Maynard 1ea1ecfaaf move FastLoadProfileNameFromMemoryCard into ProfileManager 2005-04-24 23:06:15 +00:00
Glenn Maynard 086ee3f376 split GetMemoryCardProfileDirectoriesToTry
store directory imported from
2005-04-24 19:39:54 +00:00
Glenn Maynard 1abb3cd8b2 working on importing scores 2005-04-24 19:18:46 +00:00
Glenn Maynard a7d099d006 simplify 2005-04-24 18:50:31 +00:00
Glenn Maynard 890fbb8b55 simplify 2005-04-22 04:28:46 +00:00
Chris Danford 218be32879 separate fail types per player. Now FailType adjustments based on Difficulty only affect the relevant players. 2005-04-05 08:30:57 +00:00
Ted Percival 30b4967697 improve readability 2005-03-27 13:42:09 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Chris Danford a2915c038b add TemporaryEventMode flag to GameState 2005-02-21 17:29:49 +00:00
Chris Danford 5c7b8314f4 allow hiding of option rows based on the value of other rows 2005-02-20 10:12:50 +00:00
Chris Danford 5b9ed5731f add assert 2005-02-17 17:14:00 +00:00
Glenn Maynard 6cb8d3fe64 GetMachineProfile 2005-02-16 02:48:50 +00:00
Glenn Maynard 69e57a659e GetMachineProfile 2005-02-16 02:45:23 +00:00
Chris Danford 4d31f3b4c1 evaluate TargetNumber as a Lua expression 2005-02-16 00:16:14 +00:00
Chris Danford 1a75a8cba5 add Lua methods 2005-02-15 23:13:18 +00:00
Chris Danford bb099ee7e0 count calories while stepping, not at the end 2005-02-15 09:24:48 +00:00
Glenn Maynard db9cd87c34 fix push 2005-02-14 05:57:40 +00:00
Chris Danford 12fde5d55c move PlayerName texts out of code and into BGAnimations 2005-02-13 01:16:17 +00:00
Charles Lohr ae2f55c7ac Fix: Now we can delete profiles. 2005-01-25 06:21:39 +00:00
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