Commit Graph
21376 Commits
Author SHA1 Message Date
Chris Danford 1a902b3abd add pref for showing autoplay status 2006-07-08 09:05:44 +00:00
Chris Danford 9899308409 add pref for showing autoplay status 2006-07-08 08:32:54 +00:00
Steve Checkoway 9c045e6eb9 Comment. 2006-07-08 08:05:14 +00:00
Steve Checkoway d2429cb63b Fix standard deviation calculation. This could probably be done using accumulate, multiplies, minus, bind2nd, distance, and compose2, but that's probably less clear.
Something like
float fMean = calc_mean( pStart, pEnd );
return sqrtf( accumulate(pStart, pEnd, 0.0f, compose2(multiplies<float>(), bind2nd(minus<float>(), fMean), bind2nd(minus<float>(), fMean))) / distance(pStart, pEnd) );
These are easily templated too, if necessary.
2006-07-08 07:49:42 +00:00
Steve Checkoway 8c9577ffe9 Unneeded. Vectors are a type of EqualityComparable.
http://www.sgi.com/tech/stl/EqualityComparable.html
If a particular implementation of the stl isn't c++98 compliant, a global
template<typename T>
bool operator==( const vector<T> &a, const vector<T> &b)
can be written (and operator!= of course).
2006-07-08 07:10:13 +00:00
Steve Checkoway a942c021c7 Cleanup. 2006-07-08 07:07:50 +00:00
Steve Checkoway f66cb8c03c Simplify. Vectors are a type of EqualityComparable.
http://www.sgi.com/tech/stl/EqualityComparable.html
2006-07-08 07:07:37 +00:00
Steve Checkoway 6a67028283 Simplify and fix comment to reflect what's actually happening. 2006-07-08 06:43:18 +00:00
Steve Checkoway f7dd1a9a87 Cleanup. 2006-07-08 06:37:40 +00:00
Steve Checkoway 5afc2c41b9 Oops, readded removed comments. (No more coding while sick for me tonight, probably.) 2006-07-08 06:15:26 +00:00
Steve Checkoway 4130874a41 Disallow nonpositive tick counts and negative difficulties. (I'm not sure if the latter should be positive or merely nonnegative.) 2006-07-08 06:07:54 +00:00
Steve Checkoway 5774a0a70d Cleanup. 2006-07-08 06:00:37 +00:00
Jason Felds e1547e4bac Added alternate name for DIFFICULTY_EASY to account for recent arcade mixes. 2006-07-08 05:25:56 +00:00
Steve Checkoway 46611abb9a Don't crash on invalid ksf files.
00...
40...
00...
becomes
00...
10...
00...
2006-07-08 00:58:43 +00:00
Jason Felds f6d496c5cc Recognize STARTTIME2 and STARTTIME3 as legal tags: no need to LOG->Trace them. 2006-07-08 00:38:15 +00:00
Steve Checkoway fa4b293f83 Simplify. 2006-07-07 19:42:28 +00:00
Steve Checkoway 161aa4a035 cleanup 2006-07-07 19:34:51 +00:00
Glenn Maynard fce700c034 const 2006-07-07 18:46:08 +00:00
Glenn Maynard 7f463daafe remove experimental TotalError 2006-07-07 18:45:15 +00:00
Josh Allen 6b15224690 protocol update 2006-07-06 19:01:08 +00:00
Josh Allen de3be4c483 Updated to allow for sending of mine data. Also increment protocol version. 2006-07-06 17:55:44 +00:00
Josh Allen 6c80e0fa5a Send mine data to the server. 2006-07-06 17:53:49 +00:00
Chris Danford ca8a477158 add ValidateCourseSortOrder 2006-07-06 01:11:37 +00:00
Chris Danford 4adbb6e70b add PG Impact USB pad 2006-07-06 01:10:49 +00:00
Steve Checkoway e73050e6a3 Cleanup. 2006-07-05 23:18:20 +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
Steve Checkoway 9a24232ec3 Cleanup. 2006-07-05 21:52:08 +00:00
Glenn Maynard 934b3f25c1 fix input check 2006-07-05 16:05:22 +00:00
Glenn Maynard 5cd1a60711 custom formatting. Use 'Format=FormatPercentScore' to use the old behavior. 2006-07-05 03:18:26 +00:00
Glenn Maynard 9843feb01f make invalid conf types non-fatal 2006-07-05 02:39:47 +00:00
Steve Checkoway ed46fef871 Dump avcodec version and build info. 2006-07-04 19:27:10 +00:00
Steve Checkoway cfebcf7b90 Case. 2006-07-04 18:42:55 +00:00
Jason Felds 4bcdcffc27 PaneDisplay fix on SelectScreenCourse 2006-07-04 06:53:35 +00:00
Steve Checkoway 6f27069ac0 Simplify. 2006-07-03 06:45:14 +00:00
Steve Checkoway 3712277c6a CancelStage when backing out of ScreenStage. This fixes backing out of final stage early goes to extra stage and backing out of extra stage early goes to extra stage 2. 2006-07-03 06:18:18 +00:00
Steve Checkoway e620035b29 Make min stay alive during sudden death themeable. 2006-07-03 04:31:58 +00:00
Steve Checkoway ea1ec405e5 Make the minimum score to stay alive be themeable. 2006-07-03 04:30:20 +00:00
Steve Checkoway 227d2d1575 Add StringTo<TapNoteScore>. (Normally this would be part of the StringToX macro. 2006-07-03 04:29:41 +00:00
Steve Checkoway 16a1301fae Cleanup. 2006-07-03 04:05:32 +00:00
Steve Checkoway fae99b18f1 Fix getting another extra stage if pick extra stage is on and you play the chosen song. 2006-07-03 03:46:34 +00:00
Chris Danford 380f97f903 fix course entry sorting 2006-07-03 00:05:13 +00:00
Chris Danford d743fc5a65 add CourseNameValidation 2006-07-03 00:04:44 +00:00
Chris Danford 66d25f70ec AccumStageStats -> AccumPlayedStageStats 2006-07-03 00:04:30 +00:00
Steve Checkoway 14b91aea37 Don't add random entries (pSong = NULL) to vSongs. Assert that pSong is never NULL. 2006-07-02 22:02:59 +00:00
Jason Felds d3c12feb91 ScreenSelectCourse fix. 2006-07-02 18:50:04 +00:00
Chris Danford 97d28100ae use SongCriteria and StepsCriteria to resolve songs for Trail 2006-07-02 06:04:53 +00:00
Chris Danford c2e8e70cf7 fix null deref if song set and steps not set in GetCurrentCreditsText 2006-07-02 06:03:48 +00:00
Chris Danford a31fd85b1d fix bullet DrawOrder doesn't take effect 2006-07-02 06:00:48 +00:00
Chris Danford 2ed665604f play gainfocus/losefocus on m_sprMore 2006-07-02 05:57:22 +00:00
Chris Danford 9398c8a2b6 VC6 compile fix 2006-07-02 05:21:59 +00:00