Commit Graph

309 Commits

Author SHA1 Message Date
Chris Danford 83c0aec94a revert last: StringToDifficulty is intentional 2008-11-28 21:10:41 +00:00
Jason Felds 68c78e18b1 StringToDifficulty -> BackwardCompatibleStringToDifficulty. Looks like a few files were missing. 2008-11-28 20:41:05 +00:00
Steve Checkoway 521c1c23e5 GAMEMAN-> to GameManager:: 2008-03-24 12:50:16 +00:00
Chris Danford defedc2c62 GAMEMAN->GetStepsTypeInfo -> GameManager::GetStepsTypeInfo to allow Lua to call before GameManager singleton is initialized 2008-03-24 08:53:05 +00:00
Chris Danford 077a1a3b85 Add StepsTypeInfo and return the structure rather than having GameManager methods for each piece of data 2008-03-24 04:39:24 +00:00
Glenn Maynard 3e36a05c5f fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2008-03-09 01:51:34 +00:00
AJ Kelly c9b69604e8 add more lua bindings for stats 2007-09-23 19:53:09 +00:00
Steve Checkoway 5eb5c5e199 This isn't invalid, just a song we don't know about, likely one that was once played and the removed. Don't warn. 2007-08-19 01:27:03 +00:00
Steve Checkoway a01bf41010 Use ShowWarningOrTrace, it strips out unnecessary parts of the path. 2007-08-16 07:59:30 +00:00
Glenn Maynard 3e3c1deea4 We have a lot of duplicate, redundant checks between UNLOCKMAN->SongIsLocked
and Song::GetDisplayed/Song::NormallyDisplayed, which leads to inconsistency.

Make UnlockManager::SongIsLocked() handle both.  Returns a bitfield; most
cases only need to test true or false.

(Also adds m_bEnabled; not used yet.)
2007-08-13 21:20:51 +00:00
Glenn Maynard 4f256b12b1 store as a reference 2007-08-13 19:24:54 +00:00
Glenn Maynard a1d33f8588 use Song::GetDisplayed 2007-08-13 19:18:55 +00:00
Steve Checkoway 092a348637 Add preference to disable writing the Catalog.xml. 2007-08-11 23:15:54 +00:00
Glenn Maynard 545da7424b fix UnlockAuthString 2007-06-20 22:25:57 +00:00
Glenn Maynard 6a1db065d2 save m_PreferredStepsType, too. Fixes inconsistent behavior
in ScreenSelectMusic::SwitchToPreferredDifficulty due to
m_PreferredDifficulty being set and m_PreferredStepsType
not.
2007-06-15 15:51:33 +00:00
Glenn Maynard 9f324dc74f add UnlockAuthString 2007-06-03 02:39:13 +00:00
Glenn Maynard 6ee33d2a33 ProfileStepEdits, ProfileCourseEdits prefs 2007-05-27 17:59:41 +00:00
Glenn Maynard 6b60a97092 Profile::ClearStats 2007-05-06 05:13:58 +00:00
Glenn Maynard ef0be2d6ac debug 2007-05-06 02:09:33 +00:00
Glenn Maynard c5dd045f8a remove unused m_iCurrentCombo 2007-04-25 03:39:53 +00:00
Glenn Maynard b97fa408b5 guid fixup 2007-04-24 21:05:45 +00:00
Glenn Maynard f75f71317f allow disabling the catalog. With compressed stats.xml, copying this file
takes most of save time.
2007-04-24 20:20:01 +00:00
Glenn Maynard 572f0afdf3 fix warnings on save 2007-04-17 21:03:07 +00:00
Glenn Maynard c83bb6abe7 fix warnings on save 2007-04-17 20:48:01 +00:00
Glenn Maynard 565558fb6d fix MakeGuid returns garbage 2007-04-17 20:19:08 +00:00
Steve Checkoway 0cb56b6ec2 GetAllSongs() -> GetSongs(). 2007-04-07 05:36:40 +00:00
Glenn Maynard d50f66373a bindings 2007-03-14 04:26:32 +00:00
Chris Danford 0160e23705 style cleanup: use FOREACH_ENUM( X, x ) everywhere instead of FOREACH_X( x ) for consistency
The FOREACH_X defines are not very useful, and they were created back before FOREACH_ENUM was convenient.
2007-02-23 22:29:42 +00:00
Glenn Maynard 62b5c145db remove SetTextValue 2007-02-11 07:40:45 +00:00
Glenn Maynard fb8e73ac58 SetValue, etc -> SetTextValue 2007-02-11 06:26:06 +00:00
Glenn Maynard 5135b7b27c use templated GetValue, not old RString GetValue() 2007-02-11 00:30:44 +00:00
Glenn Maynard aa6cb99bf5 fix fn for signing 2007-01-24 22:05:37 +00:00
Glenn Maynard 284a6051ba allow compressing stats.xml 2007-01-23 07:32:56 +00:00
Glenn Maynard ea7e48e08e move secure random code 2006-12-20 23:17:57 +00:00
Glenn Maynard b30163e157 private 2006-10-17 08:58:58 +00:00
Steve Checkoway 2568284699 Unbreak HighScoreForACourseAndTrail node creation. 2006-10-14 06:53:16 +00:00
Glenn Maynard 6c0264620e probably safer: ConvertValue 2006-10-12 02:03:47 +00:00
Steve Checkoway 6fd4694b79 Simplify. 2006-10-11 11:12:09 +00:00
Steve Checkoway c532646ac1 Casting an rvalue to nonconst reference is illegal. I'm not positive why these are considered to be rvalues when they are cast. 2006-10-11 09:33:09 +00:00
Glenn Maynard 4ccea4e87b phase out separate course difficulty names 2006-10-07 22:49:04 +00:00
Glenn Maynard 78a91ba878 revert. You brought back a type I've been trying to remove. 2006-10-07 22:33:24 +00:00
Steve Checkoway 73663c4f8a CourseDifficulty. 2006-10-07 10:49:53 +00:00
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