Commit Graph

176 Commits

Author SHA1 Message Date
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
Chris Danford 5500d09baa select default language 2006-05-07 09:25:48 +00:00
Chris Danford e052ff7829 add FadingBanner to ScreenUnlockBrowse 2006-03-23 00:16:18 +00:00
Chris Danford ed01c6b9b3 Add UseIconMetrics, for ignoring X, Y, OnCommand, and OffCommand in metrics.ini and using whateve is in xml 2006-01-30 08:12:24 +00:00
Chris Danford b792e48616 add PerChoiceIconElement metric (remove this metric and make it the default eventually) 2006-01-29 22:18:28 +00:00
Chris Danford ceb55bbbb4 add PerChoiceScrollElement metric 2006-01-29 00:27:39 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard 5a3f362f5d load in Init() 2006-01-15 19:29:33 +00:00
Glenn Maynard f6ea595c12 load in Init() 2006-01-15 19:22:17 +00:00
Glenn Maynard 0ff2505831 PlayerNumber(0) -> PLAYER_1 2006-01-15 08:15:27 +00:00
Glenn Maynard ac11ab35ea unused header 2005-12-19 00:31:41 +00:00
Glenn Maynard 42ac54c4a5 pull out SetTransformFromExpression/SetTransformFromHeight, so we don't
have two init functions.

(Now, we only need two special metrics to init an ActorScroller; the rest
can be done by OnCommand.)
2005-12-07 05:43:49 +00:00
Glenn Maynard 32129814b7 Any scroller that has an OnCommand for its parts may want to PositionItems
first, not just ScreenSelectMaster's.  Also, the position set by this depends
on SetNumSubdivisions, which (will be) set by OnCommand, and not set this
early.  So, use PositionItems manually if wanted.
2005-12-07 05:16:11 +00:00
Glenn Maynard aeb830f434 fix OnCommand run twice (m_Scroller propagates it) 2005-12-07 05:08:49 +00:00
Glenn Maynard 4dfdeaacf2 cleanup 2005-12-07 05:01:13 +00:00
Glenn Maynard c5766b32aa simplify Load3. (Most scrollers use one subdivision.) 2005-12-07 04:22:47 +00:00
Glenn Maynard 12ff6ff4da simplify ActorScroller::Load3 2005-12-07 03:53:49 +00:00
Glenn Maynard 5acbca107c cleanup 2005-12-06 03:46:24 +00:00