Commit Graph
222 Commits
Author SHA1 Message Date
Steve Checkoway fb7553a2c0 Add GetGradeForTrail(). 2007-05-05 11:16:07 +00:00
Steve Checkoway 227ae779da Don't use PROFILEMAN inside ProfileManager. At best, you're just referring to this, at worst, you're throwing away the constness. 2007-05-05 10:34:28 +00:00
Glenn Maynard f2a12492e0 rename 2007-04-25 21:22:45 +00:00
Glenn Maynard 424e7c0bf0 cleanup 2007-04-25 21:21:50 +00:00
Glenn Maynard 0939a2f69b remove stale code 2007-04-25 21:18:38 +00:00
Glenn Maynard 21b544c8ae simplify iSaveProfileEvery stuff and make it closer to correct 2007-04-24 19:36:45 +00:00
Glenn Maynard 95fb191fb4 allow loading profile without loading edits 2007-04-24 16:30:23 +00:00
Steve Checkoway 2afb681aea GetHighScoreForDifficulty -> GetHighGradeForDifficulty. 2007-02-25 07:02:27 +00:00
Vecais Dumais Laacis 603f863e0c fixed GetLocalProfileIndexFromID 2007-02-02 20:19:14 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard df887f4efd simpler Lua boilerplate
update singleton registration method
2006-09-27 20:22:20 +00:00
Glenn Maynard 51d22ce2f4 update binding 2006-09-27 01:48:30 +00:00
Steve Checkoway c9e0e7e51d Don't return NULL. 2006-09-20 00:04:19 +00:00
Chris Danford af3e1c571c move Steps searching out of song into SongUtil so that it can be shared with CourseEntry 2006-06-13 01:10:37 +00:00
Chris Danford 73d559156f set default profile ID when creating profiles 2006-05-16 05:28:26 +00:00
Chris Danford 9bee8d3b4a copy edits from import dirs too 2006-03-27 19:28:10 +00:00
Steve Checkoway cef0c4cebb Const. 2006-03-04 10:24:50 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford d55ae24611 add PseudoLocalize
phase out SubscriptionManager for SubscriptionHandler to fix ThemeManager assert
2006-01-06 20:18:15 +00:00
Chris Danford 36c7d8e0ed enum name cleanup 2005-12-01 03:20:25 +00:00
Glenn Maynard 4c874a943b include cleanup 2005-11-06 18:03:47 +00:00
Chris Danford 0f0caf7972 Writable files in "Save", read-only files in "Data". This simplifies the installer and packaging. 2005-10-30 23:08:38 +00:00
Steve Checkoway eea687a01a Fix warning. 2005-10-30 09:44:25 +00:00
Chris Danford ca8e0c5137 work around bad global constructor order in g++ x86 by not using PlayerNumber. Find a better way to handle this? 2005-10-29 05:42:38 +00:00
Glenn Maynard 4c62c63e84 move m_sDefaultLocalProfileID into ProfileManager 2005-10-27 17:47:42 +00:00
Chris Danford e00a57e05e use Preference1D 2005-10-26 23:09:56 +00:00
Glenn Maynard 73e514cd8a add assert 2005-10-18 20:37:49 +00:00
Chris Danford b2e9c616c8 fix Attr stuff 2005-10-18 07:00:33 +00:00
Chris Danford feb1bfb0fc naming cleanup: rename scoring "Tier1"s to "W1"s (short for "Window 1")
add Preference1D so that we can index into the grading and life values
2005-10-09 04:30:59 +00:00
Chris Danford 1ead066956 Use generic names for TapNoteScore values since they are treated genericly by the code.
Theme changes coming...
2005-10-08 02:02:03 +00:00
Glenn Maynard b8accdb7ec compile fix 2005-09-29 06:19:45 +00:00
Glenn Maynard 87ddfb4c41 Up until now, we've been backing up profile data by copying it to the
backup directory immediately after a successful load.  This ensures that
the data we're copying is valid, so after a successful copy, the backup
is valid, too.  This has a couple problems:

 - Copying takes a while.  It's much faster to move data.
 - Data shouldn't be written during a profile read.  Players should be able
   to assume that it's safe to remove the memory card at any time except
   when the game is explicitly saving.
 - Copying good data from one place to another is just as prone to error as
   initially writing it.  It's at least as easy for the backup copy to fail
   and result in a bad backup as it is for a save to fail in the first place.

Instead, when we successfully load profile data (and not from a backup),
set a flag.  Later, when we save over that data, we'll clear the flag and
move the data we're about to overwrite to the backup.
2005-09-29 00:33:22 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Glenn Maynard 9f996dc14e SaveMachineProfile returns no values 2005-09-03 23:43:16 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +00:00
Chris Danford 23540308ef assert instead of AV on missing Character 2005-08-30 14:10:24 +00:00
Chris Danford 57b593c65e add GetLocalProfileIDFromIndex 2005-08-14 23:01:34 +00:00
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