Commit Graph

127 Commits

Author SHA1 Message Date
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
Chris Danford cdfb4cff1e add "exportonchange" flag
add support for RefreshRowNames in ROW_LUA
2005-02-22 23:48:17 +00:00
Chris Danford 7d9757621c force same choice for both players when selecting style 2005-02-22 03:13:38 +00:00
Chris Danford b688bff51d add pushing to vectors with any type 2005-02-21 06:51:10 +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 bb1e676460 fix options menu playing music too early 2005-02-20 00:22:37 +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
Glenn Maynard ac1d2de3ea bring back self parameters 2005-02-16 05:26:11 +00:00
Glenn Maynard 073e891589 SetSelections -> SaveSelections, GetSelections -> LoadSelections to avoid
confusion with OptionRow
2005-02-16 04:45:47 +00:00
Glenn Maynard e67d2eee02 zero selections 2005-02-16 04:12:07 +00:00
Glenn Maynard d470fe11fe fix assertion failure: SetSelections and GetSelections (currently) take no
"self" parameter--you can store the table index in an upvalue if you need
it.  (I havn't worked with this enough, yet, to tell which method is better ...)
2005-02-16 03:45:28 +00:00
Glenn Maynard 51d23bb03c fix comments 2005-02-16 03:40:44 +00:00
Chris Danford 98cee78b78 assert on invalid enum strings early 2005-02-14 17:51:57 +00:00
Glenn Maynard 3c65876ed3 Lua interface to creating options menu rows. The code's a little ugly;
cleanups and samples coming in a bit.
2005-02-14 01:42:21 +00:00
Glenn Maynard 33b74d0fc3 simplify 2005-02-14 01:38:57 +00:00
Chris Danford 202170ab53 add "ShowOneInRow" 2005-02-13 18:14:11 +00:00
Glenn Maynard 859ca34079 fix options menu loading every other menu 2005-02-12 09:07:59 +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 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford bab89e1b07 fix underlines showing in ScreenOptionsMenu 2005-01-31 03:32:59 +00:00
Chris Danford b3e9d3aed0 fix options icon names 2005-01-29 22:47:37 +00:00
Chris Danford e273da39c6 replace ScreenMenuJukebox with ScreenOptionsMaster 2005-01-29 21:56:24 +00:00
Chris Danford cd9c48d645 LuaHelpers -> LuaManager 2005-01-24 02:26:55 +00:00
Glenn Maynard f98a51d87e fix player 2 getting wrong player options applied 2005-01-10 13:04:31 +00:00
Glenn Maynard 3c8e26369b Lua should not depend on ThemeManager 2005-01-09 01:31:06 +00:00
Glenn Maynard 317378b028 Init -> InitMenu 2005-01-03 22:20:39 +00:00
Chris Danford 9b457eb241 add aspect ratio pref 2004-12-23 06:50:19 +00:00
Chris Danford 12d556c759 allow multiple, simultaneous prepared screens 2004-12-09 09:41:06 +00:00
Glenn Maynard ed097b0a5d cleanups (working on cleaner ConfOption/Preference integration) 2004-12-07 02:47:21 +00:00
Glenn Maynard d3180e8690 cleanup 2004-12-07 02:42:50 +00:00
Glenn Maynard 7a722d759e simplify 2004-12-05 21:11:51 +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 ab37218c47 rename: ModeChoice -> GameCommand 2004-12-02 06:29:20 +00:00
Chris Danford e1da21f61c Let ActorCommand do the parsing for ModeChoice 2004-12-02 05:56:38 +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 6c855f0c93 "ParsedCommand" -> "ActorCommand" 2004-11-06 20:42:09 +00:00
Chris Danford 2c314df898 HandleParams -> BeginHandleParams 2004-11-06 03:09:29 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Steve Checkoway 27d4678adf Cleanup. Do not use == true or == false. 2004-09-06 21:28:56 +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
Chris Danford ecedac015a fix options screen doesn't correctly import selected trail if only 1 player joined 2004-07-11 02:44:42 +00:00
Glenn Maynard 94d0cba859 RageSounds -> GameSoundManager 2004-07-08 00:10:34 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00