Commit Graph
112 Commits
Author SHA1 Message Date
Glenn Maynard d88d9388f8 simplify 2007-04-25 00:30:30 +00:00
Glenn Maynard 5318d0670d Previously, BeginStage was called in SGameplay and FinishStage was called
in each place gameplay exits.  This incremented the stage number in SSM,
and was brittle: FinishStage was sprinkled in many odd places.  Do both
in SGameplay.

This increments the stage number as soon as gameplay ends.  This only
affects evaluation.  Use the stage number from StageStats there, instead
of the current stage, and adjust branches.  During evaluation, the
game is on the upcoming stage and displaying old data for the last
stage, instead of the stage continuing through evaluation.

This also moves a bunch of scoring-related stuff out of SEvaluation,
to the end of gameplay, where it belongs.  Eval is almost const, and things
won't break like they would before if Eval is not used.
2007-04-24 01:35:32 +00:00
Glenn Maynard ee06cb3aa1 m_pStageStats 2007-04-19 15:21:57 +00:00
Glenn Maynard a584f1b5be rename EndScreen; that's a virtual from Screen. Why is there no way
to get a warning when virtual methods are overloaded without specifying
"virtual"?
2007-03-07 22:04:28 +00:00
Glenn Maynard 43ee764fde remove unused DifficultyIcon. Do this in Lua if wanted. 2007-03-03 01:54:46 +00:00
Glenn Maynard 84e9905ae1 remove unused DifficultyMeter. Do this in Lua if wnated. 2007-03-03 01:43:19 +00:00
Glenn Maynard a20ff0e3b6 GenericTweenOn, GenericTweenOff 2006-09-23 03:37:45 +00:00
Steve Checkoway 944a913790 PlayerNumber -> IEP. 2006-09-15 01:47:24 +00:00
Glenn Maynard 7f463daafe remove experimental TotalError 2006-07-07 18:45:15 +00:00
Steve Checkoway 9a24232ec3 Cleanup. 2006-07-05 21:52:08 +00:00
Glenn Maynard 470c909ec6 Transition away from Screen(sName). 2006-01-15 18:54:03 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00
Glenn Maynard b4ad9ee7af unused. Do this in XML. 2005-10-17 01:02:09 +00:00
Glenn Maynard 0895f07f48 simplify: StartTransitioningScreen calls TweenOffScreen 2005-10-13 22:48:22 +00:00
Chris Danford feb1bfb0fc naming cleanup: rename scoring "Tier1"s to "W1"s (short for "Window 1")
add Preference1D so that we can index into the grading and life values
2005-10-09 04:30:59 +00:00
Chris Danford 1ead066956 Use generic names for TapNoteScore values since they are treated genericly by the code.
Theme changes coming...
2005-10-08 02:02:03 +00:00
Glenn Maynard 27017e01dc simplify: Type -> Summary, pick stage or course appropriately 2005-09-11 04:12:50 +00:00
Glenn Maynard 32fe33d9a4 remove (briefly) deprecated 2005-09-11 02:11:52 +00:00
Glenn Maynard 32af6a3b30 remove unused, fix screenshot high score records 2005-09-11 01:48:36 +00:00
Glenn Maynard 64606b3a19 m_StageStats -> STATSMAN->m_CurStageStats 2005-09-11 01:46:55 +00:00
Glenn Maynard 5ce2502b59 Merge StageResults into PlayerStageStats. Move results calc into StageStats.
This makes StageStats touch some stuff that I don't think it should, but it's
an improvement over having all this scoring logic inside a special screen.
2005-09-11 01:44:13 +00:00
Glenn Maynard 74c9d0058a simplify 2005-09-11 01:10:48 +00:00
Glenn Maynard 03f00dd0d2 move awards into PlayerStageStats 2005-09-11 00:48:29 +00:00
Glenn Maynard e3edba2d9d move final grade calc into StageResults 2005-09-11 00:38:16 +00:00
Glenn Maynard d22476ae7d ScreenEvaluation::CommitScores -> StageResults::CommitScores 2005-09-11 00:27:54 +00:00
Glenn Maynard 52087511c7 continue refactoring: split out StageResults::CalcAwards, split loop 2005-09-11 00:18:10 +00:00
Glenn Maynard 69edbcee97 Start refactoring results. Doing this piecemeal, so I can keep track of what
I'm doing.  Pull out CommitScores.  StageResults won't remain in SEval (not
yet sure whether it should be part of PlayerStageStats).
2005-09-11 00:02:22 +00:00
Glenn Maynard 5c7f1346e6 do this stuff with XML 2005-09-08 22:34:18 +00:00
Glenn Maynard 93af28bdf1 remove old (don't care anymore ...) 2005-09-07 23:16:15 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Glenn Maynard 2d5f2e089c play sounds with Sound, not with hardcoded stuff 2005-08-31 23:23:24 +00:00
Glenn Maynard 758bc7980b remove EvalSoundSequence 2005-08-31 22:39:03 +00:00
Glenn Maynard c9b88edeb9 bindings 2005-08-30 04:30:08 +00:00
Glenn Maynard 2542807525 remove m_sprDisqualified 2005-08-30 03:01:23 +00:00
Glenn Maynard 7c9740df17 GraphDisplay with XML 2005-08-29 22:51:35 +00:00
Glenn Maynard eb72cbbab3 do this in the overlay 2005-08-29 01:25:40 +00:00
Glenn Maynard 19a9d79754 expose m_StageStats 2005-08-29 00:46:27 +00:00
Glenn Maynard 50a31993a6 TweenOursOnScreen/TweenOursOffScreen 2005-07-14 22:26:09 +00:00
Glenn Maynard f07f362bcc use SWME's 2005-07-12 19:32:01 +00:00
Glenn Maynard 28133ca105 cleanup 2005-07-07 10:29:04 +00:00
Glenn Maynard 591a7ccace cleanup 2005-07-07 01:49:57 +00:00
Glenn Maynard b2b69e797d cleanup 2005-07-06 07:34:57 +00:00
Chris Danford c36df02254 add rolls to eval and scoring 2005-05-09 06:15:59 +00:00
Chris Danford 2836bc7c81 metrics/element name cleanup 2005-04-27 09:47:22 +00:00
Chris Danford ea59bbfec8 cleanup 2005-03-21 20:14:08 +00:00
Glenn Maynard 778ac6a63d remove m_bgCondBga; none of our themes seem to use it. (If anyone
needed this, post to sm-devs saying what you need to do any I'll explain
how to do it with the newer XML-based system.)
2005-03-18 01:55:03 +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 12fde5d55c move PlayerName texts out of code and into BGAnimations 2005-02-13 01:16:17 +00:00
Glenn Maynard 29b2a6d22f remove m_bgOverlay (duplicates ScreenWithMenuElements::m_sprOverlay) 2005-01-15 18:41:09 +00:00
Glenn Maynard 8cba265a01 Init() 2005-01-03 22:44:19 +00:00