Commit Graph
13914 Commits
Author SHA1 Message Date
Chris Danford 03e3ba7609 move Font load for item length testing inside of OptionsRow 2005-02-25 16:52:33 +00:00
Chris Danford d004d5cbfa move many metrics into OptionRow for easier reloading 2005-02-25 16:48:54 +00:00
Chris Danford 7d3f3a1bef allow delayed load of 1D and 2D metrics 2005-02-25 16:48:05 +00:00
Glenn Maynard e1d7d006cc allow xml loading for backgrounds 2005-02-25 06:56:03 +00:00
Glenn Maynard b0ff5081ab full actor support in Foreground 2005-02-25 06:45:07 +00:00
Glenn Maynard a7e4836149 Skip attribute parsing, to fix errors due to comment contents. 2005-02-25 06:13:21 +00:00
Chris Danford b923311e00 fix OptionRow doesn't unsubscribe to Messages 2005-02-25 06:04:31 +00:00
Chris Danford 6249b18702 move bFirstRowGoesDown logic into OptionRow
fix deleted OptionRowHanlder used in in ~OptionRow
move options importing/exporting into OptionRow so that OptionRow can refresh itself in response to a Message
2005-02-25 05:45:16 +00:00
Chris Danford 77180c9d8d cleanup
add EditMenuAction
2005-02-25 05:44:56 +00:00
Chris Danford 246b69ec81 add themed string 2005-02-25 05:28:00 +00:00
Chris Danford 4104edcad9 use BroadcastOnChange wrappers 2005-02-25 05:27:28 +00:00
Chris Danford 15b4f310a6 add more BroadcastOnChange templates 2005-02-25 05:23:29 +00:00
Glenn Maynard 7c38cabcdc compile fix 2005-02-25 04:42:24 +00:00
Glenn Maynard 2d97c8e0ca fixes 2005-02-25 04:37:27 +00:00
Glenn Maynard 921c1446c4 cleanup 2005-02-25 04:18:28 +00:00
Glenn Maynard 40faf9e983 compile fix 2005-02-25 03:29:01 +00:00
Glenn Maynard e4e8589a28 compile fix 2005-02-25 03:15:39 +00:00
Glenn Maynard 06e6411044 fix compile 2005-02-25 02:53:20 +00:00
Glenn Maynard b31be5e213 fix up overlay draw order 2005-02-25 01:51:40 +00:00
Glenn Maynard 5a1cf44bc8 remove 2005-02-25 01:47:02 +00:00
Glenn Maynard 9faf6be1bd hack to work around rounding error 2005-02-25 01:46:10 +00:00
Glenn Maynard ffd47bbf29 metrics 2005-02-25 01:45:09 +00:00
Glenn Maynard 803117f326 Move unlocks to theme metrics. If you're actually using unlocks for
anything interesting, you're probably pairing it up with a theme, and themes
can interact with unlocks, so this makes everything a lot simpler.
2005-02-25 01:28:45 +00:00
Glenn Maynard d6bafe0398 fix CurSong 2005-02-25 01:07:49 +00:00
Glenn Maynard 0e59f3d135 Revert this, and do it differently: prefer the preferred song/course in
MusicWheel::SelectSongOrCourse instead of the active one.  The advantage
of this is that if, for example, a PreferredCourse is set, the player is playing
regular play (not course mode), and then switches to course mode via the
mode menu, the course will be selected correctly.  (Previously, it'd end up
on the default course in that case instead.)
2005-02-25 00:29:09 +00:00
Glenn Maynard 5376cf473b cleanup 2005-02-24 22:45:59 +00:00
Glenn Maynard 1b16ab4ee6 add UnlockManager::PreferUnlockCode 2005-02-24 22:34:54 +00:00
Glenn Maynard 7f0ba99f77 Explicitly set the preferred song in SSM's ctor, instead of handling it in
the music wheel.  This way, we can re-set the preferred song at any time
and have it take effect when we get back to the wheel; previously, if
we'd already played a song, m_pCurSong would override it.
2005-02-24 22:31:11 +00:00
Glenn Maynard 1114fe5f80 temp hack 2005-02-24 21:46:07 +00:00
Glenn Maynard da30ea7def assert 2005-02-24 21:44:08 +00:00
Glenn Maynard 8e35534656 fix Update(0) not clearing m_bFirstUpdate (this would also happen previously:
every frame would be m_bFirstUpdate while hibernating)
2005-02-24 21:42:02 +00:00
Glenn Maynard 74e02e55ef make sure that large updates don't throw hibernation timing out of sync;
this also affects small updates, preventing small sub-frame timing errors;
if there's 10ms of hibernation left, and a 17ms update arrives, we should
update for only 7ms, not 17ms
2005-02-24 20:37:39 +00:00
Glenn Maynard a6c189529a obey m_fHibernateSecondsLeft, so a 3-second TipShowTime that
starts by delaying off-screen for 2.5 seconds can instead hibernate,2.5,
to avoid showing the first tip for only .5 seconds
2005-02-24 20:32:10 +00:00
Glenn Maynard aa279e07e2 lua 2005-02-24 20:04:46 +00:00
Glenn Maynard 3b993dfa08 Replace PopStack with FromStack as a basic overloaded function.
Move Push and FromStack into a namespace, so other files can add to it;
that way, we can say Push(1) or Push(Actor*), instead of Push(1) and
pActor->PushSelf(), allowing easier templating.
Add presently unused/untested LuaHelpers::ReadArrayFromTable.
2005-02-24 20:03:07 +00:00
Chris Danford 182db1222f Have OptionRows subscribe to a Message in order to refresh 2005-02-24 15:40:05 +00:00
Chris Danford 017dd5d048 fix AV 2005-02-24 13:49:42 +00:00
Chris Danford 3dac5430c2 theme StepsType 2005-02-24 13:49:23 +00:00
Chris Danford fb4ab8886c save the Handler in OptionRow so a row can refresh itself without needing the Screen to Import/Export 2005-02-24 13:48:14 +00:00
Chris Danford ab22e629d4 enforce that changed message is broadcast whenever value changes 2005-02-24 12:27:30 +00:00
Chris Danford 94743864e6 add OptionRowHandler types for EditMenu 2005-02-24 11:36:19 +00:00
Chris Danford 2dfb9f148e move bExportOnChange into OptionRowDef from OptionRowHandler 2005-02-24 11:35:31 +00:00
Chris Danford 2dd60fb413 update List row types 2005-02-24 08:00:36 +00:00
Chris Danford 7d09d1baa9 more fun cleanup 2005-02-24 07:58:03 +00:00
Chris Danford f3783a3d1b fix tweening of LAYOUT_SHOW_ONE_IN_ROW 2005-02-24 07:12:43 +00:00
Glenn Maynard 155a7bacbc rename NumArcadeStages pref to SongsPerPlay, to match the options menu
(that name is more consistent); duplicate a bit less info
2005-02-24 06:41:50 +00:00
Chris Danford 5797d6a867 cleanup 2005-02-24 06:33:50 +00:00
Glenn Maynard 37b4f67c9f simplify 2005-02-24 06:30:56 +00:00
Glenn Maynard 6fbc047fcf Caution -> ShowCaution 2005-02-24 06:28:49 +00:00
Glenn Maynard 37fdbdede3 move MovePref; rename Caution -> ShowCaution and simplify 2005-02-24 06:28:15 +00:00