Commit Graph

3029 Commits

Author SHA1 Message Date
Glenn Maynard 96bb2d0738 Add banner cache control.
Oops, another options menu starting to overflow vertically.  Need
scrolling ...
2003-04-20 01:08:39 +00:00
Glenn Maynard f7b856f3c2 Add an option to preload all banners. This adds to the screen load
time, but makes the actual screen much cleaner.

Add an option to disable banner preloading completely, to remove all
long waits completely.  Don't ChangeBannersWhenFast if we're set
to this.
2003-04-20 00:53:15 +00:00
Glenn Maynard bd1baddf7f fix warning 2003-04-20 00:49:43 +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 f18034f7b3 inval song cache 2003-04-19 23:17:29 +00:00
Glenn Maynard 031c636304 add &planet; 2003-04-19 23:16:08 +00:00
Glenn Maynard 097ac92c9e Use WheelItemData::HasBanner and WheelItemData::GetBanner. 2003-04-19 22:54:15 +00:00
Glenn Maynard ff2b9072ac Add WheelItemData::HasBanner and WheelItemData::GetBanner. 2003-04-19 22:53: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
Glenn Maynard 147c2986e2 simplify, add some assertions 2003-04-19 22:24:01 +00:00
Glenn Maynard 88d378b69c Fix banner precaching. 2003-04-19 22:22:31 +00:00
Glenn Maynard 1f1ca8bff3 fix compile 2003-04-19 22:21:13 +00:00
Glenn Maynard 69e303605e Add Banner::BannerTex(). 2003-04-19 22:11:08 +00:00
Chris Danford b5f84045ac no message 2003-04-19 19:08:47 +00:00
Chris Danford 9aa6a8ab89 revert event mode 2003-04-19 19:05:25 +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
Glenn Maynard c939d40ae5 Move *.ini. 2003-04-19 17:59:26 +00:00
Glenn Maynard e2ddd86f9f Move high score files. 2003-04-19 17:53:40 +00:00
Glenn Maynard b6b46751b3 Move Translation.dat.
Remove crashinfo.txt on uninstall.
Fix course dist.
2003-04-19 17:53:10 +00:00
Glenn Maynard 89f209ab53 moved 2003-04-19 17:51:49 +00:00
Glenn Maynard 83d3b82bd5 move Translation.dat 2003-04-19 17:46:07 +00:00
Glenn Maynard b7bdf4cd9c Moving some data files to Data/.
We have too much stuff in the top directory, and it's become a mess.
I'm moving all single data files in here--*.dat, *.ini.  Some of these are
read-only, some are read-write; I'm not splitting those here, since having
too many tiny directories is also unmanagable.  (We can do that in Unix
later without doing it in Windows, though, where R/W files should go
in ~/.StepMania/.)
2003-04-19 17:33:44 +00:00
Glenn Maynard 124fe039fd typo 2003-04-19 09:46:22 +00:00
Glenn Maynard 82d926e62b If a message is delayed at all, always delay it at least two frames beyond
the time given.

Explanation for one of those frames is in the comments.  I'm not sure why
the second frame is needed, but it seems to get rid of cases where actors
occasionally don't tween completely off screen.
2003-04-19 09:07:40 +00:00
Glenn Maynard d55878cefc update comments 2003-04-19 09:05:08 +00:00
Glenn Maynard a036d0ca49 Add automatic font generator script for Photoshop. 2003-04-19 08:51:05 +00:00
Glenn Maynard 343b2cc875 Remade these fonts. 2003-04-19 08:38:35 +00:00
Chris Danford 74d7bcd2bf Revamp texture caching system 2003-04-18 23:55:20 +00:00
Glenn Maynard 0fcd675396 remove needed DLLs 2003-04-18 21:43:31 +00:00
Glenn Maynard b064c33dac no longer needed 2003-04-18 21:42:57 +00:00
Glenn Maynard 08424392ba update 2003-04-18 21:42:33 +00:00
Glenn Maynard c416b8d284 guh, fix vc6 build 2003-04-18 21:32:55 +00:00
Glenn Maynard a4b665d62a Tired of F4 triggering when I'm trying to Alt-F4. If you want to toggle
fullscreen, use Alt-Enter; that's what most apps use, anyway ...
2003-04-18 21:25:38 +00:00
Glenn Maynard 795eda2372 add "17 Ages" 2003-04-18 20:13:13 +00:00
Glenn Maynard b24a82be87 no ogg DLLs 2003-04-18 20:12:49 +00:00
Glenn Maynard 3e396c0e67 these are now linked statically 2003-04-18 20:11:09 +00:00
Glenn Maynard a29d19903d Add a workaround for the current nVidia driver problems. 2003-04-18 09:13:29 +00:00
Glenn Maynard a269621ffe Don't send the tween-finished message before all menu elements
have finished tweening.  Fixes tweening problems in the SMMAX2
options menus.

.
2003-04-18 09:11:46 +00:00
Glenn Maynard ba49be01c8 Make sure textDebug tweens off when the song ends 2003-04-18 04:00:24 +00:00
Glenn Maynard 9062b0ab38 more missing kanji 2003-04-18 03:39:17 +00:00
Glenn Maynard e7499e3add add missing kanji 2003-04-18 03:11:46 +00:00
Glenn Maynard 7184d4acd5 add positioning mode selection 2003-04-18 02:13:23 +00:00
Glenn Maynard 26ee13bb0c rename 2003-04-18 01:38:22 +00:00
Glenn Maynard a3aebd8dfc remove backdrop position (do it within the backdrop)
add hold judgement position
2003-04-17 23:21:22 +00:00
Glenn Maynard 924cb3f1bc allow positioning per-player
allow moving overlay graphics
2003-04-17 22:53:36 +00:00
Glenn Maynard ad1fd84656 add overloads 2003-04-17 22:50:54 +00:00
Glenn Maynard 920f2022c4 add arrow redirection in positioning types 2003-04-17 21:45:37 +00:00
Chris Danford 7e46786e0d fix hidden, sudden when using reverse 2003-04-17 21:44:33 +00:00
Glenn Maynard d3048641b1 update
add clip plane control
fix INI silliness
2003-04-17 21:16:56 +00:00