Commit Graph

267 Commits

Author SHA1 Message Date
Glenn Maynard de6ca466d2 more enum standardization 2006-10-07 04:39:48 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Glenn Maynard 8a4ddd1515 Invalid 2006-10-07 04:13:43 +00:00
Glenn Maynard 7988da5c68 remove DateTime binding; at least for now, keep XNode binding to basic types 2006-10-03 00:15:28 +00:00
Glenn Maynard d188c2fd12 use GetName, GetValue 2006-10-02 06:12:42 +00:00
Glenn Maynard 19e7328d78 move XML loading and saving into XmlFileUtil, reducing XNode
to a data structure
2006-10-02 05:53:56 +00:00
Steve Checkoway 01fb4540f3 Simplify. 2006-10-01 14:51:50 +00:00
Steve Checkoway b7ce93ffad Simplify. 2006-10-01 14:02:24 +00:00
Steve Checkoway f73100705b Simplify. 2006-10-01 13:55:01 +00:00
Steve Checkoway 01cd66bd0f DISP_OPT -> XMLDisplayOptions. 2006-10-01 13:07:20 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard ea7c05cee5 simpler Lua boilerplate 2006-09-27 19:53:05 +00:00
Glenn Maynard 982228b7e6 bind StepsType 2006-09-27 06:09:52 +00:00
Glenn Maynard e531249704 naming cleanups 2006-09-26 20:49:10 +00:00
Glenn Maynard f806ec5936 StepsType_Invalid 2006-09-26 20:28:46 +00:00
Glenn Maynard 78cdd15ec0 simplify 2006-09-26 20:17:23 +00:00
Glenn Maynard 17ab6e2db3 update bindings
remove unused CourseDifficulty (alias of Difficulty)
2006-09-26 08:06:39 +00:00
Glenn Maynard a220b68c9e update bindings 2006-09-26 08:01:12 +00:00
Glenn Maynard e8a3c636f6 SortOrder_INVALID, NUM_SortOrder 2006-09-26 07:42:55 +00:00
Glenn Maynard 9695b7bb50 because we just created things that didn't exist before; if "x/" doesn't
exist, you look up "x/*", then create "x/" and "x/y", looking up "x/*"
again may return a cached empty result (or it may not, but best to be
safe)
2006-09-21 06:38:00 +00:00
Glenn Maynard 107fdf4c8f Remove Profile::m_SavedLuaData. Don't store data as
serialized Lua blobs.  The Lua blob format may change with
Lua upgrades, and it's hard to impossible to use the data
with other apps.  This wasn't used right now anyway, but
if it's needed, use an XML format.
2006-09-20 22:15:56 +00:00
Steve Checkoway e7e034949b Only flush the modified dir. Why do we need to flush this at all? 2006-09-16 03:39:11 +00:00
Steve Checkoway 7b636c506b Add debugging for 1555891. 2006-09-14 21:30:35 +00:00
Chris Danford 51cbfb4250 add lua binding for GetTotalCaloriesBurned 2006-06-12 22:49:52 +00:00
Chris Danford 82835dae6a change unlock entry IDs to strings so that auto generated entry ids won't shift around and unlock different things when new songs are added 2006-05-03 22:56:23 +00:00
Glenn Maynard 438ef9fbe1 cleanup 2006-04-05 03:08:42 +00:00
Chris Danford 527b863f1a add AutoLockChallengeSteps 2006-03-20 22:41:41 +00:00
Chris Danford 4852da79c8 add toggle for showing coin data 2006-03-20 09:07:58 +00:00
Steve Checkoway bd58e1661e Add return type. 2006-03-19 00:58:26 +00:00
Chris Danford 48a6f0f963 Don't add up actual scores for Courses that aren't installed or aren't shown. 2006-03-18 12:05:15 +00:00
Chris Danford c52ab6fa5e Code -> UnlockEntryID
UnlockedSongs -> UnlockedEntryIDs
UnlockIndex -> UnlockEntryID
2006-01-28 22:08:16 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford 353e0c5b6e break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff 2005-12-16 04:16:09 +00:00
Chris Danford 100ce95f14 don't pass DISPLAY_OPT as a pointer to avoid NULL pointer deref 2005-11-22 21:14:48 +00:00
Chris Danford b6cf3477b4 Use generic names for TapNoteScore values since they are treated genericly by the code.
Theme changes coming...
2005-10-08 00:57:40 +00:00
Glenn Maynard 08bbfd215d work around VC brain damage 2005-09-29 06:35:30 +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
Glenn Maynard 2822b320fd compile fixes 2005-09-12 17:49:53 +00:00
Chris Danford e628959ac0 move screen-specific BGAs into overlay and broadcast change messages instead
add lesson fail/pass logic
2005-09-12 06:21:30 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Glenn Maynard 8b0bd8fd11 cleanup 2005-09-03 23:42:51 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +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 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