Commit Graph

28497 Commits

Author SHA1 Message Date
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
Glenn Maynard 99853f04cf Use builtin memory-checks-on-exit, so we don't get memleak
notices for static/global objects.

Fallback to default refresh instead of max.
2002-08-29 23:05:54 +00:00
Glenn Maynard 0f7e9874cc break apart SwitchDisplayMode 2002-08-29 22:30:06 +00:00
Glenn Maynard 53acc507f7 Quiet the CheckDeviceType logs a bit. 2002-08-29 21:52:26 +00:00
Glenn Maynard e8eb97c9cf Move GetAdapterIdentifier check into ctor, so it's not done multiple
times if the first SwitchDisplayMode fails.

Don't print spurious "supports the following modes".
2002-08-29 21:48:57 +00:00
Glenn Maynard e96941e288 const stuff 2002-08-29 21:30:16 +00:00
Glenn Maynard e28dca7fe1 More LPCTSTR.
Add currently unused fnmatch-based filename searching.  (This has
the advantage that we can search for any number of masks without
grabbing the directory tree multiple times.)
2002-08-29 21:02:04 +00:00
Glenn Maynard 5ab889f509 Deal with systems that have different refresh rates available at 16bpp
and 32bpp.

(There are still systems that report refresh rates they can't really use ...
need to probe, I think.)
2002-08-29 20:59:47 +00:00
Glenn Maynard 2a5d068a6c unused label 2002-08-29 20:41:28 +00:00
Glenn Maynard ebac0bc8ec "max refresh" tests format (might have more available at 16bpp than
32bpp, though we're only ever 16bpp right now anyway)

Merge format lists.
2002-08-29 20:21:30 +00:00
Glenn Maynard 9407f88d39 oops? 2002-08-29 20:19:13 +00:00
Chris Danford 6e5ebcf30c Ez2 changes 2002-08-29 20:18:41 +00:00
Glenn Maynard 7b53966811 remove utils/fnmatch 2002-08-29 09:02:56 +00:00
Glenn Maynard 2bf820b7a9 Add last ditch defenses. 2002-08-29 08:58:40 +00:00
Glenn Maynard b7ca99c6d0 need a larger buffer; add checks for this 2002-08-29 08:55:24 +00:00
Glenn Maynard 84bdeed604 i don't think we're in VirtualDub any ^Hmore, toto 2002-08-29 07:02:14 +00:00
Glenn Maynard 5bfe84ae26 i don't think we're in VirtualDub any more, toto 2002-08-29 07:01:13 +00:00
Glenn Maynard 2c67a6d5a7 Add sanity check to catch the error I just corrected. 2002-08-29 06:13:34 +00:00
Glenn Maynard 48d21dc033 fix macro error 2002-08-29 06:10:12 +00:00
Glenn Maynard da777ba811 Sync this up a little with the main code. (Done while debugging ...) 2002-08-29 06:09:39 +00:00
Chris Danford 6d7da107f3 Added assist tick and text field editing to editor. Cleaned up more theme metrics stuff. 2002-08-29 04:56:03 +00:00
Chris Danford 5fb403639f Moved even more constants into theme metrics 2002-08-29 01:38:21 +00:00
Glenn Maynard fdd2cf304a add verinc source 2002-08-29 01:30:42 +00:00
Glenn Maynard fcb8bdeeb3 (GRIPE)
If we list verstub.obj in the dialog for extra dependencies, it counts it
as a full dep; since we change it every build, that means the binary
is never actually considered up to date.  We need to list it as an extra
option to the linker, so it gets linked without being factored into
dependencies.
2002-08-29 01:29:08 +00:00