Commit Graph
103 Commits
Author SHA1 Message Date
Glenn Maynard 31eb3ee344 Fix sample music doesn't always start. This depended on m_Out being
started first, which was brittle.
2006-03-29 08:14:29 +00:00
Glenn Maynard 958299c734 spacing 2006-02-14 11:10:03 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 2b4c9e4516 Transition away from Screen(sName). 2006-01-15 19:49:02 +00:00
Glenn Maynard f0dc808168 Remove LoadHelpText overload. Call settips() yourself via message
commands instead.
2006-01-14 02:35:08 +00:00
Glenn Maynard ad69594521 Simplify options message. Remove m_sprOptionsMessage; show this in an overlay.
Remove m_bgOptionsOut, m_bgNoOptionsOut; these were only used for delays, which
we can do by sleeping on the options message commands.  Remove SM_TweenOffOptionsMessage;
treat that as part of FadingOut.
2005-10-30 22:23:07 +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 267e913b4d cleanup 2005-09-03 06:13:30 +00:00
Glenn Maynard b4874c0646 do this in the overlay 2005-08-24 21:31:06 +00:00
Glenn Maynard 87016c7f55 don't let SWME mess with the music here; SSM does it itself 2005-07-29 05:07:01 +00:00
Glenn Maynard 0cf4fc957c ScreenSelectMusic::BeginScreen
fix TweenOffScreen run twice
2005-07-22 22:38:53 +00:00
Glenn Maynard 50a31993a6 TweenOursOnScreen/TweenOursOffScreen 2005-07-14 22:26:09 +00:00
Glenn Maynard 85535379c9 simplify like ScreenPlayerOptions 2005-07-12 05:52:52 +00:00
Glenn Maynard 5f8eab1022 remove textSongOptions. (this isn't how we should be broadcasting
messages for this, but we don't want to send on every change like
BroadcastOnChange (too fine grained), but this is better than these
special case actors
2005-07-09 09:07:59 +00:00
Glenn Maynard b1360b0b4f remove OptionIconRow 2005-07-09 08:28:49 +00:00
Glenn Maynard c1e0310d68 remove; use the controls in ActorFrame instead 2005-07-07 01:01:37 +00:00
Glenn Maynard 5278abc4be this can be done with Lua, by putting layers in the underlay. themes using this havn't been maintained or usable in a long time, and there doesn't seem to be interest in doing so, so I'm not implementing it in them; ask me if you want info--but there are too many special-case elements in this screen and it's unmanagable. 2005-07-06 23:47:05 +00:00
Glenn Maynard 0289b1a91e use RageTexturePreloader 2005-06-30 22:41:22 +00:00
Glenn Maynard d87583c76e remove m_GrooveGraph 2005-06-23 02:42:31 +00:00
Glenn Maynard 448fb4cac3 remove unused m_sprExplanation 2005-06-08 22:07:32 +00:00
Glenn Maynard f9147e377a remove unused "m_sprNonPresence". if additional graphics are needed, use the overlay/underlay layers 2005-06-08 22:01:50 +00:00
Chris Danford 2870644190 move sprStage into ScreenWithMenu elemnts 2005-05-06 12:29:38 +00:00
Chris Danford a122528974 Allow AutoActors for Stage and CouseNumber 2005-05-06 10:48:32 +00:00
Glenn Maynard c6bea38e5f m_soundSelectPressed 2005-05-04 01:08:35 +00:00
Glenn Maynard cae5bf6e29 ModeMenuAvailable 2005-04-27 04:35:55 +00:00
Glenn Maynard 23daae6a25 add select menu 2005-04-26 06:41:57 +00:00
Chris Danford ff83372307 add ScreenSelectMusic::OPTIONS_MENU_AVAILABLE 2005-04-23 01:06:43 +00:00
Chris Danford 79fa333e91 Sprite -> AutoActor 2005-03-30 17:43:34 +00:00
Chris Danford 23f0556912 add ShowCourseContents metric 2005-03-30 07:39:41 +00:00
Chris Danford f6e6ff688f don't call m_DifficultyList.SetFromGameState twice when changing music (fixes jumpy cursor) 2005-03-29 21:30:24 +00:00
Chris Danford 0eb271a1b1 allow specifying a custom MusicWheel type 2005-03-17 09:34:05 +00:00
Glenn Maynard b6eebd2517 cache GetPath results, since it may call GetPathTo, which will skip if it reads from the disk (perhaps we need a ThemePath<> cache type, like ThemeMetric<>) 2005-03-08 06:48:31 +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 78b75923e1 cache 2005-02-02 04:17:38 +00:00
Glenn Maynard dc7fcbc776 remove m_Overlay (duplicates ScreenWithMenuElements::m_sprOverlay) 2005-01-15 18:54:04 +00:00
Glenn Maynard 546e048fa2 Support background loading. The principle is simple: when the song
changes, request all of its assets that we need be loaded.  Once each
piece finishes, load it from cache.  We still take a skip to decode graphics
(banners in particular), but not from disk seeks, which is an issue on hard
drives and fatal on CDs.

This also handles fading banners much more precisely: we fade to the
high res banner once the music wheel has settled.  Before, it was approximate;
we'd often load the banner before we settled.  It still skips, but it's much less
prominent to skip when the music wheel is completely settled, than to skip
just before it settles.

Some more work is necessary to resolve lock contention; currently, you'll
still see frequent skips off a CD (but not constant as before).  I'm working
on that, but I'm not sure if I want to put that in before the release, since
it's caused some crashes that I havn't tracked down.

The actual background work is disabled, and may not be enabled for the
release.  I'm committing this to get the basic API work ironed out.  It still
gives perceptual skip improvements even without the background thread.
2004-09-08 02:53:54 +00:00
Glenn Maynard 83b640f5dd reduce disk access on wheel move by using timing data that's already loaded 2004-08-15 23:16:30 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Glenn Maynard 76a190e5f3 SwitchToPreferredSongDifficulty -> SwitchToPreferredDifficulty; handle
course difficulty
don't re-tween course list after changing course difficulty
2004-06-03 21:41:54 +00:00
Chris Danford 61581479d8 track the current Trail in GameState 2004-06-03 08:22:02 +00:00
Glenn Maynard cab74820c4 SwitchToPreferredDifficulty -> SwitchToPreferredSongDifficulty 2004-06-01 19:19:35 +00:00
Glenn Maynard db7732fa21 NumSongs, TotalTime 2004-05-22 22:56:58 +00:00
Glenn Maynard 51f4d707dd add sprExplanation 2004-05-22 02:51:56 +00:00
Chris Danford fec42c1a21 lock Difficulty/Steps for all players in Rave 2004-05-07 04:37:47 +00:00
Chris Danford d18dd8f200 allow switching difficulties while on roulette, random, leap
tween off DifficultyList and CourseContents when in the sort and mode menus
2004-05-07 02:53:07 +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
Glenn Maynard d2571cb252 on/off commands for overlay 2004-04-20 00:16:20 +00:00
Chris Danford 370839215f add graphic for courses that have mods 2004-03-13 23:11:57 +00:00
Glenn Maynard 3299263db9 options out transition 2004-02-19 03:56:50 +00:00