Commit Graph

193 Commits

Author SHA1 Message Date
John Bauer 3ddc314cbd Currently, long hold arrows are smudged like wet fountain pen ink.
This change fixes them.  Apparently the DISPLAY does not keep track
of all of these state changes in between calls to Draw().
2006-11-02 21:00:20 +00:00
Glenn Maynard f4136c72e6 simplify 2006-11-02 06:47:48 +00:00
Chris Danford 1b4387a7d9 add HoldActiveIsAddLayer 2006-10-30 03:04:41 +00:00
Glenn Maynard 04b1490b51 faster, more reliable error checking 2006-10-20 09:43:56 +00:00
Steve Checkoway e87789da7c Rename XToString2 to XToString. 2006-10-15 00:09:18 +00:00
Steve Checkoway 04bff6bc1d Use XToString2. 2006-10-15 00:00:22 +00:00
Glenn Maynard 617e8b5335 FOREACH_ENUM2 -> FOREACH_ENUM 2006-10-07 08:56:58 +00:00
Glenn Maynard 5541709a1f move ColToButtonName from Game to Style, to reduce GAMESTATE use
in Game
2006-09-30 00:46:21 +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 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 339e9de36a clamp to 8 different note colors so that NoteSkins can implement colors efficiently in power-of-2 texture sizes 2006-08-08 02:27:59 +00:00
Chris Danford 7ac45c24e4 save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore. 2006-08-05 02:38:05 +00:00
Glenn Maynard d0bcf2052d RageTexture is a wrapper around RageDisplay's textures; RageDisplay
itself doesn't use it.  Don't pass in RageTexture to SetTexture;
use RageDisplay's native texture handles.
2006-07-23 03:19:49 +00:00
Glenn Maynard 5c8ff23cfb unused 2006-04-29 21:22:16 +00:00
Chris Danford 6a78f271d0 fix mines frames draw with wrong tex coord shifting 2006-03-06 00:16:08 +00:00
Glenn Maynard 3654470a05 Fix notes placed 1/64th above the beat are the wrong color in vivid. 2006-02-17 05:57:00 +00:00
Glenn Maynard 0081134bc6 simplify. (It's not obvious what this subtracting of, typically, 1/16 is actually doing ...) 2006-01-31 03:51:36 +00:00
Glenn Maynard a3615bf11a cleanup 2006-01-30 23:10:02 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard b734b602d2 force TypeName arrays for XToString to be an array of const char*, not CString 2006-01-04 22:30:51 +00:00
Chris Danford 3f6e95b7d8 fix D3D texture coord generation 2005-11-05 03:08:09 +00:00
Chris Danford b3925c7f14 judgment name cleanup 2005-10-09 07:01:48 +00:00
Chris Danford a89764040c remove old NoteColor logic 2005-10-05 05:00:50 +00:00
Glenn Maynard 829b581a9b fix "conversion from 'NoteType' to 'float', possible loss of data" 2005-10-04 20:32:11 +00:00
Chris Danford e628f74491 do note coloring with tex coord shifting, not separate elements 2005-10-04 19:45:45 +00:00
Glenn Maynard 90b78e6cbf fix loading XML files as hold note parts; must still be a Sprite 2005-07-06 04:20:27 +00:00
Glenn Maynard b96a004921 We've been trying to more or less keep note skin compatibility, but the
format has gone somewhat out of hand, so let's give up a bit on that for
the good of mankind ...

All note elements that are allowed to be note colored *always* have a note
type in the filename; if XIsNoteColor is off, "4th" is used.  This way, we
don't have different sets of filename rules, fixing clashes between skins
and the fallback, and a number of things become simpler (many of which
I'm still discovering, so I won't try to enumerate them here just now).

Note skin updates coming ...
2005-07-05 21:29:30 +00:00
Glenn Maynard b459dc048c fold duplicate code 2005-07-05 08:45:51 +00:00
Glenn Maynard 1f0ce78d5a unused 2005-07-05 03:45:02 +00:00
Chris Danford 3db3500226 remove size on statc CString arrays so that XToString can catch size differences 2005-05-05 19:55:04 +00:00
Chris Danford 12caf40f7f cleanup 2005-04-24 05:44:42 +00:00
Chris Danford c2c3e00e31 don't assert on valid return values from strcmp (fix crash in Linux) 2005-04-23 11:06:28 +00:00
Chris Danford 8ec01b7cb3 add TapNote SubType instead of a bool for rolls 2005-04-20 01:53:41 +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 1e7d4001a8 fix long hold + boomerang artifacts: didn't draw if neither the head nor the tail were on-screen, tail bottom would be positioned above the head causing the hold to magically grow once the tail comes on screen 2005-04-07 06:41:02 +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 dd02f1bc10 eliminate extra fmodf for each rendered tap 2005-03-12 06:09:43 +00:00
Glenn Maynard 20ea0bece9 move unnecessary fmodf call 2005-03-12 05:02:22 +00:00
Chris Danford af19e9b93f fix drawing holds in reverse 2005-03-02 10:35:02 +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 cddab1955f float 2005-02-01 20:57:16 +00:00
Glenn Maynard b1467a84be have DrawHold take a TapNote 2005-01-25 05:45:51 +00:00
Glenn Maynard 48bce52780 header cleanup 2005-01-22 18:21:06 +00:00
Glenn Maynard 8e564b0def Avoid checking for bHoldNoteBeginsOnThisBeat if the note skin doesn't
really need it.
2005-01-22 05:00:33 +00:00