Commit Graph
14355 Commits
Author SHA1 Message Date
Glenn Maynard df896d168a tolerate Register being called before THEME is initialized (like we do
with other singletons)
2005-03-18 22:44:47 +00:00
Glenn Maynard 627e5eb16a add LuaTable 2005-03-18 22:40:09 +00:00
Glenn Maynard 501e609dfc allow reset when not in finished 2005-03-18 22:36:10 +00:00
Glenn Maynard a6c498610b Load Serialize.lua first, before calling ResetState. 2005-03-18 22:09:10 +00:00
Glenn Maynard 6000f7e0c9 Make Transition an ActorFrame, so commands are propagated to the
actual BGA.  Add Reset(), to allow transitioning a Transition more than
once (less likely to cause problems than automatically resetting to "waiting"
after the transition finishes).
2005-03-18 22:06:33 +00:00
Chris Danford cfd4a03110 own sound instead of PlayOnce 2005-03-18 21:51:30 +00:00
Chris Danford 9cad331c2a remove redundant ScreenEdit overlay 2005-03-18 19:45:22 +00:00
Chris Danford c10dc7eab2 clean up EditMode transitions
don't explicitly draw and update Actors - add as children so that Z ordering is correct
2005-03-18 19:44:01 +00:00
Chris Danford b6fe07c1d2 make ScreenEdit derive from ScreenWithMenuElements
add missing demonstration metrics
2005-03-18 18:59:25 +00:00
Chris Danford db022cd518 make ScreenEdit derive from ScreenWithMenuElements 2005-03-18 18:58:22 +00:00
Chris Danford b497b33aa0 add SetUpdateRate method 2005-03-18 18:57:05 +00:00
Chris Danford 66a5c26a84 don't draw BGChange text in HomeEditMode 2005-03-18 18:56:35 +00:00
Chris Danford 3fae670c0c remove redundant play of Init. Each Actor plays Init when it's loaded. 2005-03-18 09:08:09 +00:00
Chris Danford 39a9708020 assert if someone tries to clear the zbuffer in an actor frame (it won't do anything because ActorFrames don't SetRenderState). Hopefully, this will save someone a lot of troubleshooting time. 2005-03-18 08:14:49 +00:00
Glenn Maynard fd6b369a7c compile please 2005-03-18 08:14:46 +00:00
Glenn Maynard 665ab585d4 set up queues late, only once they're needed 2005-03-18 07:53:16 +00:00
Glenn Maynard 60d8f65ab4 ScoreKeeper is not an Actor 2005-03-18 07:38:44 +00:00
Glenn Maynard 507493e928 separate Load() call to give queues to ScoreKeepers (do expensive init in ctor) 2005-03-18 07:36:59 +00:00
Glenn Maynard a51cbb1fe5 fix include 2005-03-18 07:36:16 +00:00
Glenn Maynard 2945731f0b load music last 2005-03-18 07:08:05 +00:00
Glenn Maynard 9a41132083 don't init general background graphics in the first LoadNextSong call 2005-03-18 05:06:34 +00:00
Glenn Maynard db08dc73bf remove legacy code 2005-03-18 05:00:20 +00:00
Glenn Maynard e5af8b0f70 remove unnecessary CacheAllUsedNoteSkins calls; this is all done in NoteField::Init now 2005-03-18 04:58:15 +00:00
Glenn Maynard 02197dab9c like Player, split NoteField loading into Load and Init, with Init having the expensive part, which we do only once 2005-03-18 04:43:59 +00:00
Glenn Maynard b6b9b11b0f don't bother unloading "unused" note skins; now we just load all the note skins we'll need in advance for a whole round 2005-03-18 04:13:19 +00:00
Chris Danford 9a4283c8ee load children before calling ActorScroller::LoadFromNode 2005-03-18 04:06:17 +00:00
Chris Danford 02d18e9c7b require all ActorScroller values 2005-03-18 04:05:23 +00:00
Glenn Maynard 7f15d9b9ec simplify: have GameState::GetAllUsedNoteSkins get the used note skins directly from courses, so we don't have to worry about init order 2005-03-18 04:04:59 +00:00
Glenn Maynard d7bcda9e38 simplify 2005-03-18 03:37:05 +00:00
Glenn Maynard fd12ab18b1 don't re-Init Player for each song 2005-03-18 03:17:52 +00:00
Glenn Maynard 014dcf7ccd load assets before the song 2005-03-18 02:57:03 +00:00
Chris Danford b788cc3aa8 cleanup fallbacks to fix missing 2005-03-18 01:56:55 +00:00
Chris Danford 9b1fb67f6a explicitly Load TextBanner to read metrics - don't automatically init on first use 2005-03-18 01:55:33 +00:00
Glenn Maynard 778ac6a63d remove m_bgCondBga; none of our themes seem to use it. (If anyone
needed this, post to sm-devs saying what you need to do any I'll explain
how to do it with the newer XML-based system.)
2005-03-18 01:55:03 +00:00
Chris Danford dc76527235 add meter numbers 2005-03-18 01:53:46 +00:00
Chris Danford 11662c6d75 add missing 2005-03-18 01:18:07 +00:00
Chris Danford 2b833657fb fix medium color 2005-03-18 01:16:49 +00:00
Ben Anderson 2774b74348 Fix compilation on GCC. I don't know why this works, it just does. (I tested it. 2005-03-18 00:55:21 +00:00
Glenn Maynard 42fb0bfc9b simplify 2005-03-17 23:48:32 +00:00
Glenn Maynard c189f5fdd9 split out OpenForReading 2005-03-17 23:43:13 +00:00
Chris Danford e76b50d499 don't calculate NextScreen until options have been exported 2005-03-17 17:54:46 +00:00
Chris Danford 1f112ae2ca fix Various showed as BPM for some courses with <= MAX_COURSE_ENTRIES_BEFORE_VARIOUS 2005-03-17 17:53:10 +00:00
Chris Danford 0eb271a1b1 allow specifying a custom MusicWheel type 2005-03-17 09:34:05 +00:00
Chris Danford 5f68c5977a add ThemeMetricMap - a ThemeMetric collection that maps from a CString to ThemeMetric 2005-03-17 09:29:46 +00:00
Chris Danford b30b0d6d31 fix course and section text zoom shouldn't be reset 2005-03-17 07:38:09 +00:00
Glenn Maynard 3001fb6aef add StartScreen metrics 2005-03-17 07:25:04 +00:00
Glenn Maynard 008cae2479 m_sName for ScreenAttract::StartScreen 2005-03-17 07:23:59 +00:00
Glenn Maynard c45e197858 normal fallback for jukebox/demo 2005-03-17 07:20:51 +00:00
Glenn Maynard b11a82eb21 add fallbacks 2005-03-17 07:19:17 +00:00
Glenn Maynard b36124bb5e fix long-standing bug: don't increment Possible for mines 2005-03-17 06:23:42 +00:00