Commit Graph

94 Commits

Author SHA1 Message Date
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Steve Checkoway aa0f90feae __MACOSX__ --> MACOSX, keep __MACOSX__ for ogg. 2005-10-24 10:37:56 +00:00
Steve Checkoway 99387583f9 DARWIN -> __MACOSX__ 2005-06-21 08:56:36 +00:00
Glenn Maynard 362c2a1d10 remove some unused stuff 2005-01-20 01:50:56 +00:00
Glenn Maynard 24250824de At the cost of losing change history, I'm renaming a couple "SDL" filenames
that no longer have any connection to SDL; the names are just too confusing.
2005-01-20 01:26:15 +00:00
Glenn Maynard cd61a9fd27 fix SDL_VIDEODRIVER not being set for SDL loading windows 2004-09-16 21:32:14 +00:00
Glenn Maynard 19f2cf7e3b zoomSurface -> RageSurfaceUtils::Zoom
Zoom() handles its own format limitations
2004-08-28 09:38:22 +00:00
Glenn Maynard 251661d269 remove OpenRWops 2004-06-16 04:25:03 +00:00
Glenn Maynard 5cd0e91ea5 EmergencyShutdownSDL, moved out of ArchHooks 2004-06-14 17:13:46 +00:00
Glenn Maynard e534493c42 split out SetupSDL 2004-06-14 05:18:09 +00:00
Glenn Maynard 58cf9f21c5 HandleSDLEvents is too small to be worth splitting
handle hwnd changes within the renderers, since it's tied to the window
2004-06-14 03:54:46 +00:00
Glenn Maynard b1d49657ab UpdateHWnd -> SDL_UpdateHWnd in utils 2004-06-14 03:32:32 +00:00
Glenn Maynard 47a277ce2b move HandleSDLEvents to SDL_utils; the renderer is now responsible
for calling this
2004-06-14 03:11:39 +00:00
Glenn Maynard 0fbd740a37 fix linux compile 2004-06-14 02:32:41 +00:00
Glenn Maynard 2c3db44464 error handling fixes; SDL color key fix 2004-06-14 01:13:31 +00:00
Glenn Maynard b481fc465b excessively large commit: use RageSurface 2004-06-14 00:51:00 +00:00
Glenn Maynard f2578fe6a9 s/RageSurface/RageSurfaceUtils/ 2004-06-13 20:19:28 +00:00
Glenn Maynard bc9bbb392c cleanup 2004-06-13 20:05:36 +00:00
Glenn Maynard ec7a148b82 remove mySDL_Swap24 2004-06-13 07:11:49 +00:00
Glenn Maynard 9e2e6b39af maybe fix FindAlphaRGB problem 2004-06-07 05:23:45 +00:00
Glenn Maynard c64c53c3ff debug 2004-06-07 04:03:02 +00:00
Glenn Maynard 0d78474240 fix crash 2004-05-22 22:54:16 +00:00
Glenn Maynard 8a9cfa8bdf cleanup 2004-05-21 22:51:25 +00:00
Glenn Maynard db4d27d39b fix blitting regression, causing lines on the border of cdtitles 2004-05-21 20:02:15 +00:00
Glenn Maynard 2f8e09ce7d simplify OpenRWops 2004-05-18 19:25:53 +00:00
Glenn Maynard abcbddcaa3 simplify OpenRWops, fix error handling 2004-05-18 19:19:27 +00:00
Glenn Maynard b815ef272d add assert 2004-05-18 18:49:49 +00:00
Glenn Maynard ae4cb0197c license update 2004-05-18 07:11:11 +00:00
Glenn Maynard 97b4984c5a whoops, fix 2004-05-18 07:01:48 +00:00
Glenn Maynard d2268fdf1e SDL_image is no longer used 2004-05-18 06:34:20 +00:00
Glenn Maynard b59e1cce88 const fix, assertion fix 2004-05-18 03:15:51 +00:00
Glenn Maynard 4dd6c11c72 don't template the blitter; it confuses vc6 2004-05-17 04:53:08 +00:00
Glenn Maynard a33e65a552 cleanup 2004-05-17 02:38:01 +00:00
Glenn Maynard d92317f7cd Stop using SDL_SRCCOLORKEY entirely. Use alpha palettes instead; they're
much simpler, more flexible and aren't a special case.
add ApplyHotPinkColorKey
2004-05-17 01:47:20 +00:00
Glenn Maynard 04a74a4455 begin work on arbitrary alpha values in paletted textures 2004-05-16 05:51:25 +00:00
Glenn Maynard 6398054e26 Remove 4-bit palette support. As far as I can tell, no hardware supports
it.  (New ATI hardware apparently doesn't even support 8-bit palettes?!)
2004-05-15 08:18:37 +00:00
Glenn Maynard fa83dfc552 fix excessive rounding error in mySDL_BlitTransform (completely opaque
surfaces would be set to an alpha value of 0xFB); fix latent alpha channel
bug
2004-05-02 03:49:22 +00:00
Glenn Maynard 82595ecfe1 fix minor memleaks: a few bytes per screenshot, and a harmless "leak"
if IMG_LoadTyped_RW fails
2004-05-02 02:15:01 +00:00
Glenn Maynard 11843f12be add mySDL_GetError 2004-04-09 21:52:50 +00:00
Glenn Maynard 99a3eeb659 add assert 2004-04-05 22:33:49 +00:00
Glenn Maynard b6e2805cd5 cleanup 2004-03-19 23:14:30 +00:00
Glenn Maynard c548f045c0 add ConvertSDLSurface( src, dst )
split out CopySDLSurface(), CompareSDLFormats()
restore alpha flags when done converting
2004-02-25 03:36:20 +00:00
Glenn Maynard 3e8ff0b7ad create mySDL_MakeDummySurface 2004-02-20 05:10:39 +00:00
Glenn Maynard ae5f6e267e fix uninintialized values 2004-01-21 05:48:07 +00:00
Glenn Maynard d5db243378 fix writing uninitialized data to banner cache (harmless) 2004-01-21 03:49:35 +00:00
Glenn Maynard 11e7899226 fix minor memleaks 2004-01-21 03:09:59 +00:00
Glenn Maynard 0a2d283a4e SDL_RWops *OpenRWops( const CString &sPath, bool Write=false );
SDL_RWops *OpenRWops( CString &sBuf );
2003-12-12 10:03:23 +00:00
Glenn Maynard 910419a14e better error reporting 2003-12-10 05:01:51 +00:00
Glenn Maynard a274e5c95c use SDL_LoadImage in mySDL_SaveSurface, mySDL_LoadSurface 2003-12-04 21:17:51 +00:00
Glenn Maynard 51a4968659 use SDL_LoadImage in SDL_LoadImage 2003-12-04 21:11:29 +00:00