Commit Graph

194 Commits

Author SHA1 Message Date
Chris Danford 64690cdb40 use DEFAULT_WEIGHT_POUNDS if weight not explicitly set 2005-06-15 01:59:40 +00:00
Chris Danford 764d455632 fix calorie total double-counted 2005-06-15 00:15:51 +00:00
Glenn Maynard 6be07b3d5d Don't define CStrings in headers. A new instance will be created in every
file that uses the header.  A string in GameConstantsAndTypes.h may be duplicated
dozens of times; since it's not a POD, the compiler can't omit or merge it.
2005-06-09 04:03:08 +00:00
Chris Danford 8d308c6e43 cleanup 2005-06-02 22:26:11 +00:00
Chris Danford ceef12b5cd Have the XML parser warn about the error. Don't make every XML user have their own warning code. 2005-05-29 01:05:23 +00:00
Glenn Maynard dfa0f52ec0 fix incorrect assert 2005-05-28 08:52:57 +00:00
Ben Anderson ccd0cba6da Add assert; this prevents an infinite loop that allocates memory. (This assert actually triggers on my system!) 2005-05-28 01:19:09 +00:00
Ben Anderson 4bfd999bad Revert; I should test things before committing, guh. 2005-05-28 00:53:34 +00:00
Ben Anderson 0a9f3d1552 std::map.end() points PAST the last element, not at it! 2005-05-28 00:47:34 +00:00
Thad Ward 5949e5bc90 (this is possibly going to annoy some people, but..)
put all (obvious) MSVC lines in #if defined(_MSC_VER) blocks, primarilly
to allow alternative win32 compilers to be used.
2005-05-11 04:43:54 +00:00
Glenn Maynard 897dc783cd fix name conflict 2005-04-30 02:56:38 +00:00
Chris Danford 4113a5ad17 fix "recent scores saves least recent, not most recent" 2005-04-28 02:39:43 +00:00
Chris Danford c4ddb498a9 save fewer recent scores in player profiles than in machine profile 2005-04-28 01:29:31 +00:00
Chris Danford 9eddaaf860 keep track of last played for each song
add metric: ScreenRanking::ShowOnlyMostRecentScores
2005-04-25 22:44:32 +00:00
Glenn Maynard fb30fa1c19 track rolls 2005-04-25 11:42:19 +00:00
Chris Danford 9a9f67eff0 add AllowMultipleHighScoreWithSameName 2005-04-25 09:03:24 +00:00
Glenn Maynard 1ea1ecfaaf move FastLoadProfileNameFromMemoryCard into ProfileManager 2005-04-24 23:06:15 +00:00
Glenn Maynard 9928ed6bde report errors in LoadEditableDataFromDir 2005-04-24 22:56:05 +00:00
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 e53bff3d06 add Lua methods 2005-03-31 12:56:41 +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 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