Glenn Maynard
9525bc094d
prefer to init cached metrics from Init, not ctor
2005-10-07 03:28:47 +00:00
Glenn Maynard
c4150955bd
split ScreenRanking specializations into ScreenRankingScroller (for
...
PAGE_TYPE_ALL_STEPS, PAGE_TYPE_*_COURSES) and ScreenRankingLines
(PAGE_TYPE_CATEGORY, PAGE_TYPE_TRAIL).
Use DynamicActorScroller for ScreenRankingScroller; reduces overhead
significantly.
2005-09-27 19:10:09 +00:00
Glenn Maynard
6ea2f37a36
Change MenuUp(pn,type) overrides to MenuUp(IEP), so info like DeviceI.ts is always accessible.
2005-09-23 00:44:52 +00:00
Glenn Maynard
465c2e71ff
pull out common code, prefer to set stuff up in Init, unfold conditionals; support
...
locked courses while we're at it
2005-09-22 01:49:07 +00:00
Glenn Maynard
602a62325c
use GenericTweenOn(). (Just make sure ActorUtil::LoadAllCommands is
...
called and the actor is added to the tree, and OnCommand will be played.)
2005-09-22 01:28:56 +00:00
Glenn Maynard
b7d8a64199
unneeded; these are children of m_ListScoreRowItems
2005-09-22 01:22:16 +00:00
Glenn Maynard
026f13f765
Load commands in the template, not later when we call ON_COMMAND
...
on the copies. This is a fairly major optimization: we only load the commands
once, rather than dozens of times, and we save memory, since the copies will
just take references to the generated Lua functions instead of making dozens
of functions.
2005-09-22 00:21:24 +00:00
Glenn Maynard
fb49d6a41a
optimize, simplify
2005-09-22 00:08:59 +00:00
Glenn Maynard
9960d6dd9f
implement ScreenRanking::BeginScreen
2005-09-21 21:52:31 +00:00
Glenn Maynard
5e0680ed05
remove banner frame (do that in the overlay)
...
use AutoActor
merge code and metrics
2005-09-21 21:42:07 +00:00
Glenn Maynard
0293b5c205
Run SwitchPageCommand instead of OnCommand between pages (simpler and
...
more flexible). Cleanup.
2005-09-21 21:14:09 +00:00
Glenn Maynard
67a4390f07
simplify
2005-09-21 20:54:28 +00:00
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