Commit Graph

259 Commits

Author SHA1 Message Date
Chris Danford 4b9a4e117b add MaxCourseEntriesBeforeShowVarious so that Artist doesn't scroll through 10s of values and BPM display doesn't display a meaningless range for endless courses 2005-03-10 23:57:53 +00:00
Chris Danford 2957b7939f mystery -> secret 2005-03-10 22:54:55 +00:00
Chris Danford 3c049c100d fix next screen logic 2005-02-26 23:50:24 +00:00
Chris Danford b48a19dd2f fix SeparateExitRow
add ShowExitRow
Allow ScreenOptions to override BeginFadingOut in case they don't want to set a new screen
2005-02-26 21:35:27 +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 b7b45ab4bf split some metrics from ScreenOptions into OptionRow 2005-02-26 00:40:54 +00:00
Chris Danford 2f7e332d6b remove unused bShowUnderlines 2005-02-25 19:36:58 +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 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 2dfb9f148e move bExportOnChange into OptionRowDef from OptionRowHandler 2005-02-24 11:35:31 +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 21f6266517 cleanup 2005-02-23 05:51:10 +00:00
Glenn Maynard 7e6aaf71cb fix warning 2005-02-21 06:29:22 +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
Chris Danford 518638028d cleanup 2005-02-19 01:27:51 +00:00
Chris Danford cf15266d69 fix "force SHOW_ONE" logic 2005-02-15 00:53:40 +00:00
Chris Danford 3ae98fd47a fix ShowOne rows don't obey "capitalize"
There's got to be a cleaner way of doing this.
2005-02-14 18:28:14 +00:00
Chris Danford 93d31aa38a revert to fix selected color 2005-02-14 18:21:58 +00:00
Chris Danford e288aaff7c cleanup 2005-02-14 01:34:49 +00:00
Glenn Maynard e73a167761 fix positioning for hidden items 2005-02-14 01:16:08 +00:00
Chris Danford dae8bf0332 enum name cleanup
fix "CapitalizeAll" not applied if "ShowOneInRow"
2005-02-13 18:15:10 +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 12fde5d55c move PlayerName texts out of code and into BGAnimations 2005-02-13 01:16:17 +00:00
Chris Danford 8476685ade fix metric name 2005-02-12 08:38:43 +00:00
Glenn Maynard ccc31cad7f SelectTypeToString, StringToSelectType, LayoutTypeToString, StringToLayoutType 2005-02-12 05:08:43 +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 6c79849720 hard-coded -> metric 2005-02-09 07:50:30 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +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 a24bd3014c cleanup: "(PlayerNumber)" -> "" 2005-01-31 03:18:46 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford 9102a3e13f use m_sName, not a hard-coded screen name 2005-01-08 12:44:03 +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 d0cece9bea cleanup 2004-12-11 09:14:52 +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
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00