Commit Graph
56 Commits
Author SHA1 Message Date
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
Glenn Maynard 4d1a9e1d68 VOID Create -> void Create
SetLoopOn/Off -> SetLooping(bool)

CTextureRenderer throws its own exception
2002-08-23 01:55:38 +00:00
Glenn Maynard 6e0bf98bc4 Remove extra assert.h. 2002-08-23 01:06:56 +00:00
Chris Danford 5c21d4b1ca bug fixes 2002-08-18 23:20:18 +00:00
Chris Danford 0447dc2aad Bug fixes and deferred rendering architecture 2002-08-18 16:19:26 +00:00
Chris Danford 4f732aaa5b Random background movie support 2002-07-31 22:37:58 +00:00
Chris Danford 82e52c1306 3.0 beta 4 2002-07-11 19:02:26 +00:00
Chris Danford 7800df57a1 no message 2002-05-27 18:36:01 +00:00
Chris Danford b723efdaba no message 2002-05-27 08:23:27 +00:00
Chris Danford 2f80235590 no message 2002-05-19 01:59:48 +00:00
Chris Danford dad622f11c no message 2002-04-28 20:42:32 +00:00
Chris Danford 78f3e80118 2.50 checkin 2002-04-16 17:31:00 +00:00
Chris Danford d2eeed810c in the middle of working on 1.70. Now compiles in Visual Studio.net 2002-03-30 20:00:13 +00:00
Chris Danford fbb9e9494f new theme graphics and new texture loading algorithm 2002-01-29 08:19:03 +00:00
Chris Danford 0add9e0bb3 checkin of v1.50 2002-01-16 10:01:32 +00:00