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
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
a6b1160c12
fix movie playback
2003-01-25 08:11:03 +00:00
Glenn Maynard
99426e5e7c
less logs (knowing which texture we loaded last is useful; knowing
...
which texture we finished last is probably not)
2003-01-24 02:18:03 +00:00
Glenn Maynard
a41cba7deb
fix
2003-01-21 10:32:08 +00:00
Glenn Maynard
749b2f36a7
unload unused textures when we invalidate
2003-01-20 22:12:43 +00:00
Glenn Maynard
ffc6ae2c37
Simplify splitpath.
...
Allow a font to have an INI and no pages.
2003-01-16 22:49:22 +00:00
Chris Danford
bf5c821afe
Added MaxTextureResolution pref
2003-01-11 20:15:00 +00:00
Glenn Maynard
271536078e
fix texture searching (don't reuse a texture if it has different attributes,
...
as intended)
2003-01-09 02:58:16 +00:00
Glenn Maynard
f4dbed8221
stl-ize some stuff
2003-01-03 05:29:45 +00:00
Glenn Maynard
b97d3f8513
fix up bit depth stuff
2002-12-30 03:35:58 +00:00
Glenn Maynard
11644c2506
add movie extensions
2002-12-30 02:52:05 +00:00
Glenn Maynard
fa21e2082a
whoops
2002-12-30 02:50:17 +00:00
Glenn Maynard
e0b472f33e
Textures are now fully ID'd by a single struct.
2002-12-30 02:43:52 +00:00
Glenn Maynard
49f05c9ab8
s/throw RageException/RageException::Throw/
2002-12-21 19:34:02 +00:00
Glenn Maynard
4f8e77befc
shorten log (less lines = easier to read)
2002-12-16 07:44:29 +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
Chris Danford
4e4c143223
RageMovieTexture working again. Probably doesn't work on texture size-limited cards (Voodoo3).
2002-11-26 01:17:43 +00:00
Glenn Maynard
29c726053c
pass prefs down to RageBitmapTexture
2002-11-20 01:24:36 +00:00
Glenn Maynard
23254cdd4a
more cleanups (lint lint lint)
2002-11-16 09:12:55 +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
Chris Danford
ec202633e9
Added .GetString() to all CStrings passed in vargs
2002-10-29 07:58:44 +00:00
Glenn Maynard
d98b95d63c
Remove unnecessary cast.
2002-10-19 19:21:21 +00:00
Glenn Maynard
b3f4d37071
If UTDSeconds is 0, unload unused textures immediately; this makes
...
sure we don't keep them around for an extra screen anyway.
2002-10-19 19:18:40 +00:00
Glenn Maynard
7783b51900
map iterators aren't invalidated when you delete a different one
2002-10-19 18:56:48 +00:00
Glenn Maynard
4f5377b202
quiet spurious warning
2002-10-12 01:15:39 +00:00
Chris Danford
f39456599e
time delay texture unload, Spig's MAX2 changes
2002-09-21 16:29:14 +00:00