Commit Graph

172 Commits

Author SHA1 Message Date
Chris Danford 7082c5f78b add score utility methods: GetTotalStepsWithTopGrade, GetTotalTrailsWithTopGrade 2005-03-31 02:03:00 +00:00
Chris Danford e6f37dbee8 Don't fill in new Profiles with a hard-coded "NoName". Let ScreenSystemLayer fill in blank name from metrics. 2005-03-26 22:18:28 +00:00
Chris Danford e80357cfc1 split out MakeGuid 2005-03-22 10:33:06 +00:00
Glenn Maynard a51cbb1fe5 fix include 2005-03-18 07:36:16 +00:00
Glenn Maynard 2da21b16d4 rename m_iNumSingleSongsPlayed -> m_iNumTotalSongsPlayed
replace GetTotalNumSongsPlayed
2005-02-23 22:59:56 +00:00
Glenn Maynard c6de356dca Keep track of number of songs played. The other stats all count per-
player: if one person plays on Hard and one on Easy, then each will
be incremented.  That's useful, but it's also helpful to track the simple
number of songs played, irrespective of how many people were playing
at the time.
2005-02-23 22:52:03 +00:00
Glenn Maynard b960e51f42 Profile::IsCodeUnlocked 2005-02-21 06:59:50 +00:00
Glenn Maynard 1b7d1943e3 lua GetTotalNumSongsPlayed 2005-02-21 06:39:03 +00:00
Glenn Maynard 74d27315d3 s/UnlockSystem.h/UnlockManager.h/ 2005-02-21 06:22:46 +00:00
Chris Danford cf698b55a0 clean up XML error handling 2005-02-18 13:05:17 +00:00
Chris Danford da5f4a57bb add GoalType, Lua functions 2005-02-17 19:36:10 +00:00
Chris Danford f7c031ec3c add Lua methods 2005-02-17 17:14:33 +00:00
Chris Danford 682bd1364c cleanup 2005-02-17 05:56:02 +00:00
Chris Danford dd7349d480 add more goal data 2005-02-16 20:24:57 +00:00
Glenn Maynard 0a0da9809e allow saving a lua table for each profile 2005-02-16 02:46:43 +00:00
Chris Danford 1a75a8cba5 add Lua methods 2005-02-15 23:13:18 +00:00
Chris Danford 146dbea98d add GoalCalories 2005-02-15 22:08:42 +00:00
Chris Danford bb099ee7e0 count calories while stepping, not at the end 2005-02-15 09:24:48 +00:00
Glenn Maynard 5e102d4946 Profile::LoadStatsXmlFromNode 2005-01-08 19:15:56 +00:00
Chris Danford 981e52ec58 merge IniFile and XmlFile 2005-01-07 14:28:00 +00:00
Chris Danford 5b2582cab3 use multimap in XmlFile 2005-01-07 09:09:23 +00:00
Chris Danford 31ea9c7bc4 cleanup 2005-01-07 02:07:10 +00:00
Glenn Maynard 95eb10b834 split out Profile::SaveStatsXmlCreateNode 2004-12-22 03:49:55 +00:00
Glenn Maynard f83391d953 checkpoints 2004-12-14 02:11:38 +00:00
Chris Danford 0f2b0bd119 add checkpoints 2004-12-06 08:28:38 +00:00
Chris Danford 0b64a246f9 add checkpoints 2004-11-24 03:49:17 +00:00
Glenn Maynard 4a246546a9 Save profile modifiers per gametype. Only reset saved modifiers when
loading profile modifiers, so we don't wipe out modifiers that aren't saved.
UsingProfileDefaultModifiers is gone; if an entry exists in the DefaultModifiers
list at all, UsingProfileDefaultModifiers is true.
2004-11-14 05:24:37 +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 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Glenn Maynard ba5b881acf quiet warning 2004-09-09 04:20:21 +00:00
Glenn Maynard 24c5d6248b more debug output 2004-09-05 06:25:13 +00:00
Chris Danford 3fec094b26 fix misleading name: NumSongs -> NumStages 2004-08-30 06:07:14 +00:00
Chris Danford f10efc414a reduce Stats.xml file size: don't write tab indent characters 2004-08-28 21:37:57 +00:00
Chris Danford 8471f5c7bc fix "SaveMachineStats fails because cards not mounted" 2004-08-22 07:19:38 +00:00
Chris Danford 37f6c81862 add XSL for Catalog.xml
fold CSS into XML
2004-08-20 05:22:46 +00:00
Glenn Maynard 64938525f5 warnings 2004-08-15 21:58:13 +00:00
Chris Danford 8f1f39a675 show overall PercentComplete on ScreenEnding 2004-08-15 01:36:33 +00:00
Chris Danford ae04b6a7cd store preferredSong and preferredCourse as IDs, not pointers 2004-08-14 06:41:24 +00:00
Chris Danford 17df457bc8 add a write-only copy of Coin data to stats.xml 2004-07-31 03:24:15 +00:00
Chris Danford 4656fd713f don't save awards in Profile. This info isn't used anywhere and won't be anytime soon. 2004-07-25 18:56:05 +00:00
Chris Danford 79e457c272 when saving a Profile, always make a Screenshots directory 2004-07-24 07:04:33 +00:00
Glenn Maynard 6dc160f9de const fixes 2004-07-23 02:27:07 +00:00
Chris Danford 9199410e82 stats.xml:
theme more elements
show HighScore details
clean up some tables
2004-07-19 08:05:14 +00:00
Chris Danford 6a22aba2c0 add LastPlayedDate 2004-07-18 21:54:19 +00:00
Chris Danford a6b5da3207 move Style XML saving/loading into StyleID 2004-07-17 21:49:32 +00:00
Chris Danford 6130b66188 better encapsulation of DateTime object 2004-07-12 06:39:13 +00:00
Chris Danford d412ab055d name cleanup: NotesType -> StepsType 2004-07-12 02:19:24 +00:00
Chris Danford 9af12628a9 weight all Steps and Trails evenly in PercentComplete calculation so there's more incentive to play easy Steps. 2004-07-12 00:10:28 +00:00