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
a1d33f8588
use Song::GetDisplayed
2007-08-13 19:18:55 +00:00
Glenn Maynard
73cc4c0793
skip SONGMAN->GetSongFromDir if sDir2.empty()
2007-08-12 22:44:22 +00:00
Glenn Maynard
66b6b168bb
CachedObjectPointer<Song> for SongID
2007-08-12 22:03:59 +00:00
Glenn Maynard
c9464487c0
remove hack. Do this wiht PreferredSongs.
2007-05-31 04:40:08 +00:00
Glenn Maynard
b0cc029f15
cleanup
2007-04-25 20:57:28 +00:00
Glenn Maynard
1a3cf3949a
reserve
2007-04-10 23:59:59 +00:00
Steve Checkoway
0cb56b6ec2
GetAllSongs() -> GetSongs().
2007-04-07 05:36:40 +00:00
Chris Danford
43ef38383d
separate CurrentStageIndex into separate number per game and per player. This allowed for staggered join periods.
2007-03-25 09:37:14 +00:00
Glenn Maynard
14fbedd1b2
GetNumStagesForSongAndStyle -> GetNumStagesForSongAndStyleType
2007-03-17 23:05:34 +00:00
Glenn Maynard
70875589f0
fix crash when all steps removed; --s erase ++s trick doesn't work
2007-03-17 07:44:39 +00:00
Chris Danford
32586f28e1
add IsStepsPlayable, make IsStepsTypePlayable take the number of stages left into account
2007-03-12 01:47:03 +00:00
Chris Danford
ca2222990c
rename: AllStepsTypeInOneList -> AutoSetStyle
...
set m_pCurStyle based on the chosen Steps
2007-03-06 10:05:51 +00:00
Chris Danford
8cbbc48523
when a 2nd player joins, remove double steps from the list. They're no longer playable with 2 players joined.
2007-03-06 08:06:26 +00:00
Chris Danford
c17d2c3507
don't show hidden StepsTypes on SSMusic
2007-03-05 21:00:12 +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
Chris Danford
9061e2c1c1
move stage logic out of SongManager
...
allow selecting between multiple StepsTypes on ScreenSelectMusic (ala Pump's combined single/double list)
2007-02-23 21:13:45 +00:00
Chris Danford
b407c58176
m_iStagesForSong -> m_iMaxStagesForSong
2007-02-23 19:31:42 +00:00
Chris Danford
f77647b5ad
enum name cleanup: DIFFICULTY_* -> Difficulty_*
2007-02-22 07:18:05 +00:00
Glenn Maynard
de6ca466d2
more enum standardization
2006-10-07 04:39:48 +00:00
Glenn Maynard
8a4ddd1515
Invalid
2006-10-07 04:13:43 +00:00
Glenn Maynard
d188c2fd12
use GetName, GetValue
2006-10-02 06:12:42 +00:00
Steve Checkoway
01fb4540f3
Simplify.
2006-10-01 14:51:50 +00:00
Glenn Maynard
f806ec5936
StepsType_Invalid
2006-09-26 20:28:46 +00:00
Steve Checkoway
c2fc8b1fc1
Add two debugging asserts. http://sourceforge.net/tracker/index.php?func=detail&aid=1550127&group_id=37892&atid=421366
2006-09-03 02:29:11 +00:00
Steve Checkoway
884af552ee
Allow combined player steps to have per-player radar values. This doesn't work for trails where it just uses the PLAYER_1 values, same with writing to the catalog file.
2006-07-28 03:34:14 +00:00
Chris Danford
29d77f5c8c
search songs by a genre list
...
move MenuDir to SSMaster header
GoalType name cleanup
2006-07-11 06:51:46 +00:00
Chris Danford
97d28100ae
use SongCriteria and StepsCriteria to resolve songs for Trail
2006-07-02 06:04:53 +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
Steve Checkoway
587fca151c
Unused.
2006-03-09 09:42:16 +00:00
Chris Danford
7ec7a906c3
finish edit renaming and handle display errors encountered during rename
2006-03-08 22:05:23 +00:00
Chris Danford
1860c6c674
consolidate Steps description validation
2006-03-08 04:03:39 +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
0b98adff15
make RadarCategory enum and Lua names consistent
2005-12-24 20:18:56 +00:00
Chris Danford
d698a5f1ec
CString -> RString in RageUtil
...
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Glenn Maynard
3c11c86ea9
themable "N/A", "Other"
2005-10-30 20:58:42 +00:00
Glenn Maynard
76ade2280a
static, cleanup
2005-10-30 20:14:58 +00:00
Glenn Maynard
b66cdac7b9
static
2005-10-30 20:13:46 +00:00
Glenn Maynard
6d8349b6d2
update for 0-9
2005-10-30 20:07:49 +00:00
Glenn Maynard
39696c1a08
NUM -> 0-9
2005-10-30 19:58:00 +00:00
Chris Danford
48ebc53549
return NULL -> return CString() for clarity and efficiency
2005-09-04 16:55:21 +00:00
Chris Danford
e439ae2a96
return "" -> return NULL
2005-09-02 00:14:07 +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
71d985f861
cleanup
2005-08-03 03:23:21 +00:00
Glenn Maynard
bb8af41cb1
missing headers
2005-07-01 05:07:22 +00:00
Chris Danford
6ab20c5ad9
more work on a new course editor
2005-06-28 08:11:30 +00:00
Chris Danford
e70d077889
fix loading of profile LastSong and LastCourse
2005-06-08 05:12:11 +00:00
Chris Danford
2888bf0b16
remove leading slash from CourseID Path and Song Dir for backward compatibility
2005-05-24 05:26:45 +00:00
Chris Danford
11b9427b9c
add pref PreferredSortUsesGroups
2005-05-09 17:33:22 +00:00