Steve Checkoway
|
077f826afd
|
No need for friend. This only uses the public interface.
|
2006-07-21 08:03:13 +00:00 |
|
Steve Checkoway
|
9f1bb1e16f
|
Simplify.
|
2006-07-21 08:01:28 +00:00 |
|
Steve Checkoway
|
c299a7a4f7
|
GetTapNoteRangeAllTracks() returns an all_tracks_iterator which can be used to iterate over all of the tracks in all of the rows in the range. Also, you can specify a condition on the notes to be returned.
Simplify.
|
2006-07-21 07:59:41 +00:00 |
|
Steve Checkoway
|
28e8e9148e
|
GetTapNoteRangeAllTracks() returns an all_tracks_iterator which can be used to iterate over all of the tracks in all of the rows in the range.
|
2006-07-21 07:58:30 +00:00 |
|
Steve Checkoway
|
e8fc52e540
|
Simplify this.
|
2006-07-21 04:13:31 +00:00 |
|
Steve Checkoway
|
6124d987b1
|
Fix mine avoidance.
|
2006-07-21 04:07:19 +00:00 |
|
AJ Kelly
|
748574744f
|
updated designs
|
2006-07-20 21:57:25 +00:00 |
|
AJ Kelly
|
5dcd6a1fae
|
'Imcoming' -> 'Incoming'
|
2006-07-20 21:21:18 +00:00 |
|
Josh Allen
|
4a10b6efca
|
Mines need to be processed for dance points
|
2006-07-20 18:21:37 +00:00 |
|
Josh Allen
|
a7a2bb2dcc
|
I don't think we are supposed to be incrementing the possible dance points twice.
|
2006-07-20 18:10:29 +00:00 |
|
Steve Checkoway
|
df915a60ca
|
Show judgments for all players. (They currently overlap but I think that's just metrics.)
|
2006-07-20 08:51:59 +00:00 |
|
Steve Checkoway
|
66012f7a35
|
Cleanup.
|
2006-07-20 08:50:16 +00:00 |
|
Steve Checkoway
|
eb344e593b
|
Fix ghost arrow flashes for the other players with combined note fields.
|
2006-07-20 08:42:47 +00:00 |
|
Steve Checkoway
|
93d8db14c7
|
Fix mines. Now they explode again.
|
2006-07-20 08:15:10 +00:00 |
|
Steve Checkoway
|
705d929106
|
Handle avoided mines. Hit mines are still broken.
|
2006-07-20 07:31:39 +00:00 |
|
Steve Checkoway
|
8292201ad6
|
Step scores are now handled during Update so make sure all Steps happen in Update before we check the rows so that we don't have to wait for the next frame.
|
2006-07-20 07:16:06 +00:00 |
|
Steve Checkoway
|
232a3c10b0
|
Nudge these together.
|
2006-07-20 06:42:25 +00:00 |
|
Steve Checkoway
|
b38a2797ea
|
ScreenDemonstration falls back on ScreenJukebox. Set these for ScreenJukebox so that after the song, it just fades out and then the next one fades in.
|
2006-07-20 04:54:33 +00:00 |
|
Glenn Maynard
|
e056c49828
|
unused
|
2006-07-20 04:42:00 +00:00 |
|
Steve Checkoway
|
61624d6539
|
This is handled by ScreenJukebox.
|
2006-07-20 04:36:15 +00:00 |
|
Chris Danford
|
3458ade8eb
|
add [ScreenOptionsManage] abstract
|
2006-07-20 04:24:29 +00:00 |
|
Chris Danford
|
2c08a9f3c2
|
add missing
|
2006-07-20 04:23:51 +00:00 |
|
Chris Danford
|
cd739d387c
|
make binary, not ascii
|
2006-07-20 04:00:43 +00:00 |
|
Chris Danford
|
3b20263ca1
|
make binary, not ascii
|
2006-07-20 04:00:42 +00:00 |
|
Steve Checkoway
|
b8ab1f7393
|
Fix possible crash if Player accesses the NoteData in it's dtor and the Player is a PlayerPlus. Now just treat PlayerPlus as a smart pointer to a Player with the added Load( const NoteData& ) member function. This is only a connivence class anyway.
|
2006-07-20 02:19:03 +00:00 |
|
Steve Checkoway
|
29e6e796ba
|
Simplify and speed up loading (very very slightly). It would be fastest to add all BPM/stop segments to the array and then sort it once (n log n). It was sorting after every insertion (n^2 log n). This now does simple insertion sort so it's n^2 in the worst case but since upper_bound does a binary search, if the BPM segments are in order this will take n log n in the best case.
That said, you'll notice no difference unless you had thousands of BPM changes in a file.
|
2006-07-20 01:56:17 +00:00 |
|
Steve Checkoway
|
4f4e034af1
|
Ignore invalid BPM changes. No more nonpositive BPMs.
|
2006-07-20 01:46:01 +00:00 |
|
Ben Anderson
|
659a2b8dcf
|
Add ScoreKeeper. I really gotta stay on top of this...
|
2006-07-19 05:32:01 +00:00 |
|
Ben Anderson
|
78500ad3bf
|
Roar! I thought I comitted this!
remove libresample
|
2006-07-18 23:36:59 +00:00 |
|
Steve Checkoway
|
a07e194cf1
|
Revert. Fixes Linux build.
|
2006-07-18 05:51:37 +00:00 |
|
Steve Checkoway
|
61739160fe
|
Handle the new clock api "correctly." At least differentiate CLOCK_MONOTONIC and CLOCK_REALTIME. Mac OS X uses the former for timers and is forced to use the latter for the pthread functions.
|
2006-07-18 04:39:30 +00:00 |
|
Steve Checkoway
|
df4d41da4a
|
Simplify. GetMicrosecondsSinceStart need not actually be set to the beginning of SM. That's handled elsewhere.
|
2006-07-18 04:19:25 +00:00 |
|
Jason Felds
|
11cff15f6f
|
Fix VC8 macro redef warning. (DONE!)
|
2006-07-18 03:58:34 +00:00 |
|
Steve Checkoway
|
bea4177222
|
Remove unneeded assert.
|
2006-07-18 03:57:31 +00:00 |
|
Jason Felds
|
366c3440d4
|
Fix VC8 macro redef warning. (more to come)
|
2006-07-18 03:56:37 +00:00 |
|
Steve Checkoway
|
4f8049377b
|
The default ctor gets the time. Avoid that since we're setting it to the value of the timeval.
|
2006-07-18 03:53:21 +00:00 |
|
Steve Checkoway
|
fbbdc5657a
|
Fix warning (although I think the compiler should really be able to figure this one out on its own).
|
2006-07-18 02:29:10 +00:00 |
|
Steve Checkoway
|
4efb7c4078
|
Fix misses count twice. Do not assume that rows are judged in order. Do not judge a row more than once. The JudgedRows class acts like an array of bools (more or less), one per note row but is implemented as a circular buffer (more or less). Note that m_JudgedRows[i] will only return false one time. After that, it is assumed to have been judged.
|
2006-07-18 00:26:37 +00:00 |
|
Jason Felds
|
9798712912
|
Tidying.
|
2006-07-17 22:36:15 +00:00 |
|
Jason Felds
|
35b3b19280
|
Minor touch-ups.
|
2006-07-17 19:11:14 +00:00 |
|
Jason Felds
|
4e92c6c77d
|
Add syntax warning.
|
2006-07-17 18:32:21 +00:00 |
|
Steve Checkoway
|
79f3d0b76e
|
foo* bar -> foo *bar.
|
2006-07-17 03:01:49 +00:00 |
|
Steve Checkoway
|
00878e4ef9
|
Const.
|
2006-07-17 02:59:57 +00:00 |
|
Steve Checkoway
|
649cb46a15
|
Unused.
|
2006-07-17 02:59:35 +00:00 |
|
Steve Checkoway
|
8db5d63e1e
|
This is almost completely a ScoreKeeperNormal now. Perhaps this should be put in SKNormal and this calls can be removed.
|
2006-07-17 01:03:30 +00:00 |
|
Steve Checkoway
|
58847ff1b9
|
Use one ScoreKeeper per Player (as is normal) but share master player's NoteData with the other Players. Note that this means that multiple Players may be updating the same NoteData. This should not matter as the Player should only deal with notes it owns.
|
2006-07-17 01:02:31 +00:00 |
|
Steve Checkoway
|
8ab760a346
|
Put the NoteData into the PlayerInfo and use that for constructing Players. Use the Player's (new) interface GetNoteData() for everything except for loading where ScreenGameplay needs to actually modify the NoteData so do it directly via the PlayerInfo.
|
2006-07-17 00:58:33 +00:00 |
|
Steve Checkoway
|
8502fc3083
|
Use PlayerPlus (a Player plus a NoteData, this gives the old behavior of Player, i.e. calling Load( nd )).
|
2006-07-17 00:56:23 +00:00 |
|
Steve Checkoway
|
d46ec7136e
|
Pass in a PlayerNumber as well.
(This breaks other code, commits coming.)
|
2006-07-17 00:54:46 +00:00 |
|
Steve Checkoway
|
807e24827c
|
Keep a (nonconst) reference to a NoteData rather than owning the NoteData. Replace calls to Load( nd ) by making the changes to the underlying NoteData and calling Load().
(This breaks other code, commits coming.)
|
2006-07-17 00:54:19 +00:00 |
|