Commit Graph
70 Commits
Author SHA1 Message Date
Glenn Maynard 413e4acd26 bind 2006-07-28 23:19:16 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 35272e5f9e remove unused 2005-09-04 03:38:14 +00:00
Glenn Maynard 30ac0620ad Movies no longer have playing/stopped/paused states; either they're
receiving DecodeSeconds calls or they're not.
2004-10-18 18:18:02 +00:00
Glenn Maynard 02cf55863f add DecodeSeconds() overload for movies 2004-10-16 02:47:57 +00:00
Glenn Maynard f5ce2e5303 cleanup 2004-06-08 05:55:00 +00:00
Glenn Maynard f9f10e2372 more license updates 2004-05-06 02:40:33 +00:00
Glenn Maynard d5098c84ce move texture load policy into RageTextureID, so it can be set to volatile consistently
for banners/backgrounds
2004-03-26 10:15:18 +00:00
Glenn Maynard 1601168c8d move RageTextureID into its own file 2003-11-07 20:53:42 +00:00
Glenn Maynard 8dda57f5bc add AdditionalTextureHints 2003-10-08 02:52:12 +00:00
Glenn Maynard a73a86f63e add iGrayscaleBits 2003-10-08 02:19:59 +00:00
Glenn Maynard fd05dfeffc Replace 4alphaonly and 8alphaonly with the simpler and more generally
useful 32bpp and 16bpp hints.  (alphaonly was broken and had the effect
of 32bpp anyway).  These force a texture to 32bpp and 16bpp, overriding
the user's preference.

Use 32bpp for images that really do need 32bpp (where "dither" isn't
good enough).  Use 16bpp for images that really don't need 32bpp,
to save memory.
2003-09-03 08:41:12 +00:00
Glenn Maynard 0e1e192c24 unused 2003-09-01 19:25:50 +00:00
Glenn Maynard 2d29e0537d remove unneeded override 2003-08-29 04:37:37 +00:00
Glenn Maynard a845a86040 make GetTexHandle() const 2003-06-22 01:28:23 +00:00
Glenn Maynard 80cd713a75 add ratios 2003-06-21 20:04:53 +00:00
Glenn Maynard a3db8bc325 change policy order 2003-06-12 19:49:43 +00:00
Glenn Maynard 48770fb2a0 Make texture policies explicit.
Never keep banner textures loaded.  We'll be using enough memory with
the preloads, and it's not needed.
2003-06-10 19:24:00 +00:00
Chris Danford 429d311c2a Remove composited text. The large amount of memory it uses is a bigger penalty than drawing a quad for each glyph. 2003-06-05 22:18:42 +00:00
Chris Danford 428d560a6b Clean up resolution fallback logic
Add video settings for G400
Working on composited text
2003-06-05 19:29:27 +00:00
Chris Danford 7724624323 Make RageBitmapTexture:m_ID private (so it can't be modified) 2003-05-22 06:32:23 +00:00
Chris Danford 02016ae442 Reorganize RageDisplay
Add Direct3D renderer (separate project configuration)
Add Xbox project config (doesn't yet compile)
2003-05-22 05:28:37 +00:00
Glenn Maynard 75e3dcdce8 comment
(had more changes but reverted them)
2003-05-05 06:21:36 +00:00
Chris Danford 74d7bcd2bf Revamp texture caching system 2003-04-18 23:55:20 +00:00
Chris Danford cfe1f9ec67 Add parameters to BackgroundChange: fRate, bFadeLast, bRewindMovie, bLoop.
I don't like how this changes the syntax for the #BGCHANGES tag in an SM file.  I will think more about this - it's important to finalize it quickly.
2003-04-14 04:10:01 +00:00
Glenn Maynard 92c44716f8 Implement textures that only have an alpha channel.
The most immediate use of this is for the company screen shadow;
it's horribly banded in 16-bit, and this lets us load it as an 8-bit texture,
using half the memory and giving full precision.

This could be automatically used, if all non-transparent pixels in a texture
are #FFFFFF.  (todo)

This can also allow us to have extremely large, memory-compact fonts.
A 1024x1024 layer in ALPHA4 is just 512k, and can store several thousand
16x16 glyphs.  (The only trouble is actually constructing such a font;
doing it by hand in Photoshop isn't a nice option.)
2003-03-24 22:38:34 +00:00
Chris Danford 080a92450c SelectGroup animations converted to commands
ScreenStage animations converted to TransitionBGAnimations
Changed all Stage BitmapTexts to Sprites
2003-03-10 00:16:49 +00:00
Glenn Maynard f5fed3e23d fix and simplify 2003-02-12 22:32:04 +00:00
Glenn Maynard 22272aecb0 Fix an indirect movie texture crash (reset PixelStore)
Simplify texture handling: m_ID is const (can't be changed after
load at all); preference overrides are handled in RageTexture;
reloads no longer need a parameter
2003-01-26 00:56:13 +00:00
Glenn Maynard 4432b01dd8 make hot pinking a texture hint
(it makes SDL take slow code paths and makes us do
conversions we oftne don't need to)
2003-01-22 04:15:43 +00:00
Glenn Maynard 3f3032e89d add comment 2003-01-09 04:40:57 +00:00
Glenn Maynard 379b4806ef add RageTextureID::equal 2003-01-09 02:55:16 +00:00
Glenn Maynard 71bd9579e0 add GetFrameCountFromFileName 2003-01-06 11:14:43 +00:00
Glenn Maynard 75eec7fa74 make GetFrameDimensionsFromFileName available 2003-01-05 01:44:24 +00:00
Glenn Maynard 55e92e771d s/CArray<x,y>/vector<x>/g 2003-01-03 05:56:28 +00:00
Glenn Maynard b97d3f8513 fix up bit depth stuff 2002-12-30 03:35:58 +00:00
Glenn Maynard e0b472f33e Textures are now fully ID'd by a single struct. 2002-12-30 02:43:52 +00:00
Chris Danford 04e2c0b68c More movie texture work. Changed plib's release CRT version to "Multithreaded DLL". 2002-11-28 20:48:00 +00:00
Glenn Maynard 054976824b cleanups 2002-11-16 07:36:02 +00:00
Glenn Maynard 4d48fe779c remove unused members 2002-11-15 23:49:25 +00:00
Chris Danford 487b4e9527 Readded texture stretch, texture dither, and 16 bit textures. 2002-11-14 01:26:19 +00:00
Glenn Maynard 58dbd9bdb3 Add InvalidateTextures; change reload behavior. (breaks reloading
until I get the rest committed in a moment)
2002-11-12 09:21:44 +00:00
Chris Danford 628dea9da7 OpenGL checkin. Movie textures, texture stretch, texture dither, and 16 bit textures are broken. 2002-11-11 04:53:31 +00:00
Glenn Maynard 677e6b0a2e s/FRECT/RectF/ 2002-10-31 06:00:30 +00:00
Glenn Maynard b30fcbae96 get rid of some GetSize calls 2002-10-31 01:59:08 +00:00
Glenn Maynard e3a03499dc Remove RageTexture::m_TextureFormat. 2002-10-20 05:14:16 +00:00
Glenn Maynard 22b95f922f Change DWORD to int in *Texture*. (Maybe it should be unsigned, but
we don't use unsigned much anyway.)
2002-10-19 19:30:34 +00:00
Chris Danford 5e9a6a4df6 Added fade between movies and touched up some graphics 2002-10-10 04:11:30 +00:00
Chris Danford f39456599e time delay texture unload, Spig's MAX2 changes 2002-09-21 16:29:14 +00:00
Glenn Maynard bcf0bc3a0a const, extra semicolons 2002-08-31 07:08:25 +00:00