Glenn Maynard
e531249704
naming cleanups
2006-09-26 20:49:10 +00:00
Glenn Maynard
a7b53444f8
NUM_STEPS_TYPES -> NUM_StepsType
2006-09-26 20:22:28 +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
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
Chris Danford
527b863f1a
add AutoLockChallengeSteps
2006-03-20 22:41:41 +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
44225ad379
XToThemedString -> XToLocalizedString
2006-01-07 04:11:29 +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
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
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
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
53b3c35663
unused
2005-08-13 01:50:32 +00:00
Glenn Maynard
39656d87ec
create new profiles without reloading all old ones
2005-08-12 18:40:12 +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
Chris Danford
eaad485521
fix uninitialized causing bogus calorie values in release
2005-06-18 03:45:16 +00:00
Chris Danford
64690cdb40
use DEFAULT_WEIGHT_POUNDS if weight not explicitly set
2005-06-15 01:59:40 +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
4113a5ad17
fix "recent scores saves least recent, not most recent"
2005-04-28 02:39:43 +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
5fc8788a45
combine GetSongsPercentCompleteAllDifficulties and GetCoursesPercentCompleteAllDifficulties
2005-03-31 06:12:26 +00:00
Chris Danford
7082c5f78b
add score utility methods: GetTotalStepsWithTopGrade, GetTotalTrailsWithTopGrade
2005-03-31 02:03:00 +00:00
Chris Danford
e80357cfc1
split out MakeGuid
2005-03-22 10:33:06 +00:00
Glenn Maynard
2da21b16d4
rename m_iNumSingleSongsPlayed -> m_iNumTotalSongsPlayed
...
replace GetTotalNumSongsPlayed
2005-02-23 22:59:56 +00:00
Glenn Maynard
c6de356dca
Keep track of number of songs played. The other stats all count per-
...
player: if one person plays on Hard and one on Easy, then each will
be incremented. That's useful, but it's also helpful to track the simple
number of songs played, irrespective of how many people were playing
at the time.
2005-02-23 22:52:03 +00:00
Glenn Maynard
b960e51f42
Profile::IsCodeUnlocked
2005-02-21 06:59:50 +00:00
Chris Danford
da5f4a57bb
add GoalType, Lua functions
2005-02-17 19:36:10 +00:00
Chris Danford
dd7349d480
add more goal data
2005-02-16 20:24:57 +00:00
Glenn Maynard
0a0da9809e
allow saving a lua table for each profile
2005-02-16 02:46:43 +00:00
Chris Danford
1a75a8cba5
add Lua methods
2005-02-15 23:13:18 +00:00
Chris Danford
146dbea98d
add GoalCalories
2005-02-15 22:08:42 +00:00
Chris Danford
bb099ee7e0
count calories while stepping, not at the end
2005-02-15 09:24:48 +00:00
Charles Lohr
ae2f55c7ac
Fix: Now we can delete profiles.
2005-01-25 06:21:39 +00:00
Glenn Maynard
5e102d4946
Profile::LoadStatsXmlFromNode
2005-01-08 19:15:56 +00:00
Glenn Maynard
95eb10b834
split out Profile::SaveStatsXmlCreateNode
2004-12-22 03:49:55 +00:00