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
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
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
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
Glenn Maynard
0e44b32a58
Gross. VC7 calculates dependencies *after* the pre-build rule (so it's not
...
really pre-build), so after a build, it thinks verstub.cpp has been modified.
So we get to use the same build hack here, too.
2002-08-29 00:36:50 +00:00
Glenn Maynard
2b51ea0d05
Add Disasm to the projects.
...
Add build rules for incrementing the build number. (Note that since
VC6 doesn't have pre-build rules, we have to compile and link it manually.
It's a somewhat ugly hack, but it works. In VC7 we can just make it a
normal source file and regenerate it as a pre-build step.)
Turn on .MAP generation. Make sure it always goes into the intermed
path, so it doesn't clutter the output path.
Add rules for generating the VDI debug file from .MAPs.
(I'm not committing the code to actually enable this yet; I want to iron
out any problems these build rules cause first.)
2002-08-29 00:20:09 +00:00
Glenn Maynard
d7f88eb1dd
exception handling is overridden on the commandline, so turn it off
...
here (to silence a warning)
2002-08-28 23:48:47 +00:00
Glenn Maynard
7fa71beb31
exception handling is overridden on the commandline, so turn it off
...
here (to silence a warning)
2002-08-28 23:48:07 +00:00
Glenn Maynard
ed95ded513
fix a couple VS7 warnings
2002-08-28 23:40:51 +00:00
Glenn Maynard
b00c8d5413
Remove HighComboAlert_OnceOnly. (Added this because I wasn't
...
sure which was right, and it looked like =true was the behavior it
was trying for, but =false is normal arcade behavior and I can't think
of any real reason for it to ever be true.)
2002-08-28 09:00:17 +00:00
Glenn Maynard
3b44b32e0e
bugfixes
2002-08-28 07:39:17 +00:00
Glenn Maynard
f8916ab31d
Do away with LPCTSTR. (We're not making a Unicode build, and if
...
we were it's not being used everywhere it would need to be. If we want
Unicode support, that's probably not the way to do it anyway ...)
2002-08-28 07:04:52 +00:00
Glenn Maynard
6c6b50ac6b
save the whales!
...
save before committing!
2002-08-28 03:31:17 +00:00
Glenn Maynard
edde0d8432
Recompiled so it doesn't expect a PDB.
2002-08-28 03:18:46 +00:00
Glenn Maynard
81f626e473
Line debug info only; this fixes some loud linker warnings in SM when
...
the PDB isn't there. (Better than making people build this; don't want
to check in the PDB since it's about 800k.)
Add ".." to include paths; fixes compilation for me.
Just specify the library "strmiids.lib"; it should be in the library
path. (It isn't in "..\..\..\..\..\..\lib" ...)
2002-08-28 03:14:59 +00:00
Glenn Maynard
9d6d520273
fix compile errors in vc6
2002-08-28 01:16:20 +00:00
Glenn Maynard
2f36046dd6
Do away with LPCTSTR. (We're not making a Unicode build, and if
...
we were it's not being used everywhere it would need to be. If we want
Unicode support, that's probably not the way to do it anyway ...)
2002-08-28 00:35:55 +00:00
Glenn Maynard
7941a1ddf2
more crash screen stuff
2002-08-27 23:48:11 +00:00
Glenn Maynard
307b50179a
s/VirtualDub/StepMania/ (in display, anyway)
2002-08-27 23:16:52 +00:00
Glenn Maynard
0918dd3c9a
Turn on memory leak checking.
2002-08-27 22:07:31 +00:00
Glenn Maynard
2e2b3d09bf
Disasm/crash code.
2002-08-27 22:02:30 +00:00
Glenn Maynard
6b342373ad
Disasm/crash support binaries. (These are generated from disasm/; it's
...
straightforward but not worth making a project for.)
2002-08-27 22:01:43 +00:00
Glenn Maynard
484fc403e6
Source and documentation for disasm/crash dialog support code.
2002-08-27 22:00:41 +00:00
Glenn Maynard
c2379b6a52
Resources for new crash dialog.
2002-08-27 22:00:03 +00:00
Glenn Maynard
7702fb7e7a
Bitmap for new crash dialog.
2002-08-27 21:59:35 +00:00
Glenn Maynard
2da12c5d57
fix init
2002-08-27 20:25:51 +00:00
Glenn Maynard
1efce9f7f7
Add Reset().
...
Reset combos and judgements in Player::Load().
const stuff.
2002-08-26 08:11:52 +00:00
Glenn Maynard
35b9371edb
Make sure we don't have problems with %'s in trace parameters.
...
Use va_end.
2002-08-26 06:40:49 +00:00
Glenn Maynard
657614d11a
Use initializer lists; faster.
2002-08-26 06:39:51 +00:00
Glenn Maynard
4b9404c5c2
(more of the same)
2002-08-26 05:04:54 +00:00
Glenn Maynard
e22fdeefcd
Make the callbacks static members, so they can access private members.
...
Make m_pJoystick and GetDirectInput private.
Don't bail out on Update if the joystick fails, since we still have more
devices. Just log--handle error conditions on our own.
Reduce Windows types in the interface; eventually it'll need to be
clean.
Remove unused Get*Device functions.
2002-08-26 05:01:25 +00:00
Glenn Maynard
8658b101cc
Don't export PumpButtonNames; compact the header a bit.
2002-08-26 04:46:16 +00:00
Glenn Maynard
cb73056691
Since we allow escape to back out of the demonstration, allow BACK to,
...
too.
2002-08-26 03:51:12 +00:00
Glenn Maynard
40d96cc613
Move the last global to the class.
...
Make m_iSelectedStyle a bitfield, which simplifies some things.
Don't select player 1 if player 2 selects at the last second.
2002-08-26 01:20:03 +00:00
Glenn Maynard
2f3d12ee8e
Use a message to end the selection, instead of a global float.
2002-08-26 00:57:40 +00:00
Glenn Maynard
a30399d3bc
Animate during Update, not rendering, and make it honor tab/~.
2002-08-26 00:40:12 +00:00
Glenn Maynard
34f62d8d56
simplify
2002-08-26 00:19:59 +00:00
Glenn Maynard
8b6b4043ef
(typo)
2002-08-25 19:54:14 +00:00
Glenn Maynard
a5df78e77d
fixup skins/noteskins paths
2002-08-25 06:01:03 +00:00
Glenn Maynard
13af77a570
Remove HoldNote.h.
2002-08-25 05:50:32 +00:00
Glenn Maynard
b3cb136f04
Fix up editing hold notes.
2002-08-25 05:00:23 +00:00
Glenn Maynard
3d84bc6135
Comments.
2002-08-24 22:49:10 +00:00
Glenn Maynard
c6cfa14c1a
Don't render the beginning of the song when cancelling out of gameplay.
2002-08-24 22:48:16 +00:00
Glenn Maynard
ac95c478f5
Update.
2002-08-24 21:25:35 +00:00
Glenn Maynard
f54cb254a6
Add GroupList.
...
(Group list from the group select screen, with no limit on song count.)
2002-08-24 20:36:29 +00:00
Glenn Maynard
849086a3ba
fix error (must remember to clear cache when testing this type of thing)
2002-08-24 09:24:53 +00:00
Glenn Maynard
30dd7ab9b2
Two different pieces of code in the editor were initializing a "new" song,
...
and they were both being triggered. Only do it in the ctor, since we need
the information that's being initialized elsewhere in the editor.
2002-08-24 08:28:44 +00:00
Glenn Maynard
79bc58aedd
Fix a bug in the m_sSongFileName optimization; add an assertion for it.
2002-08-24 07:57:28 +00:00
Glenn Maynard
d52224560e
implement m_bDelayedEscape
2002-08-24 06:34:15 +00:00
Glenn Maynard
1d2e3faefd
Add MusicList (move column display out of ScreenSelectGroup). Doesn't
...
have a group limit (but ScreenSelectGroup still does)
2002-08-24 06:30:32 +00:00
Glenn Maynard
4e4be34e61
Remove unused sound.
2002-08-24 04:44:47 +00:00
Glenn Maynard
73cc0c48f3
Update.
2002-08-24 04:33:10 +00:00
Glenn Maynard
45003ad3a6
Rename m_szStyleName back to m_szName. (Makes more sense,
...
now that I know more about what it does: nothing at all, so it's just
the name of the def itself, not the name of the data loaded.)
2002-08-24 04:26:28 +00:00
Glenn Maynard
cc63cec6f6
Fix braindead change on my part (though I don't think it actually
...
broke anything)
2002-08-24 04:25:30 +00:00
Glenn Maynard
31075451d6
Go back to the correct screen when backing out of the options
...
menu in oni/endless.
2002-08-24 02:46:09 +00:00