Commit Graph

146 Commits

Author SHA1 Message Date
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
Chris Danford bb0c681dd5 fix RecentCourseScore saving 2004-07-11 23:17:01 +00:00
Chris Danford 059dfb6ae2 remove html saving options (because the html writer is gone) 2004-07-11 02:24:32 +00:00
Chris Danford c301e1eb83 remove Stats.html
add XML stylesheet for Stats.xml
2004-07-11 01:58:55 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford b516cd9b36 fix copy/paste error 2004-06-27 06:53:46 +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
Glenn Maynard 40c9749d54 fix warning 2004-06-14 01:10:26 +00:00
Chris Danford 4fb496e4d9 save HighScore in Screenshot 2004-06-12 07:01:07 +00:00
Chris Danford 08731edefc remove unused #defines 2004-06-09 06:27:58 +00:00
Chris Danford bc030297c9 fix stale Steps* in Trail being used after reverting songs from disk 2004-06-06 22:03:21 +00:00
Chris Danford 9fe771756c add logging 2004-06-06 06:54:08 +00:00
Glenn Maynard c37a29ac53 fix DontShare.sig not being written the first time a profile is saved 2004-06-06 05:17:12 +00:00
Glenn Maynard b93d1bfd5e first pass at merging CourseDifficulty into Difficulty
CourseDifficulty names still exist, since it's useful to distinguish them
in command names
2004-06-04 02:05:56 +00:00
Glenn Maynard 8cbea03d58 remove Course::HasCourseDifficulty 2004-06-03 21:51:33 +00:00
Glenn Maynard db40dc2b81 handle GetTrail returning NULL 2004-06-03 20:44:27 +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 c711c8aa33 name cleanup: ProfileStatsHtml -> PlayerStatsHtml 2004-05-28 04:17:56 +00:00
Chris Danford ff5ec77fec fix "unlocking a song doesn't automatically select it" 2004-05-26 05:50:22 +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 6f75a3d920 review uses of GetTrail 2004-05-24 06:07:59 +00:00
Chris Danford f04e70ac0c update Course stats file format 2004-05-23 21:08:03 +00:00
Glenn Maynard c0adadd3a5 IniFile cleanup 2004-05-23 02:27:51 +00:00