Commit Graph
3853 Commits
Author SHA1 Message Date
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
Glenn Maynard 32be84e468 I'm tired of strange, obscure regex crashes. Use PCRE instead of GNU
regex.

Reenable d3d error messages.

Put my missing code back in.  Don't revert large sections of important
code; report bugs and get them fixed.  (Without this, "IsAFile("foo\bar")
will fail on Unix.)
2003-06-27 20:09:29 +00:00
Glenn Maynard be9b9ef05c add pcre 2003-06-27 19:59:05 +00:00
Glenn Maynard 3a68361a69 typo 2003-06-27 19:57:30 +00:00
Glenn Maynard c2f91efeec add pcre 2003-06-27 19:51:48 +00:00
Glenn Maynard d747c3fc2f simplify using a functor class instead of a template 2003-06-27 09:19:45 +00:00
Glenn Maynard 41c3a8d1fa fix leak 2003-06-27 09:05:51 +00:00
Glenn Maynard d4508af417 unneeded header 2003-06-27 08:53:46 +00:00
Chris Danford b9acabbed5 fix VC6 compile error 2003-06-27 08:33:15 +00:00
Chris Danford df728d987a Add sorts by meter
Choose a random dancing character on GameState::Reset()
2003-06-27 08:06:22 +00:00
Glenn Maynard 537ae7e991 fix index 2003-06-27 02:11:13 +00:00
Glenn Maynard 22cef46d85 improve model lighting in d3d 2003-06-27 02:04:56 +00:00
Glenn Maynard fd9fe23cf7 fix d3d model crash 2003-06-27 00:57:02 +00:00
Glenn Maynard 6fd93db405 fix losing the last buffer of sound from a sample 2003-06-26 22:24:42 +00:00
Glenn Maynard c898370ed0 improve cleanup after a throw 2003-06-25 21:03:41 +00:00
Glenn Maynard 2206e32cef Simplify exception handling. Improve fallback if we can't set up an
OpenGL window.
2003-06-25 20:44:49 +00:00
Steve Checkoway 1d655dcb7a fix, update, etc. 2003-06-25 09:04:42 +00:00
Chris Danford 65f59f1e5a fix Return/KP_Return issues for Ryan's notebook 2003-06-25 06:44:15 +00:00
Glenn Maynard 9fe82671a6 fix InputFilter::Reset losing key release events 2003-06-25 06:33:18 +00:00
Glenn Maynard 0da3c9c92d fix keys getting stuck if we lose focus while they're depressed 2003-06-25 06:31:13 +00:00
Glenn Maynard cfe1441b6d Retain the difficulty specified in extra1/extra2.crs.
This has a side-effect: with "pick extra stage" on, you're stuck with the
difficulty of the song specified, even if you pick a different stage.
2003-06-25 06:30:13 +00:00
Glenn Maynard 99c651f808 dur 2003-06-25 05:37:40 +00:00
Glenn Maynard 3ca9b23f40 Fix autoplay weirdness in editor 2003-06-25 05:35:14 +00:00
Glenn Maynard 17e111815d unused member variable 2003-06-25 05:26:47 +00:00
Glenn Maynard cac429e488 fix note skin data not always being loaded 2003-06-25 05:22:58 +00:00
Steve Checkoway 352a8ab860 remove LOG->Trace() 2003-06-25 05:16:19 +00:00
Glenn Maynard 63cd483b17 Remove m_sDefaultNoteSkin.
Make m_sDefaultModifiers a game pref.
2003-06-25 05:02:42 +00:00
Glenn Maynard ef9f53d514 fix default note skin option 2003-06-25 04:51:41 +00:00
Glenn Maynard 595e4ccb0a fix PREFSMAN->m_sDefaultModifiers for difficulty 2003-06-25 04:43:33 +00:00
Steve Checkoway 8e7fd05c2d Added smicon.icns 2003-06-25 02:33:44 +00:00