Commit Graph
21578 Commits
Author SHA1 Message Date
Steve Checkoway ff3b8bacbc Fix sscanf() overflow issues. 2006-07-24 09:57:13 +00:00
Steve Checkoway e80defc8df It doesn't take the null into account of the field width. 2006-07-24 09:54:47 +00:00
Steve Checkoway 5b3be8c9fa Handle buffer overflow. 2006-07-24 09:49:39 +00:00
Chris Danford 567b4e8c6a fix AV when using material that didn't load because texture doesn't exist 2006-07-24 09:05:14 +00:00
Steve Checkoway ab978ef733 While I'm at it, remove leading and trailing slashes to make the cache files look like "Songs_foo" instead of "_Songs_foo_". 2006-07-24 08:35:33 +00:00
Steve Checkoway 9a21d52d0b Replace invalid utf-8 characters with underscores. Bump cache version. 2006-07-24 08:25:55 +00:00
Chris Danford aa0094782a font from big_HDV@hotmail.com 2006-07-24 07:35:21 +00:00
Chris Danford c1ef4dc240 add RageDisplay_OGL_Helpers.* 2006-07-24 07:00:52 +00:00
Glenn Maynard 6da89460ca update 2006-07-24 06:12:43 +00:00
Glenn Maynard 2ddb0c2912 Use "i" for ints; don't distinguish between signed and unsigned. (If we're
marking unsigned ints, that seems to imply marking long ints, doubles vs.
floats, etc; Hungarian serves little enough purpose without being that fine-
grained.)
2006-07-24 06:11:37 +00:00
Jason Felds 9eaabe4a74 Rename RageDisplay_OGL_Extensions -> RageDisplay_OGL_Helpers 2006-07-24 06:10:00 +00:00
Steve Checkoway 88c8726834 Add/remove files. 2006-07-24 06:09:24 +00:00
Glenn Maynard 11b5ddbd54 cleanup 2006-07-24 06:06:10 +00:00
Glenn Maynard 550c9fd938 cleanup, comment 2006-07-24 06:03:00 +00:00
Steve Checkoway b9de4e9965 Specialize std::swap() for NoteData in terms of NoteData::swap() so that swap( a, b ) takes constant time. 2006-07-24 05:58:11 +00:00
Steve Checkoway c72c23f035 Remove empty ctor and dtor. This class has no member variables. It would probably work just as well as a namespace but I don't know how that would interact with lua. 2006-07-24 05:56:16 +00:00
Glenn Maynard f40b729eda cleanup 2006-07-24 05:53:57 +00:00
Glenn Maynard 89b30b5ac9 move more into OGL_Helpers: pulling in GL.h, GLToString 2006-07-24 05:48:21 +00:00
Glenn Maynard 81ed5b8e54 rename RageDisplay_OGL_Extensions -> RageDisplay_OGL_Helpers 2006-07-24 05:43:21 +00:00
Steve Checkoway 52d48a1eac CanAutoGenStepsType. For some reason lights cannot be autogenned. I've moved that from Song to GameManager. Whenever this restriction is lifted (I don't know why the restriction exists), it should be changed to ST_FLAGS_NONE. 2006-07-24 05:01:48 +00:00
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