Commit Graph

475 Commits

Author SHA1 Message Date
Chris Danford cefafb8bc4 allow specifying section names in PreferredSongs 2008-07-02 00:10:47 +00:00
Chris Danford f72a0cd94e fix edits icon not showing for all StepsTypes in AutoStyle 2008-06-25 05:06:05 +00:00
Chris Danford f3d5c8d865 add Double* difficulty sorts 2008-06-23 10:57:14 +00:00
Chris Danford 20b11d27df add IsAnExtraStageAndSelectionLocked. add metircs MinDifficultyForExtra, LockExtraStageSelection 2008-06-12 04:30:51 +00:00
Mike Hawkins 5eb2e83d68 Metric to hide the easy song flag on the MusicWheel (fix when using a transparent graphic for this flag and the song has multiple flags; this prevents the flag cycle from flashing an empty flag) 2008-06-07 22:47:53 +00:00
Steve Checkoway 521c1c23e5 GAMEMAN-> to GameManager:: 2008-03-24 12:50:16 +00:00
Glenn Maynard 3e36a05c5f fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2008-03-09 01:51:34 +00:00
Steve Checkoway 4c7c459c51 Fix compile 2008-02-19 18:42:53 +00:00
Chris Danford cef86523f7 SetOpenGroup -> SetOpenSection, add section count to MusicWheelItemData 2008-02-15 09:49:10 +00:00
AJ Kelly c3e0c494f0 add sorting by music length 2007-10-07 21:09:52 +00:00
Glenn Maynard 03b7983216 merge UnlockManager::SongIsRouletteOnly into SongIsLocked 2007-08-16 01:24:55 +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 eb792833d6 course 2p fixes 2007-04-29 19:54:56 +00:00
Glenn Maynard d88d9388f8 simplify 2007-04-25 00:30:30 +00:00
Glenn Maynard 450ed7120b remove m_bPickExtraStage, use false behavior. Extra stage stuff is way too complicated for too many niche cases. 2007-04-25 00:23:09 +00:00
Glenn Maynard ab5ef1ef2a allow courses to set their preferred style 2007-04-10 23:59:14 +00:00
Glenn Maynard a9d8d0f405 We have two ways of only showing songs in roulette: unlocks and
"#SELECTABLE".

I'm not sure if this feature is worth keeping, but there definitely doesn't
need to be two ways to do it.  Remove #SELECTABLE:ROULETTE.
2007-04-10 23:08:07 +00:00
Glenn Maynard 493021c784 doesn't work and isn't used 2007-04-10 18:44:06 +00:00
Glenn Maynard 32342ef5df default params 2007-04-10 18:16:53 +00:00
Steve Checkoway ef22ba5d57 SONGMAN API change. 2007-04-07 05:11:47 +00:00
Chris Danford 25a82867cc fix long songs showing in last stage and causing crash b/c no steps are playable 2007-04-04 02:19:09 +00:00
Glenn Maynard 594e839bd1 theme sort list 2007-04-03 02:50:25 +00:00
Steve Checkoway 8afb8b821f Cleanup. 2007-04-01 09:32:51 +00:00
Steve Checkoway 47b17ca841 Fix Roulette and Random. Both of these were picking a song immediately but making the wheel spinning noises.
Random looks like it was written with two behaviors in mind. The first is that it acts like Roulette except that where you are in the wheel has no correlation with the song picked and it stops spinning immediately. The second (which seems to have been added later), is to pick a song directly, a la Portal but without giving away any information about it. I went with the former since it was easier (less to clean up).

Roulette feels horribly wrong to me but at least the basic mechanics are there again. I think the Select() logic is wonky.
2007-04-01 09:26:53 +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 b325ed9321 fix long song crash 2007-03-17 07:46:07 +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 c0efd6c810 add Preferred to sort toggle list 2007-03-07 22:07:21 +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 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 f77647b5ad enum name cleanup: DIFFICULTY_* -> Difficulty_* 2007-02-22 07:18:05 +00:00
Steve Checkoway 0e7eed7637 Style. 2007-02-18 11:15:31 +00:00
Steve Checkoway cef0c5ea30 Header cleanup. 2007-02-18 10:19:31 +00:00
Steve Checkoway bcbb72cfe0 MakeItem returns a MusicWheelItem*. 2007-02-17 13:03:27 +00:00
John Bauer e28f5f5ce8 Cosmetic changes:
merge an if and a switch that test the same thing
embellish a LOG line

R=steve
2006-10-22 13:36:59 +00:00
Glenn Maynard 617e8b5335 FOREACH_ENUM2 -> FOREACH_ENUM 2006-10-07 08:56:58 +00:00
Glenn Maynard 4bb479a445 standard enums for some preference types 2006-10-07 07:43:18 +00:00
Glenn Maynard 0493bc75a9 standard enums for some preference types 2006-10-07 05:52:45 +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 a31f76e9ad allocate GameCommand as needed 2006-10-01 20:13:27 +00:00
Glenn Maynard e8a3c636f6 SortOrder_INVALID, NUM_SortOrder 2006-09-26 07:42:55 +00:00
Glenn Maynard e206261b80 ARRAYSIZE -> ARRAYLEN 2006-09-13 03:11:38 +00:00
Glenn Maynard 406dc6b245 auto RefreshGrades 2006-08-16 22:34:59 +00:00
Chris Danford c36f33c088 fix compile 2006-08-15 21:17:36 +00:00
Chris Danford a894eca8ec show all courses, not just preferred 2006-08-15 20:14:25 +00:00
Chris Danford 08616ca55d fix VC6 compile 2006-08-14 04:31:53 +00:00
Glenn Maynard 3d85b7a02b update, fix, simplify ... 2006-08-10 17:42:28 +00:00