Steve Checkoway
3d83bdf906
Allow one Player to share the NoteField of another Player. Also calculate the distance to the closest note or -1 if no note is close.
2006-07-09 20:20:57 +00:00
Steve Checkoway
04ad8b5a73
Allow NoteField sharing. The semantics of this is simple. In game play, everything but note data is handled by the shared NoteField. Only the NoteData for the field is drawn but it is drawn using the shared NoteField.
2006-07-09 20:19:54 +00:00
Steve Checkoway
a92d8a244d
Remove all notes except for that player's.
2006-07-09 20:15:51 +00:00
Steve Checkoway
4a324be6dd
GetPlayerInfoForInput allows mapping inputs to PlayerInfos rather than just PlayerNumbers to PlayerInfos.
2006-07-09 20:14:06 +00:00
Steve Checkoway
025997d453
Removes all tap notes except for those with PLAYER_INVALID and those matching that player.
2006-07-09 20:11:46 +00:00
Glenn Maynard
e830771ad9
Message_StorageDevicesChanged after UpdateAssignments (usually
...
happens anyway due to message queuing)
2006-07-09 19:53:19 +00:00
Glenn Maynard
580b21d0d3
pass iTimeout
2006-07-09 19:49:14 +00:00
Glenn Maynard
ffb0e0d930
boilerplate
2006-07-09 19:48:10 +00:00
Steve Checkoway
392753bc22
Remove warning. (Adding -prune would have worked equally well.)
2006-07-08 19:35:48 +00:00
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