Commit Graph

194 Commits

Author SHA1 Message Date
Andrew Livy 8279b02d8a Fixed a mistake in previous commit. 2009-04-29 21:11:54 +00:00
Andrew Livy 12c7a14dfe Makes sure MenuTimer triggers start correctly if using Double Press on a ScreenSelect. 2009-04-29 20:59:03 +00:00
Andrew Livy d003f04275 Add simple double-tap confirmation functionality to ScreenSelect menus. 2009-04-27 18:26:24 +00:00
Chris Danford 167a061b3e fix LockInputSecs not being set correctly, and pressing Start early would choose without starting SM_GoToNextScreen 2009-04-04 17:45:07 +00:00
Chris Danford 8257edc12b clean up duplicated code 2008-11-24 04:51:00 +00:00
Chris Danford b741bb4189 remove GenericTweenOn/Off - always play 'On'/'Off' on the Screen 2008-11-24 04:44:12 +00:00
Chris Danford 11e182166d cleanup: use LuaThreadVariable 2008-02-15 10:08:58 +00:00
Chris Danford cbe1bed2d9 add OldPageIndex and NewPageIndex to *SwitchPage messages 2007-11-21 09:38:13 +00:00
Chris Danford 45a225917f fix title menu nav 2007-06-18 10:53:37 +00:00
Chris Danford 2019db103e restore logic that was lost in previous changes:
Set the new m_iChoice even for disabled players, since a player might join on a SHARED_SELECTION after the cursor has been moved.
2007-06-11 19:18:13 +00:00
Chris Danford 244a639e06 temporary revert: LOAD_ALL_COMMANDS -> LOAD_ALL_COMMANDS_AND_SET_XY 2007-06-10 22:29:47 +00:00
Steve Checkoway ca65ebdd63 static 2007-06-09 23:52:10 +00:00
Steve Checkoway 12bad2d6ca Run Choose even if not the first player to choose. 2007-06-09 23:45:07 +00:00
Steve Checkoway bfefade4f3 -Move player input together on the second page (this will probably be changed to an option for the metrics).
-Play (Gain|Lose)Focus on the icon only when the first player moves onto it/last player moves off of it. This doesn't work correctly when switching pages.
-Move the cursor at the beginning of switching page so that it can begin to animate along with the rest of the elements. This requires knowing where it is going so use the destination x and y of the corresponding icons.
2007-06-09 23:33:45 +00:00
Steve Checkoway e23f090f60 Run OnCommand on everything, the hidden actors remain hidden. 2007-06-09 22:00:48 +00:00
Steve Checkoway b9cdcc3e7b Simplify. 2007-06-09 21:56:16 +00:00
Steve Checkoway 8c31e4126e If not shared selection, load everything in init. Don't SET_XY, just do that all in OnCommand. 2007-06-09 21:49:51 +00:00
Steve Checkoway 9ef3b2b838 Load the commands and set xy. The metrics can handle keeping the second page off screen. 2007-06-09 21:08:27 +00:00
Steve Checkoway 2477d97e88 NUM_PAGES -> NUM_Page 2007-06-09 20:54:28 +00:00
Glenn Maynard 499d4e3c8f var, not global 2007-05-27 19:09:18 +00:00
Glenn Maynard e244e09369 fix crash 2007-05-04 04:55:55 +00:00
Glenn Maynard 695b465c58 load commands 2007-05-04 04:52:31 +00:00
Glenn Maynard 0f97236cb0 ON_COMMAND->PlayCommand 2007-05-04 04:45:13 +00:00
Glenn Maynard 5870ec4d09 COMMAND->PlayCommand 2007-05-04 04:42:49 +00:00
Glenn Maynard 499699d226 fix space 2007-05-04 04:40:17 +00:00
Glenn Maynard 86a8eb0412 load commands and set xy on load, not in TweenOnScreen 2007-03-18 00:10:40 +00:00
Chris Danford 599db61b62 Always call LoadAllCommands explicitly.
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Glenn Maynard 2387a4e662 use RageSound::PlayCopy 2007-01-18 08:43:26 +00:00
Glenn Maynard 58065fa455 MenuButton -> GameButton 2007-01-13 03:47:36 +00:00
Glenn Maynard 52009ae6ee I'm not sure what was happening here:
If ALLOW_DISABLED_PLAYER_INPUT is true (only ScreenTitleMenu), then
ScreenSelect::Input doesn't do JoinInput ("the player will be joined
and the user will still be on the title menu").  However,
ScreenSelectMaster::MenuStart does the JoinInput anyway, so this still
happens.

If we want to have main menu options that don't load a screen, this
code path should be refactored a bit, to ask the derived class whether
the selection should also join.  As is, it's just making the JoinInput
path complicated.
2006-11-21 19:28:42 +00:00
Glenn Maynard 8ed8313295 generalize partially 2006-11-17 07:59:31 +00:00
Glenn Maynard ec061bebc3 Message -> MessageID 2006-11-13 22:36:39 +00:00
Steve Checkoway e87789da7c Rename XToString2 to XToString. 2006-10-15 00:09:18 +00:00
Steve Checkoway 04bff6bc1d Use XToString2. 2006-10-15 00:00:22 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Glenn Maynard 4ed3cb5970 Don't pass transform functions through a string metric; read it as
a Lua expression directly.
2006-09-22 03:32:50 +00:00
Steve Checkoway 7dc2867dd2 PlayerNumber -> IEP. 2006-09-15 01:13:39 +00:00
Glenn Maynard 1d3a66e669 remove MenuInput::MakeInvalid 2006-09-14 20:22:42 +00:00
Glenn Maynard ad809ec5fa simplify interface 2006-09-14 08:14:22 +00:00
Glenn Maynard 3fe68d7f7d simplify 2006-09-14 05:18:40 +00:00
Glenn Maynard 754f2edb0f JoinInput(MenuInput ) -> JoinInput(InputEventPlus) 2006-09-14 03:23:17 +00:00
Glenn Maynard c9c88f26c2 input.MenuI.player -> input.pn 2006-09-14 03:18:16 +00:00
Glenn Maynard 47a62d7db6 phase out param 2006-08-16 18:31:00 +00:00
Glenn Maynard 11372f28bf remove param 2006-08-16 18:23:56 +00:00
Glenn Maynard c7a6c80b14 use SetLoop 2006-08-16 18:19:38 +00:00
Chris Danford 29d77f5c8c search songs by a genre list
move MenuDir to SSMaster header
GoalType name cleanup
2006-07-11 06:51:46 +00:00
Glenn Maynard ec91c4030a remove OVERRIDE_LOCK_INPUT_SECONDS, LOCK_INPUT_SECONDS; handle "tiny lock" generally; don't move "lock by tween time" just yet 2006-06-27 23:15:56 +00:00
Glenn Maynard 5795d2b5f6 merge m_fLockInputSecs's 2006-06-27 22:51:43 +00:00
Chris Danford f40015aad9 move MadeChoice to a command played on the screen. Broadcasting it doesn't work if there are prepared screens. 2006-05-26 09:59:56 +00:00
Chris Danford 01f2f3759f fix VC7 warning 2006-05-07 10:02:27 +00:00