Commit Graph

142 Commits

Author SHA1 Message Date
Glenn Maynard ff6b55fb17 Merge metrics and common code. 2005-09-21 20:43:07 +00:00
Glenn Maynard f6c3263f24 phase out bShow*. Still a lot of code, but the code path is more obvious. 2005-09-21 20:16:53 +00:00
Glenn Maynard 1b6574d241 phase out bShow*. Don't load and then hide; when possible, just don't load it
to begin with.  (This code assumed that we'd change PageTypes in the middle,
but that hasn't been allowed and hasn't been used, and it complicates things
too much.)
2005-09-21 19:48:56 +00:00
Glenn Maynard d47b926f05 Don't broadly Reset() actors; it's too heavy-handed. Just make sure that actor
commands set state properly.

Remove some SetHidden() calls that assumed Reset() would un-hide them.
2005-09-21 19:45:40 +00:00
Glenn Maynard 86449bba80 PageType is a whole-screen property, not per-page. Eliminates m_sprPageType
hack (avoid loading stuff mid-screen).
2005-09-21 19:19:35 +00:00
Glenn Maynard 3ea889296c replace mutually-exclusive metrics with Type, like eval 2005-09-21 19:13:13 +00:00
Glenn Maynard 386cdfe707 use SetZTestMode to enable masking; only use SetUseZBuffer for regular zbuffering (for models) 2005-09-21 18:21:14 +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 70a109c54b fPercentDP, fSurviveSeconds 2005-08-12 02:46:58 +00:00
Glenn Maynard d3bd7a7723 hide iScore 2005-08-12 02:37:04 +00:00
Glenn Maynard 2307fa23d9 hidden HighScore::sName 2005-08-12 01:52:01 +00:00
Glenn Maynard 853c46c511 don't reset in ScreenRanking 2005-07-29 06:17:48 +00:00
Chris Danford 1fffd48c57 SetEffectNone -> StopEffect 2005-07-24 03:11:03 +00:00
Glenn Maynard 6ac51af9c2 header 2005-07-20 09:48:19 +00:00
Glenn Maynard bb8af41cb1 missing headers 2005-07-01 05:07:22 +00:00
Chris Danford 67477a6192 don't show locked Steps in ranking 2005-06-27 05:24:14 +00:00
Chris Danford cd43ae66f1 don't show locked Steps in ranking 2005-06-27 04:48:03 +00:00
Chris Danford 848cb582d9 sort by name first when showing only most recent 2005-06-15 02:02:06 +00:00
Chris Danford 5ed0c6b0f2 show Course/Song titles in group color 2005-06-03 01:57:57 +00:00
Chris Danford 83a4ac6237 don't Reset between pages. This undoes the effects of InitCommand 2005-06-02 22:26:57 +00:00
Chris Danford 41becb56a4 GetFullDisplayTitle -> GetDisplayFullTitle 2005-05-23 00:38:09 +00:00
Chris Danford e389ba6191 convert the rest to use Preference 2005-05-16 09:36:32 +00:00
Chris Danford 1cc8d4a859 save survival life seconds remaining in HighScore
show SurvivalLifeTime in Ranking
2005-05-08 22:03:41 +00:00
Chris Danford 771979de6f add per-screen CourseDifficultiesToShow instead of using global 2005-05-08 04:01:01 +00:00
Chris Danford eed251d1c2 split ShowAllCourses into Show*Courses for each CourseType 2005-05-05 19:29:29 +00:00
Steve Checkoway b1f6f2c4a6 Fix warning 2005-04-28 17:04:11 +00:00
Glenn Maynard 7892552052 fix warnings 2005-04-26 10:28:20 +00:00
Chris Danford 9eddaaf860 keep track of last played for each song
add metric: ScreenRanking::ShowOnlyMostRecentScores
2005-04-25 22:44:32 +00:00
Chris Danford 776d539a25 fix double-add warning when showing 2+ pages 2005-04-21 18:46:11 +00:00
Chris Danford d67e3c618b use PercentageDisplay::FormatPercentScore in ScreenRanking 2005-04-15 08:05:29 +00:00
Chris Danford 8e6637dd0d merge ListDisplay into ActorScroller 2005-04-10 23:42:47 +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 2153d96c49 simplify - don't initialize Lists that won't be shown
fix manual scrolling in ALL_COURSES
2005-03-27 03:00:39 +00:00
Chris Danford 5d8456e3ea metrics cleaup: Remove duplicated "ToShow" and "ToHide" parsing logic
don't show hidden StepsTypes in EditMenu
2005-03-24 21:44:03 +00:00
Steve Checkoway ae02033893 Fix warnings. 2005-03-23 21:04:40 +00:00
Chris Danford 880e42e1d3 fix conflicting ScreenMessage IDs by automatically generating unique values 2005-03-23 08:48:38 +00:00
Chris Danford 0be0cb5ab5 remove unnecessary SetXY 2005-03-08 16:52:15 +00:00
Glenn Maynard bd7f89455d fix course scrolling 2005-03-08 01:22:50 +00:00
Chris Danford b60d135493 don't allow StringToX for *_INVALID values 2005-03-05 21:50:33 +00:00
Chris Danford c7bacb5a21 add manual scrolling to ScreenRanking 2005-02-28 18:49:17 +00:00
Chris Danford 98027995ff fix misinterpreted va arg 2005-02-28 17:23:28 +00:00
Chris Danford f5fac27a1b cache metrics 2005-02-28 17:18:01 +00:00
Chris Danford bc233162e5 remove hard-coded names 2005-02-28 16:48:13 +00:00
Chris Danford faa11c580b fix skip on page change 2005-02-28 07:17:10 +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
Glenn Maynard 7183a5e271 Add ScreenAttract::AutoBeginFadingOut() to disable sending
SM_BeginFadingOut.  We can't do this in the ctor (since it's sent during
Update now); we can't do it in Update(), because if the message is posted
with a delay of 0 (ScreenRanking), the message will be added by
ScreenAttract::Update and immediately processed by Actor::Update
before the derived Update can remove it.
2005-01-16 14:48:44 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Chris Danford 72bd480883 CENTER_* -> SCREEN_CENTER 2004-11-05 06:35:10 +00:00