Commit Graph

223 Commits

Author SHA1 Message Date
Chris Danford 760ca931bc fix local profile switching stuck if current local profileID doesn't exist
fix local profile loading broken because dir missing trailing slash
2005-08-14 20:31:20 +00:00
Chris Danford e50a401341 move Character stuff out of messy GAMESTATE and into CHARMAN 2005-08-14 12:06:40 +00:00
Chris Danford 70d1f0eadb use mixed case values for enum Grade so that enum matches strings matches Lua 2005-08-14 11:38:31 +00:00
Chris Danford 23b2cbdd59 Character -> CharacterID
add Character DisplayName
2005-08-14 02:00:27 +00:00
Chris Danford ff7c122289 cleanup: move ProfileLoadResult into GameConstantsAndTypes so we don't take dependencies on Profile.h for ProfileLoadResult 2005-08-13 06:59:27 +00:00
Glenn Maynard 18d3efa6e1 allow loading editable data from stats.xml 2005-08-13 03:16:28 +00:00
Glenn Maynard 570713023a cleanup 2005-08-13 02:30:21 +00:00
Glenn Maynard 53b3c35663 unused 2005-08-13 01:50:32 +00:00
Glenn Maynard 828c44f299 flush in SaveAllToDir, instead of CreateNewProfile 2005-08-13 01:32:50 +00:00
Glenn Maynard 39656d87ec create new profiles without reloading all old ones 2005-08-12 18:40:12 +00:00
Glenn Maynard 70a109c54b fPercentDP, fSurviveSeconds 2005-08-12 02:46:58 +00:00
Glenn Maynard aa04fe60dd hide grade 2005-08-12 02:19:08 +00:00
Chris Danford 1e074fbeae fix for both VC6 and VC7 2005-08-05 18:18:08 +00:00
Glenn Maynard 57ee24424b no, compile fix 2005-08-05 16:23:07 +00:00
Glenn Maynard 8e9aff2d21 compile fix 2005-08-05 16:21:00 +00:00
Chris Danford aa832e4e4d fill new profiles with a random character 2005-08-05 09:59:44 +00:00
Chris Danford 804cc8b2bc working on profile management screen 2005-08-05 04:20:46 +00:00
Chris Danford a15e03f3b2 add GetLastPlayedStepsType 2005-08-03 03:23:52 +00:00
Chris Danford a2c439a17a support loading of course edits 2005-07-31 05:41:32 +00:00
Chris Danford b79553f7cb add Character, Lua bindings 2005-07-13 19:11:24 +00:00
Chris Danford 505e835214 GetDisplayName -> GetDisplayNameOrHighScoreName 2005-07-13 18:49:49 +00:00
Chris Danford e9166ac4ab load EditableData for all local profile on startup so that we don't have to load every profile from disk to enumerate names 2005-07-12 20:19:52 +00:00
Steve Checkoway aa71c794ec Fix warnings. 2005-06-29 06:36:51 +00:00
Glenn Maynard d309a6c215 fix warning 2005-06-25 22:11:56 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00
Steve Checkoway 35db5ffcc2 Fix warning. 2005-06-19 00:29:42 +00:00
Chris Danford a77e0bb273 Back compat hack to fix importing scores for courses that have moved into group dirs 2005-06-18 15:00:11 +00:00
Chris Danford eaad485521 fix uninitialized causing bogus calorie values in release 2005-06-18 03:45:16 +00:00
Glenn Maynard 1e02955e63 correct locking semantics for LuaReference (SGameplay commit in a moment) 2005-06-16 03:13:06 +00:00
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