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 |
|
Steve Checkoway
|
b1d08d1f8b
|
This is still a work in progress (although I haven't worked on it in over a month).
|
2006-07-17 00:44:38 +00:00 |
|
Steve Checkoway
|
bd7422ef6e
|
Specialize on aligned loads for sse since misaligned loads are much slower.
|
2006-07-17 00:42:46 +00:00 |
|
Mike Calfin
|
c5635656ef
|
moved score so you can see the whole thing. was covered by "machine record" text
|
2006-07-16 19:18:51 +00:00 |
|
Glenn Maynard
|
6dd06350bd
|
Don't copy code from the fallback theme. It'll be loaded automatically anyway.
|
2006-07-16 19:18:50 +00:00 |
|
Steve Checkoway
|
7be6e20fe3
|
Cleanup.
|
2006-07-16 18:34:56 +00:00 |
|
Jason Felds
|
7135d1fea9
|
Copy and paste of default Branches.lua. If this is redundant for the theme, feel free to delete this file; reverting it will only break things again.
|
2006-07-16 17:18:32 +00:00 |
|
Josh Allen
|
b96481c589
|
Fix compile
NoteData* --> const NoteData&
|
2006-07-16 16:10:00 +00:00 |
|
Jason Felds
|
48f173e985
|
Add labels for key config screen.
|
2006-07-16 08:56:42 +00:00 |
|
Jason Felds
|
dba20674b0
|
Fix warnings.
|
2006-07-16 08:44:12 +00:00 |
|
Steve Checkoway
|
108810fe14
|
No really, cleanup.
|
2006-07-16 07:23:57 +00:00 |
|
Steve Checkoway
|
ba8fb41231
|
Simplify.
|
2006-07-16 07:23:12 +00:00 |
|
Steve Checkoway
|
ad1e7b4afa
|
Cleanup.
|
2006-07-16 07:20:50 +00:00 |
|