Commit Graph

3881 Commits

Author SHA1 Message Date
Glenn Maynard 11cdc5dc56 nothing derives from BGAL 2003-06-30 05:34:03 +00:00
Glenn Maynard 8800398923 implement Right. 2003-06-30 05:30:59 +00:00
Glenn Maynard c409726a68 simplify 2003-06-30 05:26:08 +00:00
Glenn Maynard 2c26de902a pragma warning in windows only 2003-06-30 05:24:39 +00:00
Glenn Maynard 8d61b729f0 eol 2003-06-30 05:22:31 +00:00
Glenn Maynard 30f20fb1fd oops; guarantee that GetTapNote(t,row) is always empty for row<0 2003-06-30 05:20:57 +00:00
Glenn Maynard 2c5a859432 fix potential infinite loop 2003-06-30 05:19:50 +00:00
Glenn Maynard aed1cd789e cleanup 2003-06-30 05:17:40 +00:00
Glenn Maynard 7ff4080994 default: 2003-06-30 04:59:28 +00:00
Glenn Maynard 7c46a3aa61 #pragma comment is win32 only 2003-06-30 04:53:45 +00:00
Glenn Maynard 1fa94d40db NEED_TRUNCF, NEED_ROUNDF 2003-06-30 04:42:17 +00:00
Glenn Maynard 75d3b3b13e fix and simplify 2003-06-30 04:41:53 +00:00
Glenn Maynard 4fc640e623 add truncf 2003-06-30 04:39:06 +00:00
Glenn Maynard ec2d476420 cleanup 2003-06-30 04:29:53 +00:00
Glenn Maynard 3e07de6655 Split score reading into separate functions.
Type fixes.
2003-06-30 04:24:59 +00:00
Glenn Maynard 455f230e94 bump cache 2003-06-30 03:14:52 +00:00
Glenn Maynard 29a53a9435 use FMT_A1BGR5 2003-06-30 03:14:13 +00:00
Glenn Maynard 108a3cceee add FMT_A1BGR5 2003-06-30 03:13:53 +00:00
Glenn Maynard 0e2fe4a69d simplify 2003-06-30 03:12:36 +00:00
Glenn Maynard da8448999b optimize 2003-06-30 02:40:28 +00:00
Glenn Maynard ce518b6bb2 Allow any image format when creating a texture. 2003-06-30 02:39:56 +00:00
Glenn Maynard 71d3338ed4 It's curious that the PCRE author's license demands he be mentioned in the
documentation, when almost none of our *own* names are even in there ...
2003-06-30 01:50:41 +00:00
Glenn Maynard edb9ce03b6 optimization 2003-06-30 00:34:18 +00:00
Glenn Maynard 4df0a19973 fix compile problem 2003-06-29 22:44:30 +00:00
Glenn Maynard 5f5876af46 what is #defining "or" to "||"? 2003-06-29 22:43:41 +00:00
Glenn Maynard 5fd004a1fc fix not using random banner 2003-06-29 21:52:39 +00:00
Glenn Maynard bb42cd2ebb log codec information 2003-06-29 21:45:48 +00:00
Glenn Maynard 6ae4237530 fix endless crash 2003-06-29 20:49:57 +00:00
Glenn Maynard a09a79c2f2 unneeded code 2003-06-29 20:14:36 +00:00
Glenn Maynard 02e6bbbfa2 fix div/0 that caused radar weirdness 2003-06-29 19:53:10 +00:00
Glenn Maynard 684f159ed3 avoid potential div/0 2003-06-29 19:28:55 +00:00
Glenn Maynard 229045627b guh 2003-06-29 08:15:35 +00:00
Glenn Maynard 7034dbddc6 Simplify, optimize. I'm staying over 150fps with my normal test clip,
in OpenGL, 16-bit textures.
2003-06-29 08:15:08 +00:00
Glenn Maynard 7951b5f3e7 Add helpers: RageDisplay::CreateSurfaceFromPixfmt, RageDisplay::FindPixelFormat.
UpdateTexture can now take any image format; it doesn't have to match the
original format, or even be a standard pixel format.  This is because we
can often do the conversion much more efficiently within UpdateTexture
than we can in the caller.  With D3D, we can convert any source format
as we copy, preventing an extra blit. OpenGL can do it on the fly if
it happens to be a known texture format.

We can figure out the pixel format from the image itself, so there's
no need to pass pixfmt to UpdateTexture.

Add BGR8, for movies with OpenGL.
2003-06-29 08:13:18 +00:00
Glenn Maynard 9bcb468aa0 Sick of wrestling with the SDL blitters. 2003-06-29 07:03:00 +00:00
Glenn Maynard 480fa64436 clean up dependencies 2003-06-29 07:02:03 +00:00
Glenn Maynard 5ce81c8fc0 comment 2003-06-29 01:06:08 +00:00
Glenn Maynard 5a28d482cc reduce dependencies 2003-06-29 01:04:22 +00:00
Glenn Maynard 9d6e78f9df log avi codec 2003-06-28 22:30:46 +00:00
Glenn Maynard b605e46dbf cleanup 2003-06-28 02:27:27 +00:00
Glenn Maynard 55705d34d7 don't mess with texture parameters when updating 2003-06-28 02:27:04 +00:00
Glenn Maynard 4f2d551e90 bring RageDisplay_OGL::CreateTexture and UpdateTexture closer
together
2003-06-28 02:23:35 +00:00
Glenn Maynard 7f5b42cc9d cleanup 2003-06-28 02:19:31 +00:00
Glenn Maynard 3e4e26dd95 fix crash with very long hold notes 2003-06-28 02:15:27 +00:00
Glenn Maynard 3a9205e1d2 move prototype 2003-06-28 02:03:26 +00:00
Glenn Maynard 2009310fa5 invalidate banner cache 2003-06-28 01:48:54 +00:00
Glenn Maynard 06207a0171 Clean up endianness mess. 2003-06-28 01:45:44 +00:00
Chris Danford 31c0f631d3 missing graphics 2003-06-28 01:28:18 +00:00
Glenn Maynard 20eabca2d8 Oops. Don't blit into a surface the size of the texture; only the size
of the image.  That's the whole point of using glTexSubImage2D.

Simplify.
2003-06-28 00:06:15 +00:00
Glenn Maynard 33324c34cc If the music is in slow motion, dance in slow motion, too. 2003-06-27 20:10:37 +00:00