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
Glenn Maynard
570713023a
cleanup
2005-08-13 02:30:21 +00:00
Glenn Maynard
53b3c35663
unused
2005-08-13 01:50:32 +00:00
Glenn Maynard
828c44f299
flush in SaveAllToDir, instead of CreateNewProfile
2005-08-13 01:32:50 +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
aa04fe60dd
hide grade
2005-08-12 02:19:08 +00:00
Chris Danford
1e074fbeae
fix for both VC6 and VC7
2005-08-05 18:18:08 +00:00
Glenn Maynard
57ee24424b
no, compile fix
2005-08-05 16:23:07 +00:00
Glenn Maynard
8e9aff2d21
compile fix
2005-08-05 16:21:00 +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
Steve Checkoway
aa71c794ec
Fix warnings.
2005-06-29 06:36:51 +00:00
Glenn Maynard
d309a6c215
fix warning
2005-06-25 22:11:56 +00:00
Glenn Maynard
9d7f835609
no need to template Luna specializations
2005-06-20 05:02:03 +00:00
Steve Checkoway
35db5ffcc2
Fix warning.
2005-06-19 00:29:42 +00:00
Chris Danford
a77e0bb273
Back compat hack to fix importing scores for courses that have moved into group dirs
2005-06-18 15:00:11 +00:00
Chris Danford
eaad485521
fix uninitialized causing bogus calorie values in release
2005-06-18 03:45:16 +00:00
Glenn Maynard
1e02955e63
correct locking semantics for LuaReference (SGameplay commit in a moment)
2005-06-16 03:13:06 +00:00
Chris Danford
64690cdb40
use DEFAULT_WEIGHT_POUNDS if weight not explicitly set
2005-06-15 01:59:40 +00:00
Chris Danford
764d455632
fix calorie total double-counted
2005-06-15 00:15:51 +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