Commit Graph

55 Commits

Author SHA1 Message Date
Chris Danford 3db3500226 remove size on statc CString arrays so that XToString can catch size differences 2005-05-05 19:55:04 +00:00
Chris Danford 1f76af4df2 tracking down assert on SPlayerOptions 2005-04-25 07:02:33 +00:00
Glenn Maynard 37b3705ffa fix OneChoiceForAllPlayers options not being imported when only p2 is active 2005-04-19 03:30:30 +00:00
Glenn Maynard f0b50dd5b9 Put everything in OptionRow inside a frame, and use the frame to tween
Y, to fix smooth scrolling.
2005-04-16 23:19:06 +00:00
Glenn Maynard 8ae469b03a PositionUnderlines uses P1's selection in bOneChoiceForAllPlayers, so we need to set P1's selection in SetOneSharedSelection even if disabled. 2005-04-14 06:53:36 +00:00
Chris Danford 134cdb4451 fix skip when changing value in row:
broadcast the row export only once - not for each player
disable export/import on reload - nothing uses it yet
2005-04-03 06:21:02 +00:00
Chris Danford 61a5f51344 fix new Screens get created 3x after the last GameCommand change
remove complicated GetAndEraseScreen logic and export SELECT_NONE rows if they have focus, otherwise don't export them (fixes InsertCoin row)
2005-03-30 03:29:35 +00:00
Chris Danford 30ec0cdb7d remove ShowUnderlines. Use SELECT_NONE to not show underlines 2005-03-30 02:37:19 +00:00
Charles Lohr 424b831b9a Fix: change operand order to utilize VC 6 hack 2005-03-25 22:46:12 +00:00
Chris Danford c2a776661d add OnCommand for Items and Icons 2005-03-25 04:14:49 +00:00
Steve Checkoway ae02033893 Fix warnings. 2005-03-23 21:04:40 +00:00
Glenn Maynard fda710a858 fix crash for real this time? (thought this was the first thing I tried ...) 2005-03-23 01:17:40 +00:00
Glenn Maynard 896c5dad55 fix fitness menu crash 2005-03-22 05:26:51 +00:00
Chris Danford 9dff2c6308 fix AV if 0 choices in row 2005-03-21 03:02:00 +00:00
Chris Danford 54e838a328 always theme the exit row 2005-03-21 00:53:55 +00:00
Chris Danford e49c74a2c8 Always theme the NEXT_ROW item 2005-03-21 00:19:34 +00:00
Chris Danford 2f4d814a64 allow dynamically generated rows to override theming
remove unused EditAction row type
2005-03-20 23:40:26 +00:00
Chris Danford 427253a4f0 fix cursor graphics loaded instead of underline 2005-03-20 23:12:29 +00:00
Chris Danford 3ecb0aa4a9 fix use of uninitialized metric 2005-03-20 22:29:20 +00:00
Chris Danford 724ccf0179 move theming of title text from ScreenOptions to OptionRow 2005-03-20 22:17:57 +00:00
Chris Danford b73448d410 move item theming from ScreenOptionsMaster to OptionRow so MiniMenu and other options screens can be themed 2005-03-20 20:16:32 +00:00
Chris Danford bbadc010f4 Implement ScreenMiniMenu with ScreenOptions 2005-03-20 06:41:56 +00:00
Chris Danford 0ab7c031bc position underlines per-player 2005-03-13 02:15:38 +00:00
Chris Danford 4b824bbe47 export and import separately for each player 2005-03-13 00:59:03 +00:00
Glenn Maynard 295bb05566 better asserts
tolerate a list not importing any options (eg. Fail30Misses selected but
not available)
2005-03-11 02:01:55 +00:00
Chris Danford 9cb560ae03 fix AV when change on SHOW_ONE and only P2 joined 2005-03-08 20:34:08 +00:00
Chris Danford 1b9f3b5a61 re-enable VerifySelected assert 2005-03-08 17:53:16 +00:00
Chris Danford b60d135493 don't allow StringToX for *_INVALID values 2005-03-05 21:50:33 +00:00
Chris Danford 8814b28189 fix bogus assert 2005-03-01 01:14:20 +00:00
Chris Danford 0ee7ec2289 fix VC6 error 2005-02-27 09:58:34 +00:00
Chris Danford 3c049c100d fix next screen logic 2005-02-26 23:50:24 +00:00
Chris Danford 30366ba8f0 name exit row so it can have an explanation 2005-02-26 20:59:18 +00:00
Chris Danford 0b17b74349 fix ASSERT on exit row 2005-02-26 12:55:51 +00:00
Chris Danford b254f10785 hide title and bullet of disabled rows 2005-02-26 11:40:03 +00:00
Chris Danford 0bcaeb0c43 cleanup
row reload fixes
2005-02-26 11:19:19 +00:00
Chris Danford 32fc206f48 have OptionRow save focus state for easier reloading 2005-02-26 09:42:36 +00:00
Chris Danford a288ff8b6e changed passed in values to be metrics
fix problems setting vbSelected on Reload
2005-02-25 19:26:05 +00:00
Chris Danford 03e3ba7609 move Font load for item length testing inside of OptionsRow 2005-02-25 16:52:33 +00:00
Chris Danford d004d5cbfa move many metrics into OptionRow for easier reloading 2005-02-25 16:48:54 +00:00
Chris Danford b923311e00 fix OptionRow doesn't unsubscribe to Messages 2005-02-25 06:04:31 +00:00
Chris Danford 6249b18702 move bFirstRowGoesDown logic into OptionRow
fix deleted OptionRowHanlder used in in ~OptionRow
move options importing/exporting into OptionRow so that OptionRow can refresh itself in response to a Message
2005-02-25 05:45:16 +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 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 f3783a3d1b fix tweening of LAYOUT_SHOW_ONE_IN_ROW 2005-02-24 07:12:43 +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 3ebe89a76b fix VC7 warning 2005-02-22 03:14:54 +00:00
Chris Danford 9614e2507c hide underlines of hidden rows (for real this time) 2005-02-21 20:36:07 +00:00
Chris Danford 31951e4120 hide underlines of hidden rows 2005-02-21 20:23:34 +00:00
Chris Danford 5c7b8314f4 allow hiding of option rows based on the value of other rows 2005-02-20 10:12:50 +00:00
Chris Danford 36b325a295 cleanup: move code from ScreenOptions into OptionRow 2005-02-19 19:17:28 +00:00