Commit Graph

384 Commits

Author SHA1 Message Date
Chris Danford 49b3cbaf34 pressing L+R for the sort code should end up back at the originally selected item
fix jumpy wheel when letting go of L+R near-simultaneously
fix MenuTimer doesn't choose a Random song if sitting on a section or sort
fix MenuTimer fire has no effect if wheel is tweening
2005-06-12 23:43:39 +00:00
Chris Danford 933e1320da add DefaultSong, move DefaultSort into GameState, show machine scores for edits 2005-06-12 03:44:13 +00:00
Ben Anderson 111028f9b4 Give different variables different names. I don't know how that compiled in the first place... 2005-06-08 01:45:21 +00:00
Charles Lohr 670b8d71b5 Allow groupless courses. We really shouldn't crash when comming upon one, Instead just make the color that of the course. 2005-06-04 23:25:56 +00:00
Chris Danford 91d375d31a store course group names
show courses on wheel with a group color
2005-06-03 01:57:10 +00:00
Chris Danford e504fb4e98 broadcast on changed course/trail 2005-05-18 07:14:19 +00:00
Chris Danford e389ba6191 convert the rest to use Preference 2005-05-16 09:36:32 +00:00
Chris Danford 11b9427b9c add pref PreferredSortUsesGroups 2005-05-09 17:33:22 +00:00
Glenn Maynard 7c2ab0d0a2 add RANDOM_PICKS_LOCKED_SONGS 2005-05-09 01:26:30 +00:00
Josh Allen 2eea8e7774 Abstracted wheel and items from WheelBase and WheelBaseItems 2005-04-30 17:30:18 +00:00
Chris Danford 76a3465bd1 fix "can't get to mode menu because m_Wheel.m_SortOrder and GAMESTATE->m_SortOrder are out of sync" 2005-04-29 08:18:44 +00:00
Chris Danford 77efd71587 add expanded bar 2005-04-28 11:39:31 +00:00
Chris Danford 0938d9d9a7 conver more to use Preference 2005-04-28 08:27:40 +00:00
Glenn Maynard 8f062f9f0f fix: pressing start while tweening to the sort menu would select a song;
this would cause GAMESTATE->m_SortOrder to be set to SORT_MODE_MENU
while in gameplay, which is wrong
2005-04-26 06:15:45 +00:00
Chris Danford f8904f3b92 add basic survival gameplay 2005-04-21 04:27:13 +00:00
Chris Danford 228ca9f166 reload SSM help text on sort changed
clean up SortOrder names
2005-04-15 07:18:40 +00:00
Chris Danford de2daa5410 fix GetPreferredSelectionForRandomOrPortal doesn't obey DifficultiesToRequire 2005-04-13 08:13:45 +00:00
Chris Danford 8e6637dd0d merge ListDisplay into ActorScroller 2005-04-10 23:42:47 +00:00
Chris Danford 026e39c7ea fix skip on slow machines 2005-04-10 04:45:25 +00:00
Chris Danford dd84b4ffd6 separate course popularities for each PlayMode
don't calculate autogen courses in best list if they're not shown
2005-04-07 08:46:40 +00:00
Chris Danford 218be32879 separate fail types per player. Now FailType adjustments based on Difficulty only affect the relevant players. 2005-04-05 08:30:57 +00:00
Charles Lohr 8c5909ebe9 Modify AutoScreenMessage to keep map of all non-standard ScreenMessages.
This has a lot of advantages over the old ways.  Some of the initial ones are that
you can log a list of all screenmessages and their respective number and another
is that it would be fairly easy to add a reverse lookup, so you could get the name
of a ScreenMessage for log use by getting the ScreenMessage number.
2005-03-28 08:01:36 +00:00
Chris Danford bb6592a4e7 use float.h and limit.h constants instead of arbitrary large numbers 2005-03-25 20:01:51 +00:00
Steve Checkoway ae02033893 Fix warnings. 2005-03-23 21:04:40 +00:00
Glenn Maynard 289244c911 fix messages 2005-03-23 09:57:04 +00:00
Chris Danford 7ca20486ef use sin lookup table to fix terrible performance with float and tipsy performance on some archs 2005-03-22 00:58:05 +00:00
Chris Danford 0eb271a1b1 allow specifying a custom MusicWheel type 2005-03-17 09:34:05 +00:00
Charles Lohr b36f6a6f04 VC6 cleanup. Remove .GetValue() "fixes" by overloading binary operators. 2005-03-14 20:26:50 +00:00
Charles Lohr 1e4fb95215 Added .GetValue() for VC6/7 compile. Maybe we should figure out a way around this for VC6/7 so it doesn't look so bad in code? 2005-03-14 00:18:07 +00:00
Chris Danford a1b8f2d0ce cache metrics 2005-03-13 18:17:09 +00:00
Chris Danford 410da1de20 optimize wheel switching - only rebuild the WheelItemDisplays that changed 2005-03-13 17:40:00 +00:00
Chris Danford e17f7e060d show random & roulette in all sorts excpet for roulette
have ABC_ONLY show sections in SORT_GROUP
2005-03-02 06:09:00 +00:00
Chris Danford 5cceae246e add sort by genre 2005-03-02 01:48:38 +00:00
Chris Danford 70663436bb wrap GameState difficulties 2005-02-26 08:32:49 +00:00
Chris Danford 071f02a862 allow access to individual BroadcastOnChangePtrs within BroadcastOnChangePtr1D 2005-02-25 18:17:26 +00:00
Chris Danford 4104edcad9 use BroadcastOnChange wrappers 2005-02-25 05:27:28 +00:00
Glenn Maynard 0e59f3d135 Revert this, and do it differently: prefer the preferred song/course in
MusicWheel::SelectSongOrCourse instead of the active one.  The advantage
of this is that if, for example, a PreferredCourse is set, the player is playing
regular play (not course mode), and then switches to course mode via the
mode menu, the course will be selected correctly.  (Previously, it'd end up
on the default course in that case instead.)
2005-02-25 00:29:09 +00:00
Glenn Maynard 7f0ba99f77 Explicitly set the preferred song in SSM's ctor, instead of handling it in
the music wheel.  This way, we can re-set the preferred song at any time
and have it take effect when we get back to the wheel; previously, if
we'd already played a song, m_pCurSong would override it.
2005-02-24 22:31:11 +00:00
Chris Danford ab22e629d4 enforce that changed message is broadcast whenever value changes 2005-02-24 12:27:30 +00:00
Chris Danford a2915c038b add TemporaryEventMode flag to GameState 2005-02-21 17:29:49 +00:00
Glenn Maynard 74d27315d3 s/UnlockSystem.h/UnlockManager.h/ 2005-02-21 06:22:46 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Glenn Maynard c25910b6df unused 2005-02-02 05:12:59 +00:00
Glenn Maynard 7c64310add fixes 2005-01-29 22:02:52 +00:00
Glenn Maynard 8d48438c15 ModeMenuAvailable metric removed; change Codes instead.
Merge the sort menu into the mode menu.
GAMESTATE->m_SortOrder is now GAMESTATE->m_PreferredSortOrder.
Allow the mode menu to have non-mutually-exclusive items.
2005-01-29 20:46:08 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Charles Lohr 3ce4a13410 Change: Way cool new ScreenNetSelect Music
Fix: Reporting Style didn't work right.
2005-01-22 05:31:35 +00:00
Glenn Maynard cc70e8dd82 fix old sort not being selected in sort menu 2005-01-20 03:15:01 +00:00
Chris Danford 5d6eb1d236 put ActorUtil functions in a namespace 2005-01-17 05:42:52 +00:00
Glenn Maynard f44facda48 fix roulette not being sorted 2005-01-13 17:40:56 +00:00