Commit Graph

21491 Commits

Author SHA1 Message Date
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
Jason Felds 2e3f9bc82b Move MemoryCardDisplay* icons to the lower corners to not interfere with 2P side. 2006-07-16 05:39:08 +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
AJ Kelly d599c866d1 better ScreenStage->ScreenGameplay transition 2006-07-16 02:58:20 +00:00
Eric Gustafson a11ad9f945 Add missing until we make a new one 2006-07-16 02:34:36 +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
Jason Felds e9feef0ab3 Improve ScreenEvaluation look. 2006-07-15 23:29:36 +00:00
AJ Kelly bf33f9d906 redone so it doesn't clash with the background 2006-07-15 22:14:39 +00:00
AJ Kelly 31e43bb7b9 add missing metric NumberOnCommandFunction in MultiplayerEvalScoreRow 2006-07-15 20:58:25 +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 abaeb8b2f4 Missing metric. 2006-07-14 22:22:22 +00:00
Steve Checkoway bd47324c0c Add missing strings. 2006-07-14 22:20:35 +00:00