Commit Graph
20086 Commits
Author SHA1 Message Date
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
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
Glenn Maynard b8923910d5 simplify 2006-01-18 20:31:51 +00:00
Glenn Maynard 70ef38d0b4 cleanup, typo 2006-01-18 20:29:52 +00:00
Glenn Maynard 2b431688d7 const 2006-01-18 19:59:14 +00:00
Glenn Maynard 452644c17f cleanup 2006-01-18 19:58:35 +00:00
Chris Danford 5f8fc893ce fix fill machine stats 2006-01-18 10:09:34 +00:00
Chris Danford cec914461e make string localizable 2006-01-18 10:03:45 +00:00
Steve Checkoway d5cde8a0f7 Cleanup. 2006-01-18 09:44:30 +00:00
Glenn Maynard 852ba5f336 see if this is fixed 2006-01-18 09:27:09 +00:00
Glenn Maynard de00a196d6 set the viewport every frame 2006-01-18 09:18:17 +00:00
Glenn Maynard 4cd44f16dc cleanup 2006-01-18 09:00:09 +00:00
Steve Checkoway 5676e10e33 Attempt to handle the OGL contexts more gracefully. 2006-01-18 08:44:52 +00:00
Glenn Maynard e60c194a69 use standard Out transition 2006-01-18 08:43:40 +00:00
Glenn Maynard a1af44f47f merge special transitions into one 2006-01-18 08:38:40 +00:00
Glenn Maynard fb0cb6b183 fix assertion 2006-01-18 08:03:22 +00:00
Glenn Maynard b014a0589f cleanup 2006-01-18 07:43:17 +00:00
Glenn Maynard 4fdf046cac cleanup 2006-01-18 07:41:44 +00:00
Glenn Maynard e3798432d4 implement OptionRowHandlerListSteps::Reload 2006-01-18 06:44:13 +00:00
Glenn Maynard 6b7b6f5cd7 fix restoring params 2006-01-18 06:14:58 +00:00
Glenn Maynard 7f4b58a2ce cleanup 2006-01-18 05:49:37 +00:00
Glenn Maynard 63c010f94e cleanpu 2006-01-18 05:48:56 +00:00
Glenn Maynard 34b86a2185 reload on BeginScreen 2006-01-18 05:30:29 +00:00
Glenn Maynard 17202a5284 simplify: no need to special case Exit 2006-01-18 04:59:00 +00:00
Glenn Maynard aab0edf1c2 merge dupe code 2006-01-18 04:56:39 +00:00
Glenn Maynard 74e36431b4 move Load functions together 2006-01-18 04:32:40 +00:00
Glenn Maynard 7537e3fd65 use AfterImportOptions 2006-01-18 04:29:25 +00:00
Glenn Maynard 7b4c4643da update underlines in AfterImportOptions 2006-01-18 04:25:52 +00:00
Glenn Maynard 6e7af389e8 nudge more
we assume we have at least one option in SELECT_ONE and tend
to crash if we don't; assert it
2006-01-18 04:19:40 +00:00
Glenn Maynard 40eacaa61d After Reload, don't keep the old focus around; our items
have changed and there's not necessarily any corrolation
between the old and the new.  Connecting those is up to
export/import.  (nudging Reload together with LoadNormal
and AfterImportOptions, the logic duplication is confusing)
2006-01-18 04:12:59 +00:00
Chris Danford 31fdeeb3a1 fix VC6 "ambiguous operator==" 2006-01-18 04:11:46 +00:00
Glenn Maynard 71cb277d84 InitText automatically 2006-01-18 04:10:31 +00:00
Chris Danford cc2558fac6 don't pseudolocalize replacement markers in strings 2006-01-18 04:09:14 +00:00
Glenn Maynard 48aa85bfdb nudge towards LoadNormal 2006-01-18 04:07:35 +00:00