Commit Graph

19838 Commits

Author SHA1 Message Date
Glenn Maynard fb4fa9ea6a cleanup 2006-02-01 07:52:33 +00:00
Glenn Maynard ec04b7eb9c clarify 2006-02-01 07:44:33 +00:00
Chris Danford 2b6f94ba10 add UseIconMetrics 2006-02-01 07:39:24 +00:00
Chris Danford d3ab83d284 assert on duplicate unlock IDs rather than behaving weird later 2006-02-01 07:34:12 +00:00
Glenn Maynard 711b88767e fix up reuse: init menus in BeginScreen 2006-02-01 07:25:25 +00:00
Glenn Maynard 7df95cd0d4 ScreenType is being overloaded in incompatible ways:
- the editor sets "system_menu" to trick StepMania.cpp into not
   allowing the operator menu button, to prevent losing data;
 - the editor also sets "gameplay" in "playback" mode to influence
   ScreenSyncOverlay and ScreenDebugOverlay; this breaks the above,
   allowing scroll lock in play mode.

A similar problem happens when we push screens: scroll lock works
in the MiniMenus in the editor.

It's semantically unintuitive to call the editor a "system_menu", anyway.

Split out AllowOperatorMenuButton, and use it directly.  Check all
screens, and don't allow it if any screen on the stack disallows it.
2006-02-01 06:54:15 +00:00
Glenn Maynard d9c81c92cf don't SavePrefsToDisk. Screens that change preferences that
should be saved save on their own.
2006-02-01 06:33:22 +00:00
Glenn Maynard 3be3534970 make sure m_pCurDisplay is updated 2006-02-01 06:27:55 +00:00
Glenn Maynard 57cc9f7c84 release no longer needed noteskins 2006-02-01 06:25:00 +00:00
Glenn Maynard 8b15de1a05 fix note skin changing in the editor menu 2006-02-01 06:22:35 +00:00
Glenn Maynard 73b126e89d allow calling m_pNoteField->CacheAllUsedNoteSkins for Player 2006-02-01 06:18:09 +00:00
Glenn Maynard b5d8f28d1f make CacheAllUsedNoteSkins available 2006-02-01 06:16:12 +00:00
Glenn Maynard 94f0997f83 CacheNoteSkin() is internal 2006-02-01 06:02:50 +00:00
Glenn Maynard 0d1badf18e simplify 2006-02-01 05:57:30 +00:00
Glenn Maynard dc4e634186 cleanup 2006-02-01 05:57:29 +00:00
Glenn Maynard 63fbb804da clarify 2006-02-01 05:49:55 +00:00
Glenn Maynard a6475109a3 fix up STATE_RECORDING_PAUSED; make this clearer 2006-02-01 05:47:50 +00:00
Glenn Maynard 7a1da2cd5b typo 2006-02-01 05:00:51 +00:00
Glenn Maynard 799f725ccb Normally, the "fYReverseOffsetPixels" value to NoteField::Init
is the distance from the center of the field to the top and bottom.
To center record mode, we've been setting this to a low value.
That's different from every other place we use NoteField.  Instead,
set it to a more typical value, and enable the "centered" modifier.
2006-02-01 04:59:38 +00:00
Chris Danford 4c5340c6c4 strip the same files when archiving and extracting 2006-02-01 04:48:21 +00:00
Glenn Maynard 5467ab21ed remove GameState::GetUndisplayedBeats 2006-02-01 04:45:31 +00:00
Glenn Maynard 7ace9857af remove pPlayerState param from Attack::GetAttackBeats 2006-02-01 04:44:34 +00:00
Glenn Maynard 4d248c29f8 GAMESTATE->GetUndisplayedBeats-based path is moved to GetRealtimeAttackBeats. This was confusing: one of the callers of GetAttackBeats passed NULL as pPlayerState, since it's not used in fStartSecond is >= 0. This also eliminates GAMESTATE->GetUndisplayedBeats; that code path was weird, since GetAttackBeats took a pSong, but GetUndisplayedBeats always used GAMESTATE->m_pCurSong. 2006-02-01 04:42:19 +00:00
Glenn Maynard e8a956733a use GetUndisplayedBeats 2006-02-01 04:39:19 +00:00
Glenn Maynard 6e8a6464ee partial: split out GetRealtimeAttackBeats from GetAttackBeats 2006-02-01 04:37:20 +00:00
Glenn Maynard fa5f51a637 cleanup 2006-02-01 04:35:37 +00:00
Glenn Maynard 8297c213c8 honor zoom value in editor components of NoteField 2006-02-01 04:34:32 +00:00
Glenn Maynard 3031f4816f fix comment 2006-02-01 04:33:12 +00:00
Glenn Maynard 0017b79116 move DelayedScreenLoad 2006-01-31 05:33:58 +00:00
Ben Anderson 3071e925c5 Support ALSA 2006-01-31 04:12:49 +00:00
Glenn Maynard 0081134bc6 simplify. (It's not obvious what this subtracting of, typically, 1/16 is actually doing ...) 2006-01-31 03:51:36 +00:00
Ben Anderson bb53c425b1 No, I really meant X11Helper::Win, not a local variable that's never again used. 2006-01-31 03:00:19 +00:00
Ben Anderson bf4aa0e106 Translate contents of backtrace.m4 into SCons 2006-01-31 01:47:40 +00:00
Ben Anderson 545bc24f7c Remove cheeky commentary 2006-01-31 01:05:53 +00:00
Ben Anderson 168eb2a8f8 Remove ScreenTest; set up compiling libresample using SCons 2006-01-31 00:52:42 +00:00
Glenn Maynard a3615bf11a cleanup 2006-01-30 23:10:02 +00:00
Glenn Maynard 16bd1d06cb const 2006-01-30 22:51:01 +00:00
Glenn Maynard 3507956b71 remove ScreenTest 2006-01-30 09:18:03 +00:00
Glenn Maynard 53aafd7bd1 cleanup 2006-01-30 09:16:47 +00:00
Glenn Maynard 7dbb26ca3f remove unused PushScreen
hide MakeNewScreen
2006-01-30 09:15:40 +00:00
Chris Danford e99daa073a add simple unlock screens 2006-01-30 08:13:16 +00:00
Chris Danford ed01c6b9b3 Add UseIconMetrics, for ignoring X, Y, OnCommand, and OffCommand in metrics.ini and using whateve is in xml 2006-01-30 08:12:24 +00:00
Glenn Maynard f96c1296d1 simplify 2006-01-30 08:08:04 +00:00
Glenn Maynard cb0c7ce59d Set up tsDestination directly. It doesn't make sense for a
function named "UpdateEnabledDisabled" to do this, and we
don't need to delay it anymore as GetWidthXY says (that was
before we moved the text into a frame).
2006-01-30 08:06:31 +00:00
Glenn Maynard e89b93ba21 fix 0 tween length causing editor options menus to flicker
at y = 0 for one frame
2006-01-30 08:01:54 +00:00
Glenn Maynard f8d8abfb41 simplify 2006-01-30 07:29:49 +00:00
Glenn Maynard 012c3f5d46 always use ScreenMiniMenu::MiniMenu, not LoadMenu directly 2006-01-30 07:18:34 +00:00
Glenn Maynard 608bd48087 preload 2006-01-30 07:16:32 +00:00
Glenn Maynard ea6d795cfe Use ScreenManager's preload logic. 2006-01-30 07:14:28 +00:00
Glenn Maynard f7bd5862ac remove unused 2006-01-30 07:10:10 +00:00