Commit Graph

185 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 b1010041a2 fix GetLocalProfile always fails due to mismatched slashes 2005-08-14 11:09:23 +00:00
Chris Danford c5fa8517dd add FixedProfiles metric. If on, profiles shouldn't be added or deleted - only cleared. 2005-08-14 01:59:46 +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 77d5d0466f CreateLocalProfileByID -> AddLocalProfileByID (to allow code to set up
a local profile on its own)
2005-08-13 01:47:56 +00:00
Glenn Maynard 674ddf419a simplify 2005-08-13 01:38:35 +00:00
Glenn Maynard f264975834 delete profiles without reloading all old ones 2005-08-12 19:12:20 +00:00
Glenn Maynard 6fd6304502 rename profiles without reloading all old ones
assert
2005-08-12 19:05:38 +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 2307fa23d9 hidden HighScore::sName 2005-08-12 01:52:01 +00:00
Glenn Maynard f4caf2275f simplify 2005-08-11 23:57:20 +00:00
Glenn Maynard 09b44c9766 split GetLocalProfileByID 2005-08-11 23:14:32 +00:00
Glenn Maynard 3c93754969 split CreateLocalProfileByID 2005-08-11 23:10:44 +00:00
Glenn Maynard 01b6345758 split UnloadAllLocalProfiles 2005-08-11 23:06:01 +00:00
Chris Danford 2cc2f07f8d add lua bindings
use profileID as the key in the map, not the profile dir
2005-08-06 05:42:21 +00:00
Chris Danford 3d37449e6b add lua bindings
use profileID as the key in the map, not the profile dir
2005-08-06 05:34:06 +00:00
Chris Danford 10711f0c83 choose profileIDs for new local profiles such that ordering by creation time is preserved 2005-08-05 10:01:10 +00:00
Chris Danford 804cc8b2bc working on profile management screen 2005-08-05 04:20:46 +00:00
Chris Danford 68f8e632f0 Add new ScreenOptionsManageProfiles 2005-08-04 21:13:29 +00:00
Chris Danford 71d985f861 cleanup 2005-08-03 03:23:21 +00:00
Chris Danford a2c439a17a support loading of course edits 2005-07-31 05:41:32 +00:00
Chris Danford 2a3bc57f43 fix crash after trying to load a non-existant local profile 2005-07-18 17:34:47 +00:00
Chris Danford 0bc9261eb3 return ID of the created profile 2005-07-16 05:28:34 +00:00
Chris Danford 6f9d4caf0f keep the whole LocalProfile in memory, not just the EditableData 2005-07-13 19:15:31 +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
Chris Danford 7c6dbc102b working on ScreenOptionsProfiles 2005-07-05 23:13:49 +00:00
Glenn Maynard 3450307b01 reduce dependencies 2005-07-01 05:06:00 +00:00
Glenn Maynard 04546763e0 reducing ProfileManager.h dependency on Profile.h (many users only use
PManager to see if a profile is loaded, etc, not to access the actual profiles)
2005-07-01 04:46:32 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00
Chris Danford 415e43a805 always save scores to the player profile, no matter what the percentDP 2005-06-16 02:50:37 +00:00
Chris Danford 39b631da51 fix saving of machine scores for machine edits 2005-06-15 09:25:33 +00:00
Glenn Maynard d1241420d6 clean up singleton registration: if you were given an L, use it 2005-06-15 02:21:24 +00:00
Glenn Maynard ea1bede8c3 drop StepMania.ini sections. Almost everything is in [Options], and it's
hard enough keeping straight which arbitrary options screen an option
is in without having a separate categorization for the INI.  (This will
simplify later changes.)
2005-05-19 01:25:38 +00:00
Chris Danford e389ba6191 convert the rest to use Preference 2005-05-16 09:36:32 +00:00
Glenn Maynard dc35060c27 add SaveMachineProfile 2005-05-15 23:53:54 +00:00
Chris Danford fb1d69add3 rename: IsUsingProfile -> IsPersistentProfile
Don't require IsPersistentProfile in some places related to fitness mode where a non-persistent Profile will suffice
2005-05-09 08:44:01 +00:00
Glenn Maynard 3c8c40c7bd fix profile logic 2005-05-03 04:03:11 +00:00
Chris Danford 04ca7c496c quit trying to load from fallbacks after the first successful load 2005-05-01 08:45:22 +00:00
Chris Danford 0938d9d9a7 conver more to use Preference 2005-04-28 08:27:40 +00:00
Chris Danford 16971da0b3 add copy and clear machine edits 2005-04-28 06:17:17 +00:00
Chris Danford 4f23083ebc allow GetProfile even if not using local profile or memory card 2005-04-26 03:32:08 +00:00
Glenn Maynard fb30fa1c19 track rolls 2005-04-25 11:42:19 +00:00
Glenn Maynard 91f25bba0a transition's finished; rename LoadEditsFromDir to LoadAllFromProfileDir to regeneralize 2005-04-25 00:36:26 +00:00
Glenn Maynard 63120568e6 Edits are part of the profile, so it's the profile's responsibility to load and unload them. (allows implementing fallback edit loading) 2005-04-25 00:32:08 +00:00
Glenn Maynard d997b7d137 unload edits when unloading the profile 2005-04-25 00:25:04 +00:00
Glenn Maynard 5093809e31 fallback load for Editable.ini when loaded by the memory card thread 2005-04-24 23:23:32 +00:00
Glenn Maynard 1ea1ecfaaf move FastLoadProfileNameFromMemoryCard into ProfileManager 2005-04-24 23:06:15 +00:00