Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard ca0e88c0a8 Fix images not being seen on first load.
Work around broken data with leading spaces in the path.
2003-04-20 23:45:01 +00:00
Glenn Maynard f33f42e8c6 disable note type check; it's problematic 2003-04-20 22:57:35 +00:00
Glenn Maynard 9b877232c7 fix cdtitle rate 2003-04-20 22:56:54 +00:00
Glenn Maynard e2f1e6bda9 cleanup
use function-style or C-style casts, not static_cast; they're identical
and easier to read
2003-04-20 22:08:32 +00:00
Glenn Maynard 862421014e move some Win32-specific config stuff where it belongs
move defines
simplify
2003-04-20 22:05:13 +00:00
Glenn Maynard 94e6cc79e7 move defines 2003-04-20 22:04:31 +00:00
Glenn Maynard 6769ada2e5 move some Win32-specific config stuff where it belongs 2003-04-20 22:04:09 +00:00
Glenn Maynard c3c090799d Apologies for abruptly reverting things, but compilation in Windows is
highest priority.  See my post to stepmania-devs for explanations.
2003-04-20 21:28:02 +00:00
Glenn Maynard e55fc3fdc7 fix course difficulty crash 2003-04-20 20:38:17 +00:00
Glenn Maynard feb984858b Revert the transition/actor tween length stuff; it breaks things. 2003-04-20 04:05:17 +00:00
Glenn Maynard 076ab14015 fix style picture glow being left behind 2003-04-20 02:37:58 +00:00
Glenn Maynard e4ec11ef62 improve credits alignment 2003-04-20 02:15:24 +00:00
Glenn Maynard 6316f789ac fix scrollbar oddness when there are exactly NUM_WHEEL_ITEMS
onscreen
2003-04-20 02:02:58 +00:00
Glenn Maynard 41a82fa069 Uninstall sample courses. 2003-04-20 01:52:49 +00:00
Glenn Maynard 2ef9205ca2 Only show a song as difficult if it's difficult in the current play mode. 2003-04-20 01:40:40 +00:00
Glenn Maynard 15e6234625 fix up a rather fear-inspiring conditional 2003-04-20 01:31:13 +00:00
Glenn Maynard fef2766100 fix difficulty display after changing difficulty for random courses 2003-04-20 01:26:49 +00:00
Glenn Maynard 4a848d9a3d update course help message 2003-04-20 01:26:04 +00:00
Glenn Maynard d3778416c3 Add banner cache control. 2003-04-20 01:10:15 +00:00
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
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
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
Glenn Maynard d3048641b1 update
add clip plane control
fix INI silliness
2003-04-17 21:16:56 +00:00
Glenn Maynard 07c0cdd64e add near/far clip plane control to EnterPerspective 2003-04-16 18:57:20 +00:00
Glenn Maynard da5e1c6d00 Don't lock left/right input. It's annoying to have to wait for the tween
to completely finish before being able to do anything.

In theory, you could get to the second screen before it finishes tweening
in, but it's next to impossible to do this normally, and harmless if it actually
happens (try it while holding `).
2003-04-16 02:22:24 +00:00
Glenn Maynard f17e4ceaea Simplify, so I don't have to wrap every call to Mode. 2003-04-15 02:52:58 +00:00
Glenn Maynard 577c8567d4 get rid of the frame; it helps less now than it did when I added it,
and the combo needs to be above the backdrop
2003-04-14 23:09:35 +00:00
Glenn Maynard 1f20439578 -/**/ 2003-04-14 22:36:04 +00:00
Glenn Maynard 51a15b2ab2 use arrowbackdrop
Put everything that's aligned with arrows in a frame
2003-04-14 22:32:08 +00:00
Glenn Maynard 0da60be948 update NFP 2003-04-14 22:23:13 +00:00
Glenn Maynard 3d90301e70 add ArrowBackdrop 2003-04-14 22:21:09 +00:00
Glenn Maynard da117055a5 Add quaternion commands to Actor. These are always additive. 2003-04-14 22:01:57 +00:00
Glenn Maynard b2df827995 add quaternion math 2003-04-14 21:58:19 +00:00
Glenn Maynard fb048fc9c7 fix compile 2003-04-14 04:35:19 +00:00
Glenn Maynard 5ea408a547 Fix SSelectStyle when JP is off.
Let's always set names, even if we're not going to use something, so
if something does go wrong and we use it when we didn't expect to,
we can get a useful error message.
2003-04-14 03:26:53 +00:00
Glenn Maynard 1ac4953877 fix bogus warning 2003-04-12 20:23:27 +00:00
Glenn Maynard 755e8f5bf5 fix compile in release 2003-04-12 20:22:42 +00:00
Glenn Maynard eb1e2a0435 use SDL_GetEvent 2003-04-12 19:03:02 +00:00
Glenn Maynard 3046f71c66 add SDL_GetEvent 2003-04-12 19:00:56 +00:00
Glenn Maynard f982d75691 Fix locking.
(Oops, I guess this is a remnant of the original test code, that did use SDL audio ...)
2003-04-12 18:10:50 +00:00
Glenn Maynard 625b1beb04 add checkpoints 2003-04-12 16:12:01 +00:00
Glenn Maynard 043d250d87 fix autoplay in courses 2003-04-12 16:10:19 +00:00
Glenn Maynard ca48082f50 comment 2003-04-12 16:09:07 +00:00
Glenn Maynard ae39d652fd Finishing from last night; thank my cable modem for going out in the
middle of a commit ...
2003-04-12 16:06:06 +00:00
Glenn Maynard ca1b94a043 LLW_SDL now handles its own SDL events, instead of being fed them
by StepMania.cpp.  This simplifies things; SM.cpp no longer has to
direct SDL messages all over the place.
2003-04-12 02:30:28 +00:00
Glenn Maynard 60dc76cff8 Add RageDisplay::Update().
ResolutionChanged() is now called by the LowLevelWindow when
the res changes, instead of the other way around.
2003-04-12 02:28:26 +00:00
Glenn Maynard 98628c554b (this is all handled in InputHandler_SDL) 2003-04-12 02:21:50 +00:00
Glenn Maynard 94836c7be1 add InputHandler_SDL 2003-04-12 02:20:38 +00:00
Glenn Maynard dfa597bbd5 Add InputHandler for SDL input types, instead of handling them as a
special case in RageInput.
2003-04-12 02:15:23 +00:00
Glenn Maynard 7d919be169 update comment 2003-04-12 02:14:00 +00:00
Glenn Maynard 483a305c6b Get rid of inline function; doesn't need to be. Reduce dependencies. 2003-04-11 15:55:20 +00:00
Glenn Maynard 4e8eb0a96f add missing header 2003-04-11 15:53:32 +00:00
Glenn Maynard 0a3da7bcba (huh? already removed these) 2003-04-11 15:53:06 +00:00
Glenn Maynard 3d0ad7955c update 2003-04-10 19:04:10 +00:00
Glenn Maynard 0e8eb7060f fix compile 2003-04-10 18:41:59 +00:00
Glenn Maynard 6e6c60858a consolidate Enable/DisableTextureWrapping 2003-04-10 18:25:17 +00:00
Glenn Maynard 753507fce8 Oops. smPostMultMatrixf was a pre-multiply.
Rename smPostMultMatrixf to PostMultMatrix; add PreMultMatrix
and alias it to MultMatrix.
2003-04-10 17:58:27 +00:00
Glenn Maynard abc65f828f modifer modes update 2003-04-10 08:49:25 +00:00
Glenn Maynard 476de3d690 fix compile 2003-04-10 08:40:40 +00:00