Commit Graph

19525 Commits

Author SHA1 Message Date
Glenn Maynard fbdfd26ae1 split out SetPresentParametersFromVideoModeParams to make
RageDisplay_D3D::TryVideoMode clearer
2006-01-19 23:57:40 +00:00
Glenn Maynard 7e5975597f cleanup 2006-01-19 22:40:06 +00:00
Glenn Maynard 466bfb054c cleanup 2006-01-19 22:38:30 +00:00
Glenn Maynard 8d427e7a65 simplify 2006-01-19 08:58:40 +00:00
Steve Checkoway a123e5bc76 Return a const reference rather than a copy. 2006-01-19 08:20:41 +00:00
Glenn Maynard 80532a1ef8 typo 2006-01-19 07:59:59 +00:00
Glenn Maynard 235e9d622b use GetChoiceInRowWithFocus instead of m_iChoiceInRowWithFocus directly 2006-01-19 07:47:31 +00:00
Glenn Maynard 4e7e062d4e when LAYOUT_SHOW_ONE_IN_ROW, m_Underline will only have one entry anyway 2006-01-19 07:43:47 +00:00
Glenn Maynard 91a52982e4 simplify 2006-01-19 07:32:42 +00:00
Glenn Maynard 5a3356e94e fix inactive underlines showing 2006-01-19 06:02:52 +00:00
Glenn Maynard 078017317c fix NAV_TOGGLE_FIVE_KEY focus navigation 2006-01-19 04:32:31 +00:00
Glenn Maynard b52e776f36 remove def param; use m_Def 2006-01-19 03:43:29 +00:00
Glenn Maynard bc138aa563 def is always m_Def 2006-01-19 03:36:06 +00:00
Glenn Maynard 55958c952d err 2006-01-19 03:21:57 +00:00
Chris Danford d66b45a117 consistent precision for BPM and secs - 3 decimal places in the editor and in the song file 2006-01-19 03:07:43 +00:00
Chris Danford 941e70ba39 consistent precision for BPM and secs - 3 decimal places in the editor and in the song file 2006-01-19 03:03:27 +00:00
Chris Danford 4b5d9a981e tab cleanup 2006-01-19 03:02:48 +00:00
Chris Danford e080d73fbb always have at least one choice in a row 2006-01-19 03:02:02 +00:00
Chris Danford a2c12bdc61 8sp tab cleanup 2006-01-19 02:40:44 +00:00
Glenn Maynard 7e261bb44b merge code paths 2006-01-19 01:56:40 +00:00
Glenn Maynard f3545a331d use the more standard AfterImportOptions code path, not PositionUnderlines
directly
2006-01-19 01:54:25 +00:00
Glenn Maynard 544733b287 don't have to import both players at once, so AfterImportOptions takes pn 2006-01-19 01:52:18 +00:00
Glenn Maynard 7e005dfbb9 simplify 2006-01-19 01:27:02 +00:00
Glenn Maynard e87e8d77e4 update m_textTitle when choices change, eg. on load and reload--don't need to do it on import 2006-01-19 01:25:09 +00:00
Glenn Maynard 8da0e94aa2 UpdateText is used when the focus changes, so call it from
SetChoiceInRowWithFocus.
2006-01-19 01:23:14 +00:00
Glenn Maynard 10106ba600 remove redundant SetChoiceInRowWithFocus call 2006-01-19 01:17:07 +00:00
Glenn Maynard 054cfa98d8 use pn 2006-01-19 01:15:12 +00:00
Glenn Maynard 41f8a34c9f fewer code paths to set m_iChoiceInRowWithFocus 2006-01-19 01:14:59 +00:00
Glenn Maynard 8bcf6e8b12 fewer code paths to set m_iChoiceInRowWithFocus 2006-01-19 01:14:31 +00:00
Glenn Maynard 74bf033fe7 comment 2006-01-19 01:11:23 +00:00
Glenn Maynard b158147319 pull pn loop out of UpdateText 2006-01-19 01:01:13 +00:00
Glenn Maynard 24cd1d3242 pull pn loop out of UpdateText 2006-01-19 01:00:13 +00:00
Glenn Maynard b98fa213b5 only used in one place (makes it hard to see exactly where PositionUnderlines itself is used) 2006-01-19 00:42:50 +00:00
Glenn Maynard 0b1ca16baf underline position depends on the focus (in LAYOUT_SHOW_ONE_IN_ROW), so set it after ResetFocusFromSelection 2006-01-19 00:33:48 +00:00
Glenn Maynard f3c94e55c6 cleanup 2006-01-19 00:31:05 +00:00
Glenn Maynard 49b5375af8 Split out ResetFocusFromSelection.
Don't reset m_iChoiceInRowWithFocus in ResetFocusFromSelection
for SELECT_MULTIPLE or SELECT_NONE.  That's done by ChoicesChanged.
2006-01-19 00:29:22 +00:00
Glenn Maynard b669b72702 reset m_iChoiceInRowWithFocus in ChoicesChanged 2006-01-19 00:24:51 +00:00
Glenn Maynard c780377085 fix iSelection 2006-01-18 23:41:24 +00:00
Glenn Maynard 127059874e simplify
(this stuff looks like overzealous abstraction, but I think most of it used to
be more complicated code that was moved off into other classes, and the
stubs were left behind)
2006-01-18 23:32:51 +00:00
Glenn Maynard e310fdac0c actor names are set by their parent, not themself 2006-01-18 22:37:06 +00:00
Glenn Maynard 7100fa1d00 PlayerState::Update already calls RebuildPlayerOptionsFromActiveAttacks
as needed.
2006-01-18 22:22:37 +00:00
Glenn Maynard 2bd7dfda9d GameState::Update just calls m_pPlayerState->Update. Do it
directly, so we don't call it redundantly, and so we do the
same for any dummy players.
2006-01-18 22:20:21 +00:00
Glenn Maynard 74404f2b13 This is done by Player::Update(), and we don't change note skins this way anymore. 2006-01-18 22:10:43 +00:00
AJ Kelly 53ed245d24 New Graphics, BGAnimation.ini -> default.xml 2006-01-18 21:18:06 +00:00
Glenn Maynard 97c3d25781 typo 2006-01-18 21:07:25 +00:00
Glenn Maynard 68548ceea9 no longer care about the note skin here 2006-01-18 20:51:28 +00:00
Glenn Maynard 48e9ff0f22 move "first update" stuff into ScreenGameplay::BeginScreen 2006-01-18 20:45:05 +00:00
Glenn Maynard b8ed7366c7 simplify 2006-01-18 20:35:55 +00:00
Glenn Maynard a5bb62352f simplify 2006-01-18 20:34:35 +00:00
Glenn Maynard 481bb0526a simplify 2006-01-18 20:33:17 +00:00