Commit Graph
19536 Commits
Author SHA1 Message Date
Chris Danford 65aff05a13 fix compile 2006-01-20 08:33:27 +00:00
Chris Danford 0d072f52f0 add header row to CSV 2006-01-20 08:31:49 +00:00
Glenn Maynard 409bc25090 simplify, use GetNextScreen 2006-01-20 06:41:15 +00:00
Glenn Maynard f1f76f4c75 unused 2006-01-20 06:35:51 +00:00
Glenn Maynard f3d3100d36 cleanup 2006-01-20 06:30:13 +00:00
Glenn Maynard a0d32887b4 unused 2006-01-20 06:27:06 +00:00
Glenn Maynard 02bae15b84 add interp() 2006-01-20 06:21:07 +00:00
Glenn Maynard e39f1499e2 cleanup 2006-01-20 06:07:37 +00:00
Glenn Maynard aeee577a35 cleanup 2006-01-20 05:14:31 +00:00
Glenn Maynard b11705de07 When we get D3DERR_DEVICENOTRESET, we should go back to the mode
we were in when we lost the device, not do a complete mode search
from scratch.  This fixes a dependency on the behavior of storing
the last successful mode change back into PREFSMAN.  (This is
D3D's equivalent to the WM_ACTIVATE -> ChangeDisplaySettings code
in GraphicsWindow.)
2006-01-20 00:16:26 +00:00
Glenn Maynard 626427c00c clear g_TexResourceToPaletteIndex in SetD3DParams 2006-01-19 23:59:17 +00:00
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