Commit Graph

13902 Commits

Author SHA1 Message Date
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
Glenn Maynard d7800a2822 UseDedicatedMenuButtons -> OnlyDedicatedMenuButtons (fixes
input options)
2005-02-24 06:20:04 +00:00
Chris Danford ca3684b232 cleanup, fix offset vbSelected values when using NextRow choice at the front 2005-02-24 06:10:11 +00:00
Glenn Maynard a9c73de5b6 fix ZIP thread-safety? 2005-02-24 06:07:49 +00:00
Chris Danford fbf7bc4f26 split OptionRowHandler out of ScreenOptionsMaster 2005-02-24 04:56:36 +00:00
Glenn Maynard 185966bd35 settext takes a string 2005-02-24 01:31:21 +00:00
Chris Danford 7c237be91f export specific rows, not all rows at once, to make it easier to reload certain rows 2005-02-24 01:17:39 +00:00
Chris Danford f395d0a401 preload commands 2005-02-23 23:04:06 +00:00
Glenn Maynard 2da21b16d4 rename m_iNumSingleSongsPlayed -> m_iNumTotalSongsPlayed
replace GetTotalNumSongsPlayed
2005-02-23 22:59:56 +00:00
Glenn Maynard c6de356dca Keep track of number of songs played. The other stats all count per-
player: if one person plays on Hard and one on Easy, then each will
be incremented.  That's useful, but it's also helpful to track the simple
number of songs played, irrespective of how many people were playing
at the time.
2005-02-23 22:52:03 +00:00
Glenn Maynard 9ff32c8d25 fix init 2005-02-23 22:45:01 +00:00
Glenn Maynard 456c2074e7 do "skip screen" tests in Init(), since Init() is still called even if we
SetNewScreen() in the screen ctor
2005-02-23 22:36:00 +00:00
Chris Danford 5ed6736eef sScreenName -> sType 2005-02-23 22:21:39 +00:00