Commit Graph

126 Commits

Author SHA1 Message Date
Chris Danford 599db61b62 Always call LoadAllCommands explicitly.
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Glenn Maynard ce86b65827 fix base call 2006-11-21 20:03:28 +00:00
Glenn Maynard 0db4a096e5 ScreenWithMenuElements::BeginScreen calls SortByDrawOrder 2006-11-21 04:32:59 +00:00
Glenn Maynard 3f96734e6c MenuX(PlayerNumber) -> MenuX(InputEventPlus) 2006-09-14 21:18:39 +00:00
Steve Checkoway 35c48c3671 Header cleanup. 2006-08-17 18:52:46 +00:00
Glenn Maynard 0ad99bffc2 switch -> if 2006-02-24 00:20:41 +00:00
Glenn Maynard 2b9f484548 spacing (only) 2006-02-14 11:30:53 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard ced8fd4561 Transition away from Screen(sName). 2006-01-15 19:04:34 +00:00
Glenn Maynard 9056419cf5 remove logs (this stuff predates the crash handler and has been copied
and pasted around since)
2006-01-15 08:51:03 +00:00
Chris Danford 8794ccaf3f fix selection of all music group 2006-01-08 19:49:14 +00:00
Chris Danford fc18dbd342 make more strings localizable 2006-01-08 18:40:20 +00:00
Glenn Maynard 3920770220 base class's job 2005-10-17 06:27:33 +00:00
Chris Danford c27dc12583 move skipping of SSelectGroup into a branch (fixes SSGroup::TweenOnScreen assert) 2005-10-15 06:20:59 +00:00
Glenn Maynard 2618647307 phase out TweenOursOnScreen 2005-10-14 03:11:50 +00:00
Glenn Maynard ce155d0c3e phase out TweenOursOffScreen 2005-10-14 02:31:55 +00:00
Glenn Maynard dfc67cd84d ScreenWithMenuElements::StartTransitioning -> StartTransitioningScreen, to make searching
for it easier (vs. Transition::StartTransitioning).  (Trying to simplify tweening; this
may go back later.)
2005-10-13 22:17:13 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Glenn Maynard ddb6b7e6bf fix crash 2005-09-03 00:38:42 +00:00
Glenn Maynard 5451d5c3a2 no need for these to be RandomSamples 2005-09-03 00:37:57 +00:00
Glenn Maynard 037618529c A lot of screens have TweenOffScreen functions; SWME has that, and it's not
virtual, so the names are clashing and confusing.  This should probably just
be virtual.  As an incremental step to that, rename all derived TweenOnScreen
and TweenOffScreen screen functions to TweenOursOnScreen and
TweenOursOffScreen.
2005-07-14 22:23:39 +00:00
Glenn Maynard 28133ca105 cleanup 2005-07-07 10:29:04 +00:00
Chris Danford f0335f486c GROUP_ALL_MUSIC -> GROUP_ALL
use GROUP_ALL as sentinel value in PreferredCourse
2005-06-24 06:06:16 +00:00
Chris Danford 2a6dcba6e8 cleanup:
"GroupName" -> "SongGroup" to make room for CourseGroup
replace checks for "cvs" with a call to StripCvs()
m_Rows -> m_pRows
broadcast on preferred group changes
2005-06-23 08:05:09 +00:00
Chris Danford 48e6cb1a69 rename back -> cancel because "back" conflicts with "background" 2005-03-20 06:14:41 +00:00
Chris Danford ab22e629d4 enforce that changed message is broadcast whenever value changes 2005-02-24 12:27:30 +00:00
Glenn Maynard 456c2074e7 do "skip screen" tests in Init(), since Init() is still called even if we
SetNewScreen() in the screen ctor
2005-02-23 22:36:00 +00:00
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +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
Chris Danford 683587e81b rename: m_sPreferredGroup -> m_sPreferredSongGroup
add SongGroup to ModeChoice
2004-12-01 07:24:55 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Glenn Maynard 9965bbff54 cleanup 2004-07-25 07:22:31 +00:00
Chris Danford 504ba6c163 GetPath*N->GetPath*F 2004-07-25 06:29:50 +00:00
Glenn Maynard 94d0cba859 RageSounds -> GameSoundManager 2004-07-08 00:10:34 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Chris Danford 3cadf4c5d5 have Numbers fall back to Fonts (in perparation for removing the Numbers dir altogether) 2004-05-30 23:23:39 +00:00
Glenn Maynard 7258f57c63 cleanup 2004-05-08 06:43:06 +00:00
Chris Danford 58d63cb476 make draw order separate from Z value
add "PageType" graphic to ScreenEvaluation
2004-05-02 03:01:27 +00:00
Chris Danford 6590bd2d48 don't load multiple copies of "common start" or "common invalid" sound 2004-05-01 23:28:53 +00:00
Chris Danford df5cd5e813 move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism 2004-05-01 23:19:33 +00:00
Chris Danford 1920634135 move Song/Steps sorting into Song/StepsUtil.h/cpp 2004-04-18 07:34:37 +00:00
Glenn Maynard f1fddd90d1 use SOUND->PlayOnceFromAnnouncer 2004-04-12 20:11:36 +00:00
Glenn Maynard 1421f168db s/UNLOCKSYS/UNLOCKMAN/ 2004-02-21 01:06:35 +00:00
Chris Danford 817976ff1f add SortByZ to many screens 2004-02-13 05:39:15 +00:00
Glenn Maynard ec5d3282bf cleanups, fix memleaks 2004-01-24 22:55:59 +00:00
Glenn Maynard 884488732d reduce MenuTimer dependencies 2003-11-07 20:10:38 +00:00