Commit Graph

31 Commits

Author SHA1 Message Date
Steve Checkoway 4f0c3e36de Don't rely on the trail here since a particular entry might not be in any given trail. Try hard to get the specific st/cd combination, if all else fails, get any valid, non-autogenerated steps.
Also reset the course and trail when anything changes to update overlays.
2006-03-14 08:33:49 +00:00
Chris Danford 8f53aef30b fix warning 2006-03-12 20:03:36 +00:00
Steve Checkoway 233bf29cee Add Secret row to mark course entries as hidden. 2006-03-10 23:55:58 +00:00
Steve Checkoway f40d23227c Fix crash on random entry. Add metric to hide the mods row. 2006-03-10 22:29:05 +00:00
Steve Checkoway 2ff53582a1 Fix crashes when using the second player.
Use the master player number for everything except setting the current trail which needs to be PLAYER_1 because there are different messages for each player's trail changing. Perhaps that should change at some point.
2006-03-04 02:34:01 +00:00
Glenn Maynard 977689ac83 Annoying: allow OptionRowHandlers to specify what they reloaded, and
don't re-create things if we've only changed what's enabled.  Use this
with the Lua interface, by making EnabledForPlayers a function returning
a table instead of a table.
2006-02-27 05:43:39 +00:00
Steve Checkoway 4c836c9da7 Working on course editor. 2006-02-25 09:33:23 +00:00
Glenn Maynard 5995043bf0 Don't play the Start sound in SM_BeginFadingOut. It might
have been triggered by something that just played a sound,
or the screen might want to play a different sound.  It's
not SM_BeginFadingOut's job to play a sound.

(fixes double-start sound when "next screen" options are
selected from context menus in ScreenOptionsManage*)
2006-01-30 05:41:46 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard b52e776f36 remove def param; use m_Def 2006-01-19 03:43:29 +00:00
Glenn Maynard 544733b287 don't have to import both players at once, so AfterImportOptions takes pn 2006-01-19 01:52:18 +00:00
Chris Danford 31fdeeb3a1 fix VC6 "ambiguous operator==" 2006-01-18 04:11:46 +00:00
Glenn Maynard 1f3b71f3b1 move SelectExactlyOne and GetOneSelection into a namespace 2006-01-18 02:00:22 +00:00
Glenn Maynard a3dc5596de OptionRow::Reload doesn't take an OptionRowDefinition.
Implement Reload() explicitly, so we can clearly short-
circuit for static rows.

Fix up ScreenOptionsEditCourseEntry (broken during the
course of things).
2006-01-18 01:34:45 +00:00
Glenn Maynard 34d7ba08ef fix ScreenOptionsEditCourseEntry crash 2006-01-17 23:54:32 +00:00
Glenn Maynard 8fd297bdfc phase out vDefs param 2006-01-17 21:31:50 +00:00
Glenn Maynard 2b9bb0ec44 use OptionRowHandler::m_Def 2006-01-17 21:23:26 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard 2b4c9e4516 Transition away from Screen(sName). 2006-01-15 19:49:02 +00:00
Glenn Maynard c5b71c0631 remove logs (this stuff predates the crash handler and has been copied
and pasted around since)

jesus we have a lot of screens
2006-01-15 08:54:03 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00
Chris Danford 8b8fa8aad3 move CommonMetrics into a namespace so that it's clear where they're coming from when used. 2005-10-27 05:16:19 +00:00
Glenn Maynard 6ea2f37a36 Change MenuUp(pn,type) overrides to MenuUp(IEP), so info like DeviceI.ts is always accessible. 2005-09-23 00:44:52 +00:00
Glenn Maynard cf695ce313 BeginScreen 2005-08-15 02:32:36 +00:00
Glenn Maynard 1e0b236ac4 warnings 2005-08-05 16:18:07 +00:00
Glenn Maynard 60c6cab3f7 work around compiler bug (picks up the wrong "s") 2005-08-05 16:16:18 +00:00
Chris Danford 5e89bb8a4b working on new course edit screens 2005-08-01 05:12:06 +00:00
Chris Danford e3167a82d8 working on new course edit screens 2005-07-30 19:34:23 +00:00
Chris Danford e6df021062 working on new course editor 2005-07-30 04:50:17 +00:00
Chris Danford 93b9cc156a working on course editor 2005-07-29 23:03:43 +00:00
Chris Danford 359d745e67 add course edits, improved course editor 2005-07-29 02:23:02 +00:00