Commit Graph
18791 Commits
Author SHA1 Message Date
Glenn Maynard d6b5aa10ef add m_bTimingAssist 2003-03-27 00:49:48 +00:00
Glenn Maynard c19a3d8e22 add TimingAssist.* 2003-03-27 00:49:22 +00:00
Glenn Maynard 1c817ca08d Add TimingAssist; this roughly implements the timing helper in PNM.
This lets us add an announcer that's played after each non-perfect
step, eg. "gameplay assist late good".

It only works reasonably for sparse songs--songs that only have notes
far enough apart that the announcer makes sense.  That's mostly
beginner songs, which is what this is targetted at anyway.  It's meaningless
to use this assist mode in harder songs; even if the announcer was
rate limited, it'd be impossible to tell which step the announcer was for,
so I didn't bother trying.  (It'd be amusing to turn this on in MaxU. :)

A different timing assist type (TimingTip) is probably coming soon,
targetted to higher level (light/med) songs.

The only major problem at the moment is that there's no way to tell
who the announcer is talking to if there's two players.  If we implement
per-player announcers, that would help (and allow a number of other
neat things, like having the p1 announcer say "Ready" and the p2
announcer say "HWG").
2003-03-27 00:48:58 +00:00
Glenn Maynard 3f0fdda811 fix warning 2003-03-27 00:39:46 +00:00
Glenn Maynard c8b9ad3002 add LastTapNoteScoreTrack 2003-03-27 00:39:17 +00:00
Chris Danford eba90a4b0b HoldNote life snaps to 1 when button is pressed (instead of refilling slowly) 2003-03-27 00:06:16 +00:00
Chris Danford 0d7bbf9b61 no message 2003-03-27 00:01:12 +00:00
Chris Danford 86d8514e52 Increase default JudgeWindow a tiny bit 2003-03-26 23:55:10 +00:00
Chris Danford e210923333 Re-allow Toasty when playing courses 2003-03-26 23:44:45 +00:00
Chris Danford 189b37b517 Change Nonstop scoring to the DDREX way
Clean up ScreenGameplay by having a Song and Notes Queue (rather than different logic based on the PlayMode)
2003-03-26 23:08:05 +00:00
Glenn Maynard b1fa4fc1c6 whoops, remove header 2003-03-26 22:23:10 +00:00
Glenn Maynard 6dffee38ce don't touch an offset unless it's actually graded 2003-03-26 22:22:44 +00:00
Glenn Maynard d97838ebaa whoops; stored offsets were reversed 2003-03-26 22:22:10 +00:00
Glenn Maynard c51f77902b UpdateTapNotesMissedOlderThan's return value is never used; remove it
Make HandleTapRowScore figure out its values for itself, so we don't
duplicate logic
2003-03-26 21:35:15 +00:00
Glenn Maynard 816a25b5bb fix a warning 2003-03-26 21:32:48 +00:00
Glenn Maynard afb98a2e29 make sure it's mostly harmless to call Combo redundantly 2003-03-26 21:32:28 +00:00
Glenn Maynard 6ba559f763 add missing metric 2003-03-26 21:28:21 +00:00
Glenn Maynard 5604e312f6 Store tap offsets. This lets us derive the order notes were hit in;
hopefully ScoreKeeper can be made a little more generic.
2003-03-26 19:34:59 +00:00
Chris Danford 7e1f393413 Split CachedThemeMetric into separate types (CString, int, float) to prevent ambiguous types when casting 2003-03-26 19:15:38 +00:00
Glenn Maynard 57aefba669 unused variable 2003-03-26 19:05:13 +00:00
Chris Danford 3797458bdc Change scoring according to http://www.aaroninjapan.com/ddr2.html
and fix inaccurate comments
2003-03-26 18:58:12 +00:00
Glenn Maynard fdcad04705 pull autosync into a separate function 2003-03-26 18:48:19 +00:00
Glenn Maynard 14b4200f1b use IsRowComplete 2003-03-26 18:42:44 +00:00
Glenn Maynard 95987e81b8 add minimum param to IsRowComplete 2003-03-26 18:31:08 +00:00
Glenn Maynard 1352067196 const fixes 2003-03-26 17:53:31 +00:00
Glenn Maynard 194bb88b1d reverse conditional; all else is whitespace changes 2003-03-26 17:38:19 +00:00
Glenn Maynard 0d0de7d336 unused code 2003-03-26 17:36:35 +00:00
Chris Danford 53dda2b1db Add roulette and random music on ScreenSelectMusic 2003-03-25 22:23:58 +00:00
Chris Danford 0607fe9698 Fix a going to the wrong screen after cleared in ScreenGamplay. eep. 2003-03-25 21:37:31 +00:00
Chris Danford 90ac37953a Forgot to re-comment debugging stuff in ScreenEvaluation. Whoops! 2003-03-25 21:27:02 +00:00
Chris Danford 1627422e09 fix ScreenEvaluationCourse glitches
Change ScreenManager message sending methods for more precise control:
 - SendMessageToTopScreen: handle the message immediately
 - PostMessageToTopScreen: post message to queue for processing next update
2003-03-25 21:17:29 +00:00
Chris Danford 56d728cd88 Fix crash loading tile BGAnimationLayer 2003-03-25 19:32:17 +00:00
Chris Danford ec04520543 Fix ScreenMusicScroll draws one frame after SetNewScreen is called 2003-03-25 19:16:58 +00:00
Glenn Maynard 67bd03da5d add missing StopTweening()'s; fixes crash 2003-03-25 01:55:25 +00:00
Glenn Maynard 4e0ab2e7d4 fix warnings 2003-03-25 01:39:01 +00:00
Glenn Maynard 7a68deb7cc fix a warning 2003-03-25 01:38:05 +00:00
Glenn Maynard c8efe2e5c7 don't start tweening while we're still loading; it'll play transition sounds
prematurely
2003-03-25 01:37:33 +00:00
Glenn Maynard 51b9c3beec sort input
clear input, so we don't accumulate if we load twice
2003-03-25 01:14:53 +00:00
Glenn Maynard 92c44716f8 Implement textures that only have an alpha channel.
The most immediate use of this is for the company screen shadow;
it's horribly banded in 16-bit, and this lets us load it as an 8-bit texture,
using half the memory and giving full precision.

This could be automatically used, if all non-transparent pixels in a texture
are #FFFFFF.  (todo)

This can also allow us to have extremely large, memory-compact fonts.
A 1024x1024 layer in ALPHA4 is just 512k, and can store several thousand
16x16 glyphs.  (The only trouble is actually constructing such a font;
doing it by hand in Photoshop isn't a nice option.)
2003-03-24 22:38:34 +00:00
Chris Danford f70dcd700b fix ScreenEvaluation glitches 2003-03-24 22:05:49 +00:00
Chris Danford 9c607c9986 fix ScreenEvaluation glitches 2003-03-24 21:59:50 +00:00
Chris Danford 5cc010e7f7 fix mistake handling diffusealpha Actor command 2003-03-24 21:43:15 +00:00
Chris Danford a9f187c3de add scripting support to ScreenSelectMusic and ScreenEvaluation 2003-03-24 21:37:13 +00:00
Glenn Maynard b27b2a1fb9 fix the demonstration screen when there is music
...
2003-03-24 21:29:06 +00:00
Glenn Maynard 685c3bcbbb fix the demonstration screen when there is no music 2003-03-24 21:26:12 +00:00
Eric Holbrook a4b076d62c *** empty log message *** 2003-03-24 21:07:31 +00:00
Glenn Maynard 38cd4b0ee4 I'm not seeing gaps, but these hacks are causing me to see seams of
saturation for transparent backgrounds.  Are they needed anywhere?
2003-03-24 21:05:23 +00:00
Glenn Maynard a2af656d19 add log so it can be matched to skips 2003-03-24 20:57:19 +00:00
Glenn Maynard 84fad1fe1f increase lock so all tweens have time to finish 2003-03-24 20:55:22 +00:00
Glenn Maynard 26d32eb00d fix music list not tweening completely off screen when choosing fast 2003-03-24 20:46:40 +00:00