Jason Felds
622cd05115
Consistent ordering with NoteDisplay.cpp. Easier to change one instance than x - 1. Fixes hold heads being flat.
2009-03-15 04:49:38 +00:00
Jason Felds
f99d643f07
New arrow type: the Fake arrow. Doesn't score for or against you. Perfect for simfiles that want to use mission mode type files or use measure skipping and not have it count against you. See ZXZ Bloody Heart in StepMix 4 for a file that could use this arrow type.
2009-03-10 15:52:22 +00:00
Chris Danford
5e87c2e81a
karaoke prototype (disabled)
2008-03-12 23:17:39 +00:00
Glenn Maynard
5b221a4b80
remove old UseLighting
2007-04-10 16:40:47 +00:00
Glenn Maynard
7fe61e5b9c
apply effect history to frame width
2007-01-16 00:46:16 +00:00
Glenn Maynard
63b273fee2
FlipHeadAndTailWhenReverse is a bit confusing.
...
Other things are happening here: anchoring the hold note to the
top or bottom, and flipping the wavy texture upside down. These
have separate purposes:
Normal hold rendering anchored to the bottom, so the hold scrolls
up as it's held; if it was anchored at the top, then it would
stay in place and the bottom would disappear as it was held.
In reverse, we can optionally reverse this, so the hold scrolls
down as it's held, or not reverse it, causing the hold to be
eaten by the head as the head comes down.
Normal hold rendering displays the hold body right-side-up.
In reverse, we can optionally render the hold body upside-down.
If we're flipping the head and tail (usually, putting the
overlaid arrow on the bottom instead of the top), mirroring
the body may or may not be wanted.
Additionally, we can optionally reverse the head and tail
(not to be confused with the top and bottom caps) in reverse.
These have been done together, but that's confusing; it's a
single setting with several obscure effects. Split it up.
2007-01-11 03:10:36 +00:00
Glenn Maynard
85867cb8e6
remove DrawHoldHeadTail
2007-01-07 02:47:28 +00:00
Glenn Maynard
1906ed14de
DrawActor, DrawHoldHeadTail equivalent
2007-01-07 02:40:10 +00:00
Glenn Maynard
a4b3ab04e0
DrawActor usable for non-wavy hold parts
2007-01-07 02:36:51 +00:00
Glenn Maynard
aea580e525
more consistent param order
2007-01-07 02:17:55 +00:00
Glenn Maynard
b85f6f2169
pass fYOffset to DrawHoldHeadTail, so it acts more like DrawActor
2007-01-07 02:01:16 +00:00
Glenn Maynard
2ab500aa75
remove param
2007-01-06 21:28:55 +00:00
Glenn Maynard
b67091b396
Splitting the glow and diffuse passes may have been a
...
win with the note skins ~4 years ago, where the hold
note parts were all in one texture. Now, they're split
into several parts, and we're changing the texture for
each part, which is a bigger state change than changing
the glow mode. Simplify this a bit and push DrawHoldHeadTail
and DrawActor together..
2007-01-06 21:27:05 +00:00
Glenn Maynard
5de93444f1
simplify
2007-01-06 21:23:07 +00:00
Glenn Maynard
94dac3e867
simplify
2007-01-06 21:18:19 +00:00
Glenn Maynard
ef3d02e02d
bFlipHeadAndTailWhenReverse flips the head and tail, and flips
...
the hold body. Flip the caps, too.
2007-01-06 08:33:08 +00:00
Glenn Maynard
331dbeb997
merge more hold rendering code
2007-01-06 07:22:48 +00:00
Glenn Maynard
fcd215f61b
merge hold note wavy part rendering
2007-01-06 06:12:40 +00:00
Glenn Maynard
3d10fae4ab
DrawActor private
2007-01-04 02:35:21 +00:00
Glenn Maynard
3406e5d4c3
row -> beat for consistency
2007-01-04 02:14:03 +00:00
Glenn Maynard
8672e0eadb
remove fLife--always 1
2007-01-04 01:33:36 +00:00
Glenn Maynard
6bfa6a6fb1
merge DrawHoldTail and DrawHoldHead
2007-01-04 01:29:14 +00:00
Glenn Maynard
885a245c0e
move param
2007-01-04 01:24:51 +00:00
Glenn Maynard
644eaec3a3
pass tn to tap rendering, like hold rendering
...
simplify
2007-01-04 00:45:47 +00:00
Glenn Maynard
b4aeab5403
remove unused fDrawDistanceBeforeTargetsPixels2
2007-01-04 00:38:19 +00:00
Chris Danford
09e8c0bc34
Make addition a texture coord shift instead of a separate element. This means fewer texture swaps when drawing, fewer graphics to maintain, and lets non-tap elements have addition coloring
2006-12-15 22:27:00 +00:00
Chris Danford
bf20880ba9
name cleanup. Replace:
...
StartDrawingAtPixels
FirstPixelToDraw
YStartOffset
DrawFarY
with:
DrawDistanceAfterTargetsPixels
2006-11-13 06:12:38 +00:00
Chris Danford
06e30d1f45
support fading in of notes from 0 alpha at farthest draw point to 1 alpha closer
2006-11-13 02:27:23 +00:00
Glenn Maynard
31c63d16dd
Join lines to make them more readable. This is not an 80x25 project ...
2006-11-03 03:47:33 +00:00
John Bauer
9b493aea9f
Split some lines to make them more readable.
...
R=steve
2006-11-03 00:56:19 +00:00
Glenn Maynard
f4136c72e6
simplify
2006-11-02 06:47:48 +00:00
Glenn Maynard
617e8b5335
FOREACH_ENUM2 -> FOREACH_ENUM
2006-10-07 08:56:58 +00:00
Glenn Maynard
2eca7b670c
use FOREACH_ENUM2
2006-09-27 05:18:47 +00:00
Glenn Maynard
0b7b6b6f9f
naming cleanups
2006-09-26 21:05:49 +00:00
Steve Checkoway
832212c526
Cleanup.
2006-08-14 13:15:47 +00:00
Steve Checkoway
2eebf1e377
Match style.
2006-08-14 13:12:40 +00:00
Steve Checkoway
d9b63a0dae
Simplify.
2006-08-14 13:10:52 +00:00
Steve Checkoway
b39d68c8cf
Initial TapNote::lift implementation.
2006-08-14 12:16:31 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
73fffe0bde
unused
2005-10-05 05:56:17 +00:00
Chris Danford
a89764040c
remove old NoteColor logic
2005-10-05 05:00:50 +00:00
Chris Danford
e628f74491
do note coloring with tex coord shifting, not separate elements
2005-10-04 19:45:45 +00:00
Chris Danford
5a19510ead
struct -> class
2005-08-23 20:49:30 +00:00
Chris Danford
abac6af93b
store a current NoteSkin in NoteSkinManager so that NoteSkin elements can use NOTESKIN:GetPath()
2005-04-18 01:19:56 +00:00
Chris Danford
b914be8a8f
move NOTE_COLOR_IMAGES into a struct so that it's not duplicated
2005-04-17 00:39:09 +00:00
Chris Danford
77e33f21e0
fix param name: iBeat -> iRow
2005-04-07 01:41:16 +00:00
Glenn Maynard
b4b4635e4b
avoid using very large texture coordinates
2005-03-30 08:36:55 +00:00
Glenn Maynard
62ed8ffd2f
implement clamping for caps
2005-02-07 21:13:04 +00:00
Glenn Maynard
d1fbf3f1f5
Only iterate over the section of a hold note that's on screen. Fixes slowness
...
with extremely long hold notes; now, even if a hold note has a
MAX_NOTE_ROW duration (which would be a bug), we shouldn't slow down.
2005-02-07 21:00:21 +00:00
Glenn Maynard
b1467a84be
have DrawHold take a TapNote
2005-01-25 05:45:51 +00:00