Steve Checkoway
5da3ac8f36
Avoid copying TapNote where possible and implement some of these algorithms in terms of NoteData::iterators which take constant time to move to the next element rather than GetTapNote which takes logarithmic time.
2006-07-24 04:53:24 +00:00
Steve Checkoway
0cb3814965
Implement swap(). Instead of doing
...
foo( NoteData &inout )
{
NoteData temp;
/* some operation on temp involving inout. */
inout = temp;
}
which requires copying all of temp, replace the assignment with swap which takes constant time instead of linear (or likely n log n since they're in maps) in the number of notes.
2006-07-24 04:49:03 +00:00
Steve Checkoway
20b45c5243
TapNotes are not huge structures but there are generally a lot of them and they do contain at least one nontrivial ctor so avoid making copies of them when possible.
2006-07-24 04:42:08 +00:00
Steve Checkoway
1ca8ec0f11
-30 -> 30
2006-07-24 03:03:43 +00:00
Steve Checkoway
018d862f06
PlayerShared.
2006-07-24 01:12:40 +00:00
Steve Checkoway
b5665afe2a
Fix typo. Add JudgmentTransformSharedCommand.
2006-07-24 01:06:18 +00:00
Steve Checkoway
03f1e21df4
Spaces between arguments.
2006-07-24 00:14:04 +00:00
Steve Checkoway
73ce25c313
Spacing to make these easier to read.
2006-07-23 23:55:16 +00:00
Steve Checkoway
aef5009bfc
No, not really.
2006-07-23 23:49:52 +00:00
Steve Checkoway
d671011285
Show a combo if showing judgment, not if showing the note field.
2006-07-23 23:48:14 +00:00
Steve Checkoway
4a832e461f
Run the overlay's off command.
2006-07-23 22:43:28 +00:00
Steve Checkoway
36b1ff3df8
Don't make unnecessary copies.
2006-07-23 21:44:35 +00:00
Steve Checkoway
b0496fbcb6
Split out HideNote. Make fewer copies of TapNotes.
2006-07-23 21:35:41 +00:00
Steve Checkoway
1b2f2b9cec
Handle counting notes separately if the game type does that.
2006-07-23 21:12:39 +00:00
Glenn Maynard
0858a83ce1
fix lost initialization
2006-07-23 03:29:16 +00:00
Glenn Maynard
d0bcf2052d
RageTexture is a wrapper around RageDisplay's textures; RageDisplay
...
itself doesn't use it. Don't pass in RageTexture to SetTexture;
use RageDisplay's native texture handles.
2006-07-23 03:19:49 +00:00
Jason Felds
26173fd639
Fixed up both KIU and DM support: the current behavior is as good as it will be without other changes outside of these files.
2006-07-22 20:53:26 +00:00
Jason Felds
ba79c0bc88
Cleanups and loggings and endings, oh my!
2006-07-22 16:09:47 +00:00
Steve Checkoway
c690814aad
Comment. I don't have time to fix this tonight.
2006-07-22 09:07:03 +00:00
Steve Checkoway
a8aeb38a57
Fix ghost arrow flashes by handling those at the actual step but handle the scores during Update.
2006-07-22 09:01:19 +00:00
Jason Felds
0917b5bcc1
Direct Move support has now been enabled. Minor touch-ups were also done.
2006-07-22 08:21:13 +00:00
Thad Ward
1bb96dea29
re-add blank line before new section for readability
2006-07-22 05:38:47 +00:00
Josh Allen
e38749de1b
Send note result offset into ReportScore
2006-07-22 03:28:45 +00:00
Josh Allen
6a191e1f23
Remove ReportTiming and send note offset into ReportScore
2006-07-22 03:27:39 +00:00
Josh Allen
6180a2762a
remove ReportTiming
2006-07-22 03:19:58 +00:00
Josh Allen
74fd8211bb
Fix float to bool warning
2006-07-22 00:54:17 +00:00
Josh Allen
9ee1a2ce43
Use flags found in RoomWheelData and clean up
2006-07-22 00:28:26 +00:00
Josh Allen
8c7e01eb08
Add room flags to data and clean up
2006-07-22 00:26:11 +00:00
Charles Lohr
d822f66078
Required password entering text
2006-07-21 22:32:30 +00:00
Charles Lohr
636dbcabcc
Support entering of passworded rooms.
2006-07-21 22:31:55 +00:00
Josh Allen
8921458276
Update to append room flags onto packet
2006-07-21 21:46:24 +00:00
Charles Lohr
4138fc529a
We can't do Passworded rooms this way, so at a later point we'll figure out a better way. (Really soon)
2006-07-21 21:25:04 +00:00
Charles Lohr
88425d71de
Allow passworded rooms. (For now, just permits private rooms)
2006-07-21 18:53:23 +00:00
Jason Felds
0014c5097e
More Direct Move syntax preparation. If the global variable is not recommended (it will be needed in KSFLoader::LoadFromKSFFile), please advise or make the recommende fixes.
2006-07-21 18:52:15 +00:00
Glenn Maynard
b5c16eb9c1
cleanup
2006-07-21 18:45:11 +00:00
Chris Danford
91aa20433e
no message
2006-07-21 18:28:19 +00:00
Charles Lohr
be993de082
Fix crash: We still use m_iPlayer after setting new screen, reset it so we don't crash when the assert in profile triggers.
2006-07-21 17:37:30 +00:00
Josh Allen
4e4e0dc04a
HandleTapScore now sends all mine data to the server.
2006-07-21 16:24:55 +00:00
Josh Allen
0fd98658a5
Add iterator condition All. Fixes linker error.
2006-07-21 16:22:52 +00:00
Josh Allen
83cbf811d3
HandleTapScore now sends all mine data to server
2006-07-21 16:03:09 +00:00
Josh Allen
b4040ae8c9
Fix warnings
2006-07-21 16:01:43 +00:00
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