Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 08da79a366 Remove a CMap. This is simpler, anyway. 2002-09-07 06:46:18 +00:00
Glenn Maynard eeb406830f update 2002-09-07 06:37:25 +00:00
Glenn Maynard e32ed54af2 Eh, better off just not *loading* incomplete songs than adding
cases for it elsewhere.  (Not going to do that until I have a place
to put warnings, though.)
2002-09-07 06:32:12 +00:00
Glenn Maynard e992012de2 some work to make it possible to start with incomplete songs (without
music)
2002-09-07 06:26:00 +00:00
Glenn Maynard 811b90524f remove obsolete /* */s 2002-09-07 06:16:29 +00:00
Glenn Maynard ae303c6a79 /* */ 2002-09-07 06:12:41 +00:00
Glenn Maynard 47acd6a329 Add edit style for second player couples. 2002-09-07 06:12:12 +00:00
Glenn Maynard 40f9f8c238 Don't randomly change backgrounds when all we have is one
image; we end up looping movies.
2002-09-07 05:53:24 +00:00
Glenn Maynard 35e5845ba7 Fix missing const that was causing the virtual to not align. (Why
doesn't VC warn about this?!)
2002-09-07 05:34:05 +00:00
Glenn Maynard b19c400fd7 /* */ 2002-09-07 05:10:02 +00:00
Glenn Maynard 33a0e450e4 Switch to separate note patterns for couples. Add loader support.
This will break saving couples to DWI and probably the editor, too.
Getting to that.
2002-09-07 05:04:04 +00:00
Glenn Maynard a5e42d4940 trivial changes that VC insists on making 2002-09-07 02:47:00 +00:00
Glenn Maynard 7e7f7f00bb remove a couple exclusions 2002-09-07 02:45:27 +00:00
Glenn Maynard 1071ca6ff2 clarify 2002-09-07 01:56:06 +00:00
Glenn Maynard 570be0a738 Move loaders into their own classes. 2002-09-06 23:36:04 +00:00
Glenn Maynard 17f9801cb5 Move debug/release to debug6/release6.
Add new files.
2002-09-06 23:34:55 +00:00
Glenn Maynard 3bbfa5baf0 Move loaders into their own classes.
(These should have a common base class, but that can be done later;
I'm doing this to make it a bit more manageable so I can add the
new couples format to these.)
2002-09-06 23:24:40 +00:00
Glenn Maynard 9823bd8ac7 more! more! 2002-09-06 21:34:17 +00:00
Glenn Maynard 3d6cf803da remove "xxx" in comment (shows up as a fixme in my searches) 2002-09-06 21:29:07 +00:00
Glenn Maynard 2aaf1373d6 remove slightly confusing comment 2002-09-06 21:25:07 +00:00
Glenn Maynard e4ebbc24b0 Remove AssertThemeIsComplete references; the code isn't
there at all.
2002-09-06 21:21:07 +00:00
Glenn Maynard 0deee30dc6 More fallback code. 2002-09-06 10:15:00 +00:00
Glenn Maynard d0ac7e9068 trivial 2002-09-06 10:13:46 +00:00
Glenn Maynard 747e32f8dc fixes. 2002-09-06 09:10:55 +00:00
Glenn Maynard 13d6d5f116 Couples stuff. Not complete, but functional; more coming and this
stuff needs testing.
2002-09-06 08:56:28 +00:00
Glenn Maynard fa0916e1e0 Make Convert2sAnd3sToHoldNotes delete 2s and 3s. 2002-09-06 05:24:59 +00:00
Glenn Maynard 504cc93ac5 dur. 2002-09-06 03:03:02 +00:00
Glenn Maynard 9e2b308da2 simplify 2002-09-06 02:54:28 +00:00
Glenn Maynard 87cd2f5495 simplify 2002-09-06 02:43:13 +00:00
Glenn Maynard 0d9bed6c51 Add missing consts. 2002-09-06 01:52:27 +00:00
Glenn Maynard 981da81f93 Move ez2 actors out of m_frameStage; only use that for the
stage number actors.

Remove the m_frameStage ez2 special case; just put m_frameStage
on top.
2002-09-06 01:42:25 +00:00
Glenn Maynard ed0819d7cd Lots of variables. Let's try to scope them better, so it's easier to
tell (looking at less code) what's going on.
2002-09-06 01:21:32 +00:00
Glenn Maynard 0f5bc90e9c Simplify a little, add a couple traces 2002-09-06 00:33:51 +00:00
Glenn Maynard cea7ce4a73 /* ... */ 2002-09-06 00:32:19 +00:00
Glenn Maynard f762dccbae turn off some noisy debugs 2002-09-06 00:31:25 +00:00
Glenn Maynard b11f38ef7c bump cache, for previous '4' fix 2002-09-06 00:22:44 +00:00
Glenn Maynard 215d2ac87f Fix '4's showing up in autogen data; fixes bogus grades. 2002-09-06 00:21:49 +00:00
Glenn Maynard ee0649400d fix warning 2002-09-05 20:42:49 +00:00
Glenn Maynard 41d4db5e6f Fix assert fail. (Found this one by letting autoplay go for a while with
the debug console paused; might normally happen in a fast song after
losing a bunch of frames.)
2002-09-05 01:16:57 +00:00
Glenn Maynard 28e837e242 add ScreenManager::LoadPreppedScreen. 2002-09-04 23:40:01 +00:00
Glenn Maynard c6f6a8c409 HowToPlay pref. 2002-09-04 22:58:14 +00:00
Glenn Maynard b9f5a8ec99 Add non-breaking-space to menu. 2002-09-04 22:57:40 +00:00
Glenn Maynard 8e3c978640 Use MenuElements::ImmedOffScreenToMenu. 2002-09-04 22:56:35 +00:00
Glenn Maynard cc3a35eeba Add MenuElements::ImmedOffScreenToMenu. 2002-09-04 22:56:19 +00:00
Glenn Maynard 313359c2d7 bump tween update into a separate function 2002-09-04 21:53:43 +00:00
Glenn Maynard c8f5c0812c add HowToPlay toggle (I know how to play, and there are too many
startup screens ... probably another coming for the warning screen.)
2002-09-04 21:08:52 +00:00
Glenn Maynard 1e6faf12a6 Instead of choosing random songs in Endless, pre-shuffle them to
avoid repetition.
2002-09-04 03:29:42 +00:00
Glenn Maynard df7a03cd56 Abort tweens, to make sure everything has a chance to tween off
if the difficulty screen is rushed through.

Make sure all elements go completely off-screen; they weren't if the
tween-off started while an element was over the left edge of the screen
due to bounce.
2002-09-04 03:28:02 +00:00
Glenn Maynard 94a809e022 Abort tweens, to make sure everything has a chance to tween off
if the difficulty screen is rushed through.
2002-09-04 02:42:05 +00:00
Glenn Maynard b55843f919 Fix "ghosts" (stray glow) at the "press start for options" screen. 2002-09-04 02:17:40 +00:00
Glenn Maynard 4038786541 Fix assert fail. 2002-09-04 02:00:25 +00:00
Glenn Maynard 16a5971040 Fix assert fail in endless: reset the background number on reset. 2002-09-04 01:58:15 +00:00
Glenn Maynard 8b2b70dd1a Fix assert fail when mashing the course list. 2002-09-04 01:32:52 +00:00
Glenn Maynard 6ba291a058 update 2002-09-04 00:59:04 +00:00
Glenn Maynard af2426ba18 Load the gameplay screen while we're sitting at the stage screen; don't
sit around for four seconds, fade out and *then* load.
2002-09-04 00:27:36 +00:00
Glenn Maynard 1bf1f3e040 Don't cap update deltas. 2002-09-04 00:26:22 +00:00
Glenn Maynard 7b3491a7e9 Skip first update for each screen. (Explanation in comments.)
Add ScreenManager::PrepNewScreen.
2002-09-04 00:25:30 +00:00
Glenn Maynard a04d55438b Add Screen::FirstUpdate(). 2002-09-04 00:17:51 +00:00
Glenn Maynard f666a157d5 simplify 2002-09-03 22:49:11 +00:00
Glenn Maynard 106531a0f8 Remove unneccessary ez2 stage_mode hack.
(Well, it looks unneccessary: stage_mode is a local, and it's never
referenced in the period where it's hacked to NORMAL, and the
screen looks the same after this change ...)
2002-09-03 22:26:51 +00:00
Glenn Maynard bf039c9397 remove extra level of indentation (no other changes) 2002-09-03 21:57:32 +00:00
Glenn Maynard c4a8904c90 remove extra level of indentation (no other changes) 2002-09-03 21:54:13 +00:00
Glenn Maynard c8f4e8deee bool BooleansAreGood=true; 2002-09-03 21:53:15 +00:00
Glenn Maynard 58223a239a FIx score tweening during sort change. This also fixes assertion
failures pressing left/right when changing tweens .
2002-09-03 21:12:02 +00:00
Glenn Maynard edb4ee6e97 update 2002-09-03 10:09:22 +00:00
Glenn Maynard a78bcf7c7f Make the shut-down-bass hack a little less ugly. 2002-09-03 05:55:12 +00:00
Glenn Maynard 1f2e6f7338 fix backlog_cnt error 2002-09-03 05:52:08 +00:00
Glenn Maynard 1e6ff21cef Move actual screen creation to a separate function.
Clear the directory cache when we load a new screen.
2002-09-03 05:43:58 +00:00
Glenn Maynard 1f60ba9bfd Add m_bVsync. 2002-09-03 00:22:19 +00:00
Glenn Maynard 0b75b00f55 Implement m_bVsync. 2002-09-03 00:22:00 +00:00
Glenn Maynard 153d62b070 fix dim tweening 2002-09-03 00:19:54 +00:00
Glenn Maynard 329785794b Fix crash when less than 30 played songs. 2002-09-03 00:05:25 +00:00
Glenn Maynard a90c6db3b0 Move mapconv and verinc binaries alongside their source and don't
clutter the main dir with them.
(missed)
2002-09-02 23:50:08 +00:00
Glenn Maynard d7e6f59b3b Move mapconv and verinc binaries alongside their source and don't
clutter the main dir with them.
2002-09-02 11:48:33 +00:00
Glenn Maynard cb248c2ee3 Rename this; it's more of a notepad than a real TODO. Update. 2002-09-02 11:33:07 +00:00
Glenn Maynard ead8903bfb vc6 fixes 2002-09-02 10:41:56 +00:00
Glenn Maynard 21ced7118d Open RageException dialog even if LOG == NULL. 2002-09-01 01:23:07 +00:00
Glenn Maynard dfb3fd2b16 Clean up and optimize splitrelpath.
Add GetExtDirListing and GetExtDirListingV, for fast searches for
files by directory, filename prefix and extension.

Note a change in behavior due to this: all theme files will load as
prefixes, not just graphics.  (eg. "title sound (abc)" will load for "title sound",
just like "title graphic (abc)" loads for "title graphic".)  This seems more
consistent anyway, but if it's a problem it's easily fixed.

(Profiling showed that we were spending a decent amount of time reading
directories; this is because we were making separate calls for each
theme extension.)
2002-09-01 00:37:10 +00:00
Glenn Maynard b0e3b7af6f simplify 2002-08-31 19:13:45 +00:00
Glenn Maynard f886280ab5 Only check for new themes once a second, not once per GetMetric
call.  This bumps the framerate on my system at the select music
screen (without vsync, fullscreen) from 120 fps back to 190.
2002-08-31 10:33:13 +00:00
Glenn Maynard bcf0bc3a0a const, extra semicolons 2002-08-31 07:08:25 +00:00
Glenn Maynard 0a9c319a10 Fix scrollbar tweening. (Previously, the scrollbar wouldn't reappear
after changing sorts; it'd keep moving right.)
2002-08-31 06:43:28 +00:00
Glenn Maynard ad5f294ae4 m_EffectType is now a bitfield, so we can have multiple effects on
at once.

There's no interface to this, but it works with courses.

drunk, dizzy, dark is amusing. "That arrow goes WHERE?"
2002-08-31 03:04:38 +00:00
Glenn Maynard 7ffc481c63 Update. 2002-08-31 01:22:52 +00:00
Glenn Maynard 0a8f16e2bb cleanup 2002-08-31 01:20:34 +00:00
Glenn Maynard 6816c3b433 comments 2002-08-30 22:53:31 +00:00
Glenn Maynard fe1c946bba Update. 2002-08-30 22:25:32 +00:00
Glenn Maynard 6d1b53ffa9 Fix extra space in full title; this fixes "song .sm" from the editor. 2002-08-30 22:22:46 +00:00
Glenn Maynard 98f16de9ce Don't hide the current extra stage. 2002-08-30 21:51:40 +00:00
Glenn Maynard fde01d42a2 break off GetExtraStageInfoFromCourse 2002-08-30 20:49:56 +00:00
Glenn Maynard 7cacbe59f7 Update underline after updating refresh rate.
Put the default refresh back to "default"; some systems apparently
think they have refresh rates that they don't.

Make refresh "0" and max "1", so people with existing INI files keep
"default".
2002-08-30 06:18:30 +00:00
Glenn Maynard 33f20a1f85 KSF files, at least, are often missing closing ;'s. Cope. 2002-08-30 05:05:34 +00:00
Glenn Maynard bb94538c53 oops. 2002-08-30 04:54:28 +00:00
Glenn Maynard 1e0f31f75d update 2002-08-30 04:32:39 +00:00
Glenn Maynard 441541a16c Add #SELECTABLE:YES, NO and ROULETTE.
Add an option for this.  It's off by default.
2002-08-30 04:28:12 +00:00
Glenn Maynard 92ccf96768 Well, I've received complaints about my other errors, but nothing about
the build rules, so I'm assuming they're at least not blowing up at anyone.

Enabling the debug crash window.

More details will go to sm-devs.
2002-08-30 01:06:23 +00:00
Glenn Maynard 2e34fe2ca6 Use CreateDirectories. 2002-08-30 00:37:53 +00:00
Glenn Maynard 27decf5ca2 Add CreateDirectories.
Fix, simplify and optimize split().
2002-08-30 00:28:20 +00:00
Glenn Maynard 65f5ba986a me += brown paper bag 2002-08-29 23:24:00 +00:00
Glenn Maynard 43873128df Send traces to the crash handler. 2002-08-29 23:07:55 +00:00