Steve Checkoway
161aa4a035
cleanup
2006-07-07 19:34:51 +00:00
Glenn Maynard
7f463daafe
remove experimental TotalError
2006-07-07 18:45:15 +00:00
Steve Checkoway
af860e6ccc
Fix parameter. This worked before because it was being called with an argument of l.
2006-07-05 21:53:12 +00:00
Chris Danford
66d25f70ec
AccumStageStats -> AccumPlayedStageStats
2006-07-03 00:04:30 +00:00
Steve Checkoway
80698277cf
Don't use rand()%n. The function specified by the ANSI committee is a terrible linear congruential generator. In fact, it's so bad that the low order bit alternates. The algorithm implemented as RandomFloat() seems to be Park and Miller's "minimum standard" generator which is better (but not great). [See Knuth for more information.]
...
Any place where you would use rand()%n, use RandomInt(0, n) instead.
2006-06-26 12:14:30 +00:00
Chris Danford
ede57d64ad
add GetNumSelectableAndUnlockedSongs, add GetMD5ForString
2006-05-16 00:47:02 +00:00
Chris Danford
370d11ee19
theme -> localize
2006-01-29 22:17:54 +00:00
Chris Danford
3ced24bd13
tabs cleanup
2006-01-27 21:31:56 +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
470c909ec6
Transition away from Screen(sName).
2006-01-15 18:54:03 +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
Glenn Maynard
b734b602d2
force TypeName arrays for XToString to be an array of const char*, not CString
2006-01-04 22:30:51 +00:00
Chris Danford
0b98adff15
make RadarCategory enum and Lua names consistent
2005-12-24 20:18:56 +00:00
Chris Danford
800158e185
move floating globals into a namespace
2005-12-02 01:16:28 +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
b4ad9ee7af
unused. Do this in XML.
2005-10-17 01:02:09 +00:00
Glenn Maynard
e6bd6ccb5d
do this in metrics
2005-10-17 00:53:19 +00:00
Glenn Maynard
d2768dfe7e
cleanup
2005-10-17 00:50:06 +00:00
Glenn Maynard
0895f07f48
simplify: StartTransitioningScreen calls TweenOffScreen
2005-10-13 22:48:22 +00:00
Glenn Maynard
2a7addfe83
fix metric
2005-10-13 22:45:24 +00:00
Glenn Maynard
c83a8a676e
All of these conditionals surround a call that we're making right above anyway; remove.
2005-10-13 22:35:20 +00:00
Glenn Maynard
dfc67cd84d
ScreenWithMenuElements::StartTransitioning -> StartTransitioningScreen, to make searching
...
for it easier (vs. Transition::StartTransitioning). (Trying to simplify tweening; this
may go back later.)
2005-10-13 22:17:13 +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
32464990af
enum name cleanup to reflect the generic calculations
2005-10-08 04:50:28 +00:00
Chris Danford
0f07808ecc
Use generic names for score values since they are treated genericly by the code.
...
Theme changes coming...
2005-10-08 02:10:32 +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
Chris Danford
b6cf3477b4
Use generic names for TapNoteScore values since they are treated genericly by the code.
...
Theme changes coming...
2005-10-08 00:57:40 +00:00
Chris Danford
b390717cf0
fix compile error (accidental keyboard hit)
2005-10-02 20:01:53 +00:00
Chris Danford
8863adb31a
fix wrong song number displayed in nonstop if one player fails and the other doesn't
2005-10-02 19:58:40 +00:00
Chris Danford
fa2a5bddc3
Don't give awards if GaveUp or UsedAutoplay
...
Move bGaveUp into StageStats. It's not really a per-player value.
2005-10-01 00:18:13 +00:00
Glenn Maynard
d3ecba30a0
cleanup test
2005-09-26 19:08:45 +00:00
Glenn Maynard
27017e01dc
simplify: Type -> Summary, pick stage or course appropriately
2005-09-11 04:12:50 +00:00
Glenn Maynard
887d9eacbc
reduce dependency on m_Type
2005-09-11 03:15:22 +00:00
Glenn Maynard
97fb44e183
reduce dependency on m_Type
2005-09-11 03:14:06 +00:00
Glenn Maynard
32fe33d9a4
remove (briefly) deprecated
2005-09-11 02:11:52 +00:00
Glenn Maynard
06f8a933cb
ScreenWithMenuElements::Init later
2005-09-11 02:10:33 +00:00
Glenn Maynard
4edd0c6eb1
transitioning to accessing these directly
2005-09-11 01:50:12 +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
3657d71e04
calc grade after CommitScores
2005-09-11 01:25:58 +00:00
Glenn Maynard
85d6e5e22e
move Grade back out. It's just a cache of GetGrade.
2005-09-11 01:24:28 +00:00
Glenn Maynard
74c9d0058a
simplify
2005-09-11 01:10:48 +00:00
Glenn Maynard
d66d27ac70
check fail after GetFinalEvalStageStats
2005-09-11 01:03:28 +00:00
Glenn Maynard
4cc59e4792
simplify: on summary eval, m_CurStageStats is the summary
2005-09-11 01:02:53 +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