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
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
Steve Checkoway
7be6e20fe3
Cleanup.
2006-07-16 18:34:56 +00:00
Josh Allen
b96481c589
Fix compile
...
NoteData* --> const NoteData&
2006-07-16 16:10:00 +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
Steve Checkoway
e1572442b3
cleanup
2006-07-16 03:14:26 +00:00
Steve Checkoway
90e9d6d57c
Don't clamp to 3 seconds.
2006-07-16 03:14:03 +00:00
Thad Ward
c86dc1d197
fix the messed up pre-build commands. I wish VC6 didn't continually add spaces
...
to these commands.
2006-07-15 23:32:19 +00:00
Glenn Maynard
abf1fcec37
remove unused
2006-07-15 01:53:58 +00:00
Glenn Maynard
d7336ec0b6
cleanup, fix, comment
2006-07-15 01:09:15 +00:00
Glenn Maynard
0d678f4e4e
cleanup. (current logic works well enough)
2006-07-15 00:41:35 +00:00
Steve Checkoway
6ee71e464b
It looks strange having the Background menu items have no text so add some defaults.
2006-07-14 22:00:12 +00:00
Steve Checkoway
84c50ccfdb
Cleanup.
2006-07-14 21:39:08 +00:00
Steve Checkoway
b8a3a8b0f0
Oops.
2006-07-14 21:34:17 +00:00
Steve Checkoway
39b27416b6
Don't theme file names.
2006-07-14 21:33:08 +00:00
Steve Checkoway
d873b24bfc
Resize the answers during load menu. Fixes the crash in ScreenEdit when 'b' is pressed.
2006-07-14 21:27:18 +00:00
Steve Checkoway
bf5deb1ee3
Add ScoreKeeper.cpp
2006-07-14 21:03:55 +00:00
Jason Felds
823e4375c9
Add ScoreKeeperShared.* to the list.
2006-07-14 20:53:16 +00:00
Jason Felds
d0515023e4
Add ScoreKeeper.cpp to the list of compiled files.
2006-07-14 20:38:22 +00:00
Chris Danford
691d852d68
fix DIFFICULTY_INVALID used as a valid value
2006-07-14 20:26:11 +00:00
Thad Ward
8b3f014a73
add file
2006-07-14 08:27:29 +00:00
Thad Ward
381c7f0b69
VC6 fixes:
...
remove duplicate typedef
add typedefs for new PSDK types
move the disabling of warnings to the top of the file. (4786 was going off
on the templates directly below the new location)
2006-07-14 08:07:06 +00:00
Thad Ward
2684d8fa63
revert. VC6 doesn't have auto_ptr::reset()
2006-07-14 07:49:59 +00:00
Thad Ward
928696a622
add file
2006-07-14 05:11:14 +00:00
Steve Checkoway
e65388190f
compile fix.
2006-07-14 04:21:09 +00:00
Steve Checkoway
743d2b9697
Change the api to take a NoteData and a row. Let the score keepers decide what they want to do with the row.
2006-07-14 04:19:30 +00:00
Steve Checkoway
af1652ef28
Add a PlayerNumber. If pn = PLAYER_INVALID, then count all tap notes, irrespective of player. If tn.pn = PLAYER_INVALID, count it.
2006-07-14 04:14:51 +00:00
Steve Checkoway
cae6da3f7a
Use ScoreKeeperShared.
2006-07-13 08:38:21 +00:00
Steve Checkoway
b5a3c9867e
ScoreKeeper for use with multiple players but only one Player. It's not complete and something about this is giving each player the same number of each judgment (except for HNS_Held for some reason).
2006-07-13 08:38:08 +00:00
Glenn Maynard
91bd33887e
thanks@broken sourceforge
2006-07-13 08:07:11 +00:00
Steve Checkoway
365b370aae
Load the players ourself. Only show judgment for the master player.
2006-07-13 07:33:10 +00:00
Steve Checkoway
ccba1e80be
Assert.
2006-07-13 07:28:08 +00:00