Commit Graph

293 Commits

Author SHA1 Message Date
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
Chris Danford 72bd480883 CENTER_* -> SCREEN_CENTER 2004-11-05 06:35:10 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Chris Danford cf9b4af6cb convert ints and casts to use PlayerNumber and macros 2004-08-30 04:35:14 +00:00
Chris Danford 14a9203efa move item end X position to metric 2004-08-29 05:19:45 +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 36fa44b9c0 update comment 2004-08-12 20:49:03 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford 3809715db0 cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven. 2004-06-27 06:52:49 +00:00
Chris Danford 298b19ce9e add metric "CapitalizeAllOptionNames" 2004-06-26 20:00:37 +00:00
Glenn Maynard 7d7305f20e fix glitch when in "ASK" song options mode and start is pressed before
m_In finishes
2004-06-17 07:38:12 +00:00
Steve Checkoway a613d4d9fa s/RAGE_ASSERT/ASSERT/ 2004-06-16 00:38:31 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Glenn Maynard b93d1bfd5e first pass at merging CourseDifficulty into Difficulty
CourseDifficulty names still exist, since it's useful to distinguish them
in command names
2004-06-04 02:05:56 +00:00
Glenn Maynard fd43aec354 assert 2004-06-03 20:28:09 +00:00
Chris Danford 63e47ab251 fix wrong defalt player name shown 2004-05-26 07:16:22 +00:00