Commit Graph

168 Commits

Author SHA1 Message Date
Glenn Maynard d522ac5146 better assert 2006-01-27 02:00:47 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard fd072a7da5 FAIL for "impossible" cases where we want a trace; not Throw 2005-12-30 01:15:37 +00:00
Glenn Maynard 443e80551f prefer standard find() over Find 2005-12-21 08:27:00 +00:00
Chris Danford bc6c7c89bc move PixelFormat outside of RageDisplay because so many classes outside of RageDisplay use it.
Log PixelFormat strings instead of numbers for easier to read logs.
2005-09-29 17:15:12 +00:00
Glenn Maynard 91e88be084 cleanups 2005-06-24 02:19:04 +00:00
Chris Danford d62fb70ef0 fix "nomipmaps" 2005-05-21 00:58:34 +00:00
Chris Danford 5452cd4851 warn loudly when trying to load a texture that doesn't exist 2005-04-18 07:24:23 +00:00
Glenn Maynard 9ebd1d19dd more renames 2005-01-20 01:35:49 +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 37bc5aefbd cheaper ConvertSurface 2005-01-02 23:15:06 +00:00
Glenn Maynard f504d87bed don't load "" 2004-12-11 22:29:55 +00:00
Glenn Maynard e6eb3e5ff9 remove hack 2004-09-05 23:35:49 +00:00
Glenn Maynard 2defb1963a cleanup 2004-09-05 23:34:49 +00:00
Glenn Maynard c8e52ea1ac dumb temp debugging hack 2004-09-05 06:54:36 +00:00
Glenn Maynard 8879e7c2f1 s/Palettize/PalettizeToGrayscale/ 2004-09-04 04:10:56 +00:00
Glenn Maynard 19f2cf7e3b zoomSurface -> RageSurfaceUtils::Zoom
Zoom() handles its own format limitations
2004-08-28 09:38:22 +00:00
Glenn Maynard 93098cd610 cleanup PREFSMAN->m_bForceMipMaps 2004-08-28 09:29:55 +00:00
Glenn Maynard fd6eca7ffb no longer needed 2004-08-28 09:12:04 +00:00
Glenn Maynard 3d3cbc73e5 SM_SDL_OrderedDither -> RageSurfaceUtils::OrderedDither
SM_SDL_ErrorDiffusionDither -> RageSurfaceUtils::ErrorDiffusionDither
(these have nothing to do with SDL; I'd rename the files but I hate
losing CVS history)
2004-08-28 09:09:34 +00:00
Glenn Maynard 01ed84e315 finish choosing the pixel format before optionally running dithering 2004-08-28 09:06:04 +00:00
Glenn Maynard 6009e72fc6 simplify a little, comment 2004-08-28 08:29:13 +00:00
Glenn Maynard 577fd7040f fix scaling up in zoomSurface: calculate source pixels and weights differently
fix scaling > 2:1 in the same way as < 1:2
do lrintf(x), not int(x+0.5f)
2004-08-13 00:31:34 +00:00
Chris Danford e7958c0a89 add texture hint to force mipmaps. Let the texture hint override the global pref. 2004-08-08 00:04:42 +00:00
Glenn Maynard ec75189203 comment 2004-06-14 05:47:17 +00:00
Glenn Maynard 87823229c5 error handling fixes 2004-06-14 01:12:22 +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 1efd594730 byte swap update 2004-06-13 07:35:08 +00:00
Glenn Maynard 211f9b852a use Dialog 2004-06-10 22:47:51 +00:00
Glenn Maynard f5ce2e5303 cleanup 2004-06-08 05:55:00 +00:00
Glenn Maynard 2157063d4e minor optimization 2004-06-01 07:47:07 +00:00
Chris Danford 7ea35ebb25 add prefs: ForceMipMaps, AnisotropicFiltering 2004-05-18 08:43:21 +00:00
Glenn Maynard a33e65a552 cleanup 2004-05-17 02:38:01 +00:00
Glenn Maynard d98b9475f3 split out ApplyHotPinkColorKey
simplify 16-bit texture format selection: if it's colorkeyed,
actualID.iAlphaBits will be set to at least 1; if none, 0
2004-05-17 01:45:03 +00:00
Glenn Maynard 04a74a4455 begin work on arbitrary alpha values in paletted textures 2004-05-16 05:51:25 +00:00
Glenn Maynard 7c56df3fd7 types 2004-05-11 20:50:08 +00:00
Glenn Maynard 33a04b79de beginning GPL->X11 license transition
The conventions I'm using are to put the entire copyright notice at the bottom
of each file, and to put the summary of the source file's use at the top of the
header.

Putting the license text in each file avoids confusion, and is normal practice
for many projects.  Putting it at the bottom gets it out of the way; it's a
ton of clutter to put at the top.

The description is in the header.  People who don't know what a class is for,
or how to use it, are probably looking at the header to see the interface,
not the implementation, so let's put the description in there.  Keep it brief
(one line); any substantial implementation notes should go in the source file.
2004-05-06 00:42:06 +00:00
Chris Danford 92a3fc49eb add m_bHalveTextureHeight for 8:3 displays 2004-04-24 07:54:18 +00:00
Glenn Maynard 5b5834acba remove ResolvePath calls; this is done automatically and has been a noop
for a long time
2004-02-27 05:42:44 +00:00
Glenn Maynard fb21201678 tolerate corrupt images 2004-02-20 05:11:12 +00:00
Chris Danford 508bc0f6d4 add "nomipmaps" hint 2004-02-03 07:41:10 +00:00
Chris Danford b3ff1ef883 re-add mipmapping, support it in OpenGL (D3D unimplemented) 2004-01-23 06:20:28 +00:00
Glenn Maynard ac58bafad5 use SDL_LoadImage 2003-12-04 20:43:22 +00:00
Chris Danford c123681854 move IsWindowed check inside of ArchHooks_Win32 2003-11-15 06:08:13 +00:00
Glenn Maynard 4ce32a840a add alphamap hint 2003-10-08 23:21:14 +00:00
Glenn Maynard 93653882ef Use AdditionalTextureHints. Add "grayscale" hint. 2003-10-08 02:52:51 +00:00
Glenn Maynard 5dc94af3da use iGrayscaleBits 2003-10-08 02:23:53 +00:00
Glenn Maynard fba49abc0d Define the "unused" bit in SDL surfaces. 2003-10-08 01:21:36 +00:00
Glenn Maynard f611e2461e namespace cleanup 2003-10-03 21:38:38 +00:00