Commit Graph

811 Commits

Author SHA1 Message Date
Glenn Maynard e85ab4d5f5 fix for dumb VC6 incompatibilities 2002-10-13 17:37:29 +00:00
Glenn Maynard 5789e0800f Add #ifdef blocks and stubs to disable sound, for VTune. Hopefully these
can go away when we drop bass ...

Constness.
2002-10-13 17:30:48 +00:00
Glenn Maynard c4eb7b65b4 cosmetic 2002-10-13 06:35:17 +00:00
Glenn Maynard c68ed36f76 Make the CTextureRenderer a local, since it's freed by m_pGB, and
we can set it all up in init.
2002-10-13 05:12:40 +00:00
Glenn Maynard 71f31ef3af Fix a crash when we get a texture smaller than the movie. (This isn't
ideal; the movie will get clipped.)

Add a bunch of traces to try to track down that other annoying crash.
2002-10-13 03:36:37 +00:00
Glenn Maynard 9360874c9c Make sure we don't allow "holding" a hold note we missed completely.
(There was a short window where you could miss a hold, but still keep
it lit.)
2002-10-12 22:21:08 +00:00
Glenn Maynard cace14efba (Actually, that tap score wasn't needed, but it could be useful later, so
I won't bother to remove it.)

Don't trigger an NG if the hold tap was missed completely, and don't apply
any associated penalties.
2002-10-12 22:17:16 +00:00
Glenn Maynard 064d3f2230 Pass the initial tap note score to ChangeLife for hold notes; it's needed to
handle Oni penalties correctly. (not actually doing that yet)
2002-10-12 22:04:44 +00:00
Glenn Maynard 5f5ed86c7e Add SetTapNote (needed for another fix) 2002-10-12 21:41:15 +00:00
Glenn Maynard e5d4f980fb fix more buffer overruns; use GetTapNote/SetTapNote to simplify
some things.  (not going to try to use it everywhere yet, just using them
as convenient)
2002-10-12 21:40:55 +00:00
Glenn Maynard 813703eeab Fix another CopyRange buffer overflow. 2002-10-12 21:16:21 +00:00
Glenn Maynard b157f4c46c Fix drawing garbage (possibly crashing) when at the very bottom
of the allowable row range.
2002-10-12 21:15:41 +00:00
Glenn Maynard 05560299ec Add GetTapNote (needed for another fix) 2002-10-12 21:14:40 +00:00
Glenn Maynard 23cb6684b1 Fix buffer overflow when passing MAX to CopyRange.
(Note: the local SMTP server on the CVS box appears to have gone
down, so some CVS commit mails have probably been lost.)
2002-10-12 20:58:16 +00:00
Glenn Maynard b8b632fc76 Fix buffer overflow when passing MAX to ClearRange. 2002-10-12 19:57:18 +00:00
Glenn Maynard c868d447bf fix courses with songs not in Songs\ 2002-10-12 19:30:15 +00:00
Glenn Maynard a647089528 copy hold notes, too 2002-10-12 02:15:29 +00:00
Glenn Maynard a0ef8cc71e Fix tweening crashes. 2002-10-12 01:49:41 +00:00
Glenn Maynard 4f5377b202 quiet spurious warning 2002-10-12 01:15:39 +00:00
Glenn Maynard 27cd560b37 Fix memleak.
(This is caused by it not being clear what is "eating" pointers and what
is not.  That'd be helped a lot if the appropriate parameters were const
refs instead of non-const pointers--but the 2sand3s and 4s conversions
are being done, which prevents that.)
2002-10-12 00:39:00 +00:00
Glenn Maynard 3d8eccb8be Move ticks to a separate function 2002-10-12 00:32:47 +00:00
Glenn Maynard d0c7a7e303 cleanup: Init always allocates, ctors always zero 2002-10-12 00:22:04 +00:00
Glenn Maynard 73188fab68 Allocate the tapnote array; it's so large it's causing stack problems, so get
it off the stack.
2002-10-11 23:23:49 +00:00
Glenn Maynard fd1d2e82ed Test for hold note crossing in "4-space". This fixes rounding problems
and is much faster (converting to 4s is a little too slow to be done in
an inner loop).
2002-10-11 20:51:12 +00:00
Glenn Maynard a8869f2afe simplify (no need to cache a vector/array GetSize()) 2002-10-11 20:49:50 +00:00
Glenn Maynard ca652a6486 don't copy the same data hundreds of times for no particular reason 2002-10-11 20:47:28 +00:00
Glenn Maynard 314c3ecc39 same: remove a level of indentation 2002-10-11 18:25:15 +00:00
Glenn Maynard b90af9fdf4 all this does is remove a level of indentation; diff isn't very smart
about that.
2002-10-11 18:23:05 +00:00
Glenn Maynard cc0735ecd7 quiet warning in ddk header 2002-10-11 17:52:02 +00:00
Jared Roberts 02dc122958 Fix off-by-two sign error in determining how many songs are not visible in the list.
Also, never show "1 more...", just show the song itself instead.

One of those bugs that's irked me for awhile that I think I'm the only one on the planet who even noticed...
2002-10-11 09:28:00 +00:00
Chris Danford 7a86e684a1 Fixed editor: "music quits early on playback" and "record laying a hold leaves a tap near head" 2002-10-10 07:05:26 +00:00
Chris Danford 5c81cefb4b Fixed DWI saving error. 2002-10-10 05:17:56 +00:00
Chris Danford c43acf0990 Fixed mis-ordering of EZ2 styles that cause wrong style to be played. 2002-10-10 04:33:49 +00:00
Chris Danford 5e9a6a4df6 Added fade between movies and touched up some graphics 2002-10-10 04:11:30 +00:00
Chris Danford 8770a98106 Fixed bug in Song::GetElapsedSeconds from beat. Was causing problems with J-Paradise 2002-10-09 18:14:29 +00:00
Chris Danford 1e46506431 Fixed crash in editor after playback 2002-10-09 17:53:52 +00:00
Chris Danford dc413f8ebc Fixed crash in editor after playback 2002-10-09 17:44:32 +00:00
Chris Danford 22d3b994d2 Fixed goofiness with default judge window setting. 2002-10-09 16:55:59 +00:00
Chris Danford 812a93d732 Fixed crash if no visualizations present 2002-10-09 16:21:35 +00:00
Chris Danford 6bc7b349fb Songs not in same group as extra stage can now be used as an extra stage 2002-10-09 06:57:37 +00:00
Brendan Walker cf34ef6c2f fixed VC6 project error 2002-10-09 03:39:14 +00:00
Chris Danford 3bcab1d53f Fixed some ugliness in Extra Stage 2002-10-08 23:39:18 +00:00
Chris Danford 36ef379d37 fixed ez2 real style spacing 2002-10-08 22:38:06 +00:00
Chris Danford 516eedc93b Stale lock removed yet? 2002-10-08 21:57:48 +00:00
Chris Danford 8a41ab45d3 Fixed compile error in VC6 release 2002-10-08 08:53:38 +00:00
Chris Danford 054847e12f Fixed stupid DWI write bug 2002-10-08 08:22:04 +00:00
Chris Danford 1b5dd73855 Now reads fractional index values from DWI for #FREEZE and #BPMCHANGE 2002-10-08 07:55:14 +00:00
Chris Danford b1a58e30b4 Song Backgrounds no longer show in editor 2002-10-08 00:39:31 +00:00
Chris Danford 838dec544b Default setting for "Ignore Joy Axes" is now ON. Fixed crash in Para demonstation. 2002-10-08 00:24:46 +00:00
Chris Danford 888e937b83 Gameplay fade out now happend on notes end, not music end 2002-10-08 00:04:22 +00:00