Glenn Maynard
c3dec06a68
update
2006-07-26 04:03:32 +00:00
Glenn Maynard
58bf179ad8
map, not multimap
2006-07-26 03:58:29 +00:00
Glenn Maynard
a9af29d939
fix warnings
2006-07-26 03:56:48 +00:00
Glenn Maynard
ea9a7edd20
add render RageTexture class
2006-07-26 03:53:51 +00:00
Glenn Maynard
98e3e411c8
OpenGL RTT interface
2006-07-26 03:44:27 +00:00
Glenn Maynard
7f434a638f
OpenGL RTT interface; X11 Pbuffer implementation (GL_ARB_pixel_buffer_object coming soon)
2006-07-26 03:39:01 +00:00
Glenn Maynard
33b2507ddd
basic RTT API
2006-07-26 03:36:47 +00:00
Steve Checkoway
74f65e3cac
Add missing screen.
2006-07-26 01:52:49 +00:00
Steve Checkoway
a693421b06
Unused.
2006-07-26 01:46:52 +00:00
Glenn Maynard
41461cbe23
clear alpha to 0 (if any)
2006-07-26 01:44:59 +00:00
Glenn Maynard
b6e161889c
cleanup
2006-07-26 01:43:51 +00:00
Steve Checkoway
fd424585f2
Fix assert with monkey keyboard.
2006-07-26 00:31:48 +00:00
Steve Checkoway
7d2ff868e1
Cleanup. (This was written by Chris but InputHandler_MonkeyKeyboard.h was written by Glenn?)
2006-07-26 00:29:26 +00:00
Steve Checkoway
bb5836ef0a
Fix battery.
2006-07-25 23:45:42 +00:00
Steve Checkoway
56d383bc5b
Cleanup.
2006-07-25 23:41:15 +00:00
Chris Danford
1537a4679d
fix autolockchallengesteps doesn't work unless UnlockNames isn't empty
2006-07-25 22:10:46 +00:00
Glenn Maynard
9c73aed254
Do SetDefaultRenderStates in BeginFrame, instead of on init,
...
so we don't depend on state being preserved long-term, and
so every renderer doesn't have to do this.
2006-07-25 20:10:56 +00:00
Glenn Maynard
90d4dc17d5
CenteringPushMatrix, CenteringPopMatrix
2006-07-25 19:53:00 +00:00
Glenn Maynard
573946668c
cleanup
2006-07-25 19:52:34 +00:00
Glenn Maynard
99102370ca
const
2006-07-25 19:35:06 +00:00
Glenn Maynard
263ad101d5
const
2006-07-25 19:34:48 +00:00
Glenn Maynard
df153fc924
make the centering matrix a stack, like the rest
2006-07-25 19:34:11 +00:00
Steve Checkoway
787b5ad09a
Cleanup.
2006-07-25 06:17:14 +00:00
Steve Checkoway
f254abc777
Create one "now" RageTimer and just pass that around.
2006-07-25 05:31:22 +00:00
Glenn Maynard
f0ba8c3322
"ARRAY_SIZE" is also stomped on by Windows headers.
...
Add "ARRAYLEN"; remove ARRAYSIZE after transition.
2006-07-25 04:51:17 +00:00
Glenn Maynard
136559f9a6
comment belonged in a commit message, not a comment
2006-07-24 18:53:54 +00:00
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