Commit Graph
91 Commits
Author SHA1 Message Date
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 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
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +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
Glenn Maynard e73a167761 fix positioning for hidden items 2005-02-14 01:16:08 +00:00
Chris Danford a4fc150692 Options row labels metrics cleanup 2005-02-13 07:16:30 +00:00
Chris Danford b4327b8daf specify Y for each row 2005-02-13 07:10:35 +00:00
Chris Danford fdad5746e7 change ThemeMetric static-sized arrays to dynamically sized 2005-02-13 06:44:50 +00:00
Chris Danford 93b8ba48b6 Move OptionRow to a separate file
Don't init all BitmapText objects for long rows.  Calculate the row width, then init the text.
2005-02-11 07:50:26 +00:00
Chris Danford 48846d48a4 cache metrics 2005-02-09 08:10:50 +00:00
Chris Danford 17f69e2488 cache 2005-02-02 08:31:15 +00:00
Chris Danford bab89e1b07 fix underlines showing in ScreenOptionsMenu 2005-01-31 03:32:59 +00:00
Chris Danford 58e58f4770 remove frame element. Use ScreenWithMenuElements::Overlay instead 2005-01-08 12:37:21 +00:00
Glenn Maynard 317378b028 Init -> InitMenu 2005-01-03 22:20:39 +00:00
Chris Danford 730787aacb name cleanup: State->Screen 2004-12-05 11:59:39 +00:00
Chris Danford e0b31f5354 add new row type, SELECT_NONE used in operator menu 2004-12-05 11:55:35 +00:00
Glenn Maynard 3819c4695c cleanups 2004-08-12 23:03:01 +00:00
Glenn Maynard 9f87d1b9d5 rename NAV_FIRST_CHOICE_GOES_DOWN -> NAV_TOGGLE_THREE_KEY
add NAV_TOGGLE_FIVE_KEY
in NAV_FIVE_KEY, pressing start only moves to the "exit" row, instead of
going directly to the next screen, so both players have opportunity to change options
2004-08-12 22:10:48 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Chris Danford 6590bd2d48 don't load multiple copies of "common start" or "common invalid" sound 2004-05-01 23:28:53 +00:00
Chris Danford df5cd5e813 move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism 2004-05-01 23:19:33 +00:00
Glenn Maynard 2ada267834 fix music rate display not changing in song options menu 2004-03-31 00:00:08 +00:00
Chris Danford 66b0a47e7d naming cleanup 2004-03-14 18:53:19 +00:00
Chris Danford 4727e5e923 fix "together" row flag 2004-03-14 18:51:03 +00:00
Chris Danford df72631f6c add "disqualify" graphic to options screen for options that make a song easier 2004-03-08 07:49:01 +00:00
Chris Danford 699dcc36a1 on SPO, ignore MenuStart repeats until we get one FirstPressed 2004-02-23 08:33:54 +00:00
Chris Danford 9551afea38 add new nav type NAV_FIRST_CHOICE_GOES_DOWN
ScreenOptionsMaster::ExportOption is broken when using NAV_FIRST_CHOICE_GOES_DOWN.  Fix coming soon.
2004-01-14 04:59:07 +00:00
Glenn Maynard 628fafdcf2 const fix 2004-01-13 07:06:46 +00:00
Chris Danford b1e06653a8 go down if on first choice of a multiselect row 2004-01-12 08:00:57 +00:00
Glenn Maynard 898f394ae8 fix some warnings 2004-01-11 05:47:23 +00:00
Chris Danford ba9959205d add multiselect toggle sounds 2004-01-10 21:34:18 +00:00
Chris Danford 26ef62415e using ParseCommand to parse options row data 2004-01-10 20:43:32 +00:00
Chris Danford 57819b0e80 more work on multiselect 2004-01-10 08:57:08 +00:00
Chris Danford 2cd7370442 ScreenOptions: row data structure allows multiple selections per row 2004-01-10 08:05:20 +00:00
Chris Danford 51ee73d0a1 ScreenOptions: per-choice underlines 2004-01-10 06:57:05 +00:00
Chris Danford e7936d8312 remove MAX_OPTION_LINES, cleanup selection tracking 2004-01-10 05:09:51 +00:00
Chris Danford 3583209f32 Make a OptionRow own its own definition 2004-01-10 04:35:30 +00:00
Glenn Maynard 16a7f84c6c "more" 2004-01-10 03:36:14 +00:00
Glenn Maynard 55cf501397 thanks for ignoring const completely, VC 2004-01-09 10:47:33 +00:00
Glenn Maynard 27fda591a4 Add a separate nav type for the options menu. Pressing left or right
on "EXIT" and having it move off, and having left and right move around
on stray menu entries with only one entry is strange.
2004-01-09 05:50:15 +00:00
Glenn Maynard 99b000129b cleanup "smnavigation" flag
fix left/right act as up/down on options menu
never play change line sound when the option didn't change
2004-01-09 04:43:27 +00:00
Glenn Maynard 35a7bbbe61 general options cleanup 2004-01-09 04:14:13 +00:00
Glenn Maynard 7bf2b66222 clean up some confusing "row m_iNumOptionRows is 'EXIT'" logic 2004-01-09 00:03:33 +00:00
Glenn Maynard a88531bc51 cleanup, hide some implementation 2004-01-08 23:32:14 +00:00
Glenn Maynard e5fe05024a separate frame and per-line highlight 2003-12-19 22:10:06 +00:00
Glenn Maynard 2876292c4f PlayerName 2003-12-18 22:51:43 +00:00
Glenn Maynard b7fbb44cd2 use DualScrollBar 2003-12-18 00:17:04 +00:00
Glenn Maynard 1df2544777 Prelaod sounds. Allow key repeat in optoins menus. 2003-11-25 21:53:56 +00:00
Glenn Maynard 0ea0f145b2 Move explanation texts to the same section, so items can be moved
around without having to edit all translations.
Don't display text in the song options menu.
Allow translating row titles.
2003-11-08 04:25:33 +00:00
Glenn Maynard f810930dab merge duplicate code 2003-11-08 02:46:12 +00:00