Commit Graph

102 Commits

Author SHA1 Message Date
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 7c7ad81638 RageTextureManager::CopyTexture 2005-07-03 02:30:45 +00:00
Glenn Maynard ef736dcb4f a comment stating that a policy named "default" is the default is not very
enlightening
2005-06-30 23:20:05 +00:00
Glenn Maynard c27ca00976 simplify 2005-06-30 22:55:28 +00:00
Glenn Maynard 6bbffb3e9a remove TEX_CACHED 2005-06-30 22:49:35 +00:00
Glenn Maynard 653cd8013a remove TEX_PERMANENT 2005-06-30 22:08:29 +00:00
Glenn Maynard 361eff0205 cleanup 2005-06-17 00:47:22 +00:00
Glenn Maynard 741ae61a92 cleanup 2005-06-17 00:30:07 +00:00
Glenn Maynard 0262b31434 cleanup 2005-06-17 00:03:28 +00:00
Ben Anderson 167e5aebc0 Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.) 2005-03-15 00:30:26 +00:00
Glenn Maynard 93098cd610 cleanup PREFSMAN->m_bForceMipMaps 2004-08-28 09:29:55 +00:00
Glenn Maynard d2895f9713 allow UnloadTexture(NULL), like delete NULL 2004-08-21 01:45:02 +00:00
Glenn Maynard 9e84283b5c add RageTextureID::TEX_PERMANENT 2004-06-03 05:30:15 +00:00
Chris Danford 8f4792dd6a clean up RageTextureManager prefs, ModelManager prefs
add pref DelayedModelDelete
2004-05-26 06:39:38 +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 f80c1b7e0e add GetDefaultTexturePolicy, SetDefaultTexturePolicy 2004-02-05 21:58:19 +00:00
Glenn Maynard e6d34fe35f initialize 2004-01-21 05:02:09 +00:00
Glenn Maynard 58329ee2d8 simplify, speed up f2 2003-12-18 02:57:18 +00:00
Glenn Maynard 5cd3038c4c s/Checkpoint/CHECKPOINT_M/ 2003-11-23 23:48:31 +00:00
Glenn Maynard 232f7b792a Fix "foo.AVI" (uppercase) not working 2003-11-10 14:23:19 +00:00
Glenn Maynard d7cb5aaa22 unneeded 2003-10-20 01:55:03 +00:00
Glenn Maynard 1117b63a09 Fix cached textures being unloaded too soon. 2003-10-09 04:19:11 +00:00
Thad Ward 8f60dc6c13 prevent movies from being handed to RageBitmapTexture.
I don't know why this stopped working. It was broken before my previous commit,
but I went through the cvs history and didn't find any changes that would have
broken this if statement.
2003-09-03 13:47:02 +00:00
Thad Ward 05443292da Consolidate duplicate function 2003-09-03 13:03:41 +00:00
Glenn Maynard 683ff38ab7 don't display warning when reloading 2003-07-10 02:00:48 +00:00
Glenn Maynard 11f78783b3 Add DisableOddDimensionWarning and EnableOddDimensionWarning 2003-07-09 20:24:17 +00:00
Glenn Maynard e1be95ad48 separate movie color depth 2003-07-09 02:28:56 +00:00
Glenn Maynard 4c73bd7b99 use GetTextureDiagnostics 2003-06-22 01:53:36 +00:00
Glenn Maynard 17c3fdb5e2 texture policy priorities 2003-06-12 20:01:30 +00:00
Glenn Maynard f3bf5e7526 fix warning output 2003-06-12 19:41:19 +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
Glenn Maynard 5d5bc97bc0 Add IsTextureRegistered, RegisterTexture, AdjustTextureID. 2003-06-04 22:32:48 +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 fe33dec385 Partial s/GetString/c_str/.
(watch out for PlayerOptions::GetString and SongOptions::GetString)
2003-04-25 00:01:35 +00:00
Glenn Maynard e009925ca3 output texture info 2003-04-24 19:51:27 +00:00
Glenn Maynard 650beb538f use Checkpoint 2003-04-22 05:58:29 +00:00
Glenn Maynard bed43f712b This looks like what this was supposed to be.
With "if( !m_bDelayedDelete || !t->m_bCacheThis )", if !m_bDelayedDelete,
when we preload banners we'll load the texture and then immediately
free it.  This way, we always keep banners around, even if !m_bDelayedDelete.

I'm adding another option to tweak the banner caching.  I like the smoother
banner changes, but I don't care for the very slow opening of groups.

I'm not sure how to handle memory usage.  I have about 14 megs of
banners.  In order to load them all, you just have to open each group
once, and 14 megs of PNG is a lot of memory uncompressed.  Ideal
would be to cache the compressed version, but that'd be a bit of work.
I'll add precache-all-at-load, precache-group and no-precache options
for now.
2003-04-19 23:37:50 +00:00
Glenn Maynard c3dfb3bf3a err, oops 2003-04-19 22:38:10 +00:00
Glenn Maynard 592f829f4e Remove and update old comments.
Remove old function.
Simplify unloading logic by reversing the refcount check.
2003-04-19 22:37:00 +00:00
Chris Danford 1b38fe101c Show banners while MusicWheel is moving fast.
Broke SORT_GROUP into SORT_PREFERRED/SORT_GROUP (like DDREX)
2003-04-19 18:51:13 +00:00
Chris Danford 74d7bcd2bf Revamp texture caching system 2003-04-18 23:55:20 +00:00
Glenn Maynard 13f92ce974 unused function 2003-03-27 08:18:28 +00:00
Glenn Maynard b7fd35d122 make extension matching case-insensitive 2003-03-11 19:07:03 +00:00
Glenn Maynard 13ef4b417a <math.h> 2003-02-20 03:36:57 +00:00
Glenn Maynard 035c89ae14 add RageMovieTexture abstraction
remove "#ifdef LINUX" hacks
2003-02-20 03:35:37 +00:00
Tim Hentenaar 9b0f6baef2 misc. fixes 2003-02-19 23:53:19 +00:00
Tim Hentenaar 4abb3cdbbb *** empty log message *** 2003-02-19 18:13:06 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Glenn Maynard 557957433e don't lowercase paths 2003-02-15 00:12:31 +00:00