Commit Graph
82 Commits
Author SHA1 Message Date
Glenn Maynard cabfc056fd API 2005-04-24 19:33:46 +00:00
Glenn Maynard e2ab509b8e pull out common memory card profile code (in prep for import handling) 2005-04-24 19:30:35 +00:00
Chris Danford 5fc8788a45 combine GetSongsPercentCompleteAllDifficulties and GetCoursesPercentCompleteAllDifficulties 2005-03-31 06:12:26 +00:00
Chris Danford 7082c5f78b add score utility methods: GetTotalStepsWithTopGrade, GetTotalTrailsWithTopGrade 2005-03-31 02:03:00 +00:00
Chris Danford e80357cfc1 split out MakeGuid 2005-03-22 10:33:06 +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
Chris Danford da5f4a57bb add GoalType, Lua functions 2005-02-17 19:36:10 +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
Charles Lohr ae2f55c7ac Fix: Now we can delete profiles. 2005-01-25 06:21:39 +00:00
Glenn Maynard 5e102d4946 Profile::LoadStatsXmlFromNode 2005-01-08 19:15:56 +00:00
Glenn Maynard 95eb10b834 split out Profile::SaveStatsXmlCreateNode 2004-12-22 03:49:55 +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 3fec094b26 fix misleading name: NumSongs -> NumStages 2004-08-30 06:07:14 +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 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 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
Chris Danford bb0c681dd5 fix RecentCourseScore saving 2004-07-11 23:17:01 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford 3809715db0 cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven. 2004-06-27 06:52:49 +00:00
Chris Danford 58d8d23a93 move awards to ScreenEvaluation 2004-06-22 08:41:25 +00:00
Chris Danford 4fb496e4d9 save HighScore in Screenshot 2004-06-12 07:01:07 +00:00
Glenn Maynard 7dfd611587 license updates 2004-05-31 21:55:14 +00:00
Chris Danford 94c551bf0e reduce MAX_PLAYER_STATS_XML_SIZE_BYTES 2004-05-28 05:58:35 +00:00
Chris Danford aee70ad0cc only keep top 3 scores in players' stats.xml to keep the file size small 2004-05-28 04:46:43 +00:00
Chris Danford 58439b1ed8 increase max reasonable stats.xml file size
do size checking only on player supplied stats.xml.  Trusting the machine's data is ok.
2004-05-28 04:32:24 +00:00
Chris Danford ff5ec77fec fix "unlocking a song doesn't automatically select it" 2004-05-26 05:50:22 +00:00
Chris Danford 4ff8b8ec2b clean up Course score saving (use Trail) 2004-05-23 09:17:10 +00:00
Glenn Maynard 7b28e73930 reduce XmlFile dependencies 2004-05-22 01:35:08 +00:00
Chris Danford e9f576d262 "LastScores"->"RecentScores"
add recent scores to HTML
2004-05-08 10:12:10 +00:00
Chris Danford 4eec17d42e HTML: Difficulty Table -> Percent Complete 2004-05-08 08:09:18 +00:00
Chris Danford 741ab63c14 change "total high score dance points" to "percent complete" 2004-05-02 18:49:41 +00:00
Glenn Maynard 34ada5897d add Profile::GetHighScoresForASong
add optimized Profile::GetGrades to fix extremely slow grade sort creation
2004-05-02 00:08:42 +00:00
Chris Danford cca71d1d3f edits cleanup:
- only allow reasonable file sizes
 - only allow one Steps per edit file
 - only allow 5 edits per-song, per-profile
2004-04-23 00:26:51 +00:00
Chris Danford 59126d1b79 fix LastScores loading 2004-04-22 22:56:38 +00:00
Chris Danford 0cc49c66bb add CourseLastScores for tournaments 2004-04-22 22:01:38 +00:00
Chris Danford 987a83d6bd save last N scores in profile (for tournament score tracking) 2004-04-22 07:59:42 +00:00