Commit Graph

80 Commits

Author SHA1 Message Date
Glenn Maynard 9b37d8966c LoadInternal doesn't call Init() 2006-01-18 00:09:37 +00:00
Glenn Maynard b1cfe1bb72 unify m_Def.Init 2006-01-18 00:09:11 +00:00
Glenn Maynard 2b172e7f7c Remove defOut param; it's always m_Def. 2006-01-18 00:06:25 +00:00
Glenn Maynard 04a702ea22 cleanup 2006-01-17 23:26:49 +00:00
Glenn Maynard 1e4c5cabe0 add OptionRowHandlerUtil::MakeNull 2006-01-17 20:39:56 +00:00
Glenn Maynard 85d654a306 remove unused parameter; simplify 2006-01-17 20:36:29 +00:00
Glenn Maynard d1126e82b3 fix base not called 2006-01-17 20:19:04 +00:00
Glenn Maynard a629be2800 style 2006-01-17 06:51:22 +00:00
Glenn Maynard b1c4fc168a cleanup 2006-01-16 22:38:53 +00:00
Glenn Maynard 9f50c2aa5f cleanup 2006-01-16 22:22:29 +00:00
Glenn Maynard e23bebcfa3 Init() is only called by Load(); merge calls. Call it before setting m_cmds. 2006-01-15 23:10:50 +00:00
Glenn Maynard 0e4e3aa932 These code paths all call Init() and defOut.Init, including
the fall-through case.  Merge them.  (They're all a little
wrong: they clear m_cmds, which causes a crash later in
ImportOption on the error case, which is what I'm really
trying to fix ...)
2006-01-15 23:03:31 +00:00
Glenn Maynard cb4739ff31 Use ApplyCommitsScreens. This is simpler, and eliminates one of the
few remaining uses of "NEXT_SCREEN" (deviations from the Screen path)
and nonstandard "SM_GoToNextScreen".
2006-01-15 08:04:40 +00:00
Chris Danford 848b2b0909 spacing cleanup 2006-01-09 01:07:02 +00:00
Chris Danford fc18dbd342 make more strings localizable 2006-01-08 18:40:20 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford 00b346939d add OptionRowHandlerGameCommand to cut out unnecessary level of indirection in metrics 2005-12-06 04:25:52 +00:00
Chris Danford 11e5aeb8b9 use | marker for "don't theme this choice" 2005-12-01 19:27:33 +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
Chris Danford e50a401341 move Character stuff out of messy GAMESTATE and into CHARMAN 2005-08-14 12:06:40 +00:00
Chris Danford 7191258c0a clean up enum Message names so that they match the corresponding strings 2005-08-14 07:29:48 +00:00
Chris Danford 23b2cbdd59 Character -> CharacterID
add Character DisplayName
2005-08-14 02:00:27 +00:00
Glenn Maynard 635b6e805a cleanup 2005-07-19 22:47:49 +00:00
Chris Danford 146c505c5a change sprBullet to an AutoActor 2005-07-16 07:01:48 +00:00
Glenn Maynard 6badb0dd8c transitioning m_bEditing -> m_EditMode, IsEditing() 2005-07-14 05:12:56 +00:00
Chris Danford 848d6c89e2 OptionRow: member name cleanup, add focus commands 2005-07-06 06:11:56 +00:00
Chris Danford f0335f486c GROUP_ALL_MUSIC -> GROUP_ALL
use GROUP_ALL as sentinel value in PreferredCourse
2005-06-24 06:06:16 +00:00
Chris Danford 2a6dcba6e8 cleanup:
"GroupName" -> "SongGroup" to make room for CourseGroup
replace checks for "cvs" with a call to StripCvs()
m_Rows -> m_pRows
broadcast on preferred group changes
2005-06-23 08:05:09 +00:00
Glenn Maynard 11c368bf2a use Lua locking 2005-06-16 06:55:34 +00:00
Glenn Maynard 8557623212 move CreateTableFromArrayB and ReadArrayFromTableB into LuaHelpers; L argument first, like Lua functions (it was only at the end because it was an optional parameter) 2005-06-16 05:37:31 +00:00
Glenn Maynard 21c603b186 lua cleanup 2005-06-16 03:00:44 +00:00
Glenn Maynard a88e37e7d6 lua cleanup 2005-06-15 08:26:56 +00:00
Chris Danford 41becb56a4 GetFullDisplayTitle -> GetDisplayFullTitle 2005-05-23 00:38:09 +00:00
Chris Danford f747eb4ab1 fix warnings 2005-05-01 08:05:50 +00:00
Steve Checkoway d724fbe7ec Fix warning. 2005-04-28 17:16:49 +00:00
Glenn Maynard 50917e6e50 fix warning 2005-04-26 10:29:23 +00:00
Chris Danford 1f76af4df2 tracking down assert on SPlayerOptions 2005-04-25 07:02:33 +00:00
Chris Danford c6040055eb hide locked steps 2005-04-24 20:32:03 +00:00
Glenn Maynard 5926618f8c fix warning 2005-04-19 03:31:06 +00:00
Charles Lohr 064fc27c7c Fix: Groups in options shouldn't be themed. 2005-04-11 05:00:31 +00:00
Chris Danford 8f98d3ce66 only broacast once on change, not once per player 2005-04-06 00:47:18 +00:00
Charles Lohr 0d653e0b98 Modify: The code looks better here. 2005-04-05 18:24:15 +00:00
Charles Lohr 433f06efdc Fix: Character selection 2005-04-05 18:18:12 +00:00
Chris Danford 134cdb4451 fix skip when changing value in row:
broadcast the row export only once - not for each player
disable export/import on reload - nothing uses it yet
2005-04-03 06:21:02 +00:00
Glenn Maynard c7155811bd noisy 2005-03-30 09:05:39 +00:00
Chris Danford 61a5f51344 fix new Screens get created 3x after the last GameCommand change
remove complicated GetAndEraseScreen logic and export SELECT_NONE rows if they have focus, otherwise don't export them (fixes InsertCoin row)
2005-03-30 03:29:35 +00:00
Chris Danford f2cb208cd5 add logging 2005-03-29 01:46:00 +00:00
Chris Danford 5d8456e3ea metrics cleaup: Remove duplicated "ToShow" and "ToHide" parsing logic
don't show hidden StepsTypes in EditMenu
2005-03-24 21:44:03 +00:00
Glenn Maynard 42619c8666 allow locking difficulties 2005-03-23 02:26:03 +00:00