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
Glenn Maynard
c321bbe196
start merging NoteDataWithScoring and NoteField per-hold and per-tap
...
data into TapNote and HoldNote. This reduces lookup costs significantly.
It's a bit simpler, though I'm not entirely happy with the resulting encapsulation ...
2005-01-22 01:37:32 +00:00
Chris Danford
5d6eb1d236
put ActorUtil functions in a namespace
2005-01-17 05:42:52 +00:00
Chris Danford
a5d40aad79
fix default.xml loading
...
add Condition check in LoadFromActorFile
2005-01-17 04:08:08 +00:00
Glenn Maynard
f4391c932b
remove some old experimental stuff
2005-01-15 01:35:58 +00:00
Glenn Maynard
681cf95ebc
work around compiler oddity
2005-01-10 13:09:19 +00:00
Chris Danford
f840c014a9
Move some player-specific data out of the bloated GameState class.
...
Have gameplay objects hold a PlayerState pointer instead of a PlayerNumber and indexing back into GameState.
This will simplify off-screen players (e.g. CPU ghosts, network replicated human players, >2 players using one NoteField)
2004-12-20 06:25:59 +00:00
Glenn Maynard
227d0ffcba
Move hold note handling into a small class; this allows easy changing of
...
the hold note buffer size. Handle flushing the queue if it fills, so we don't
have to have such a large buffer. (It may also help performance slightly
if we can make hold note rendering fit in a 256k or 512k D$, but I didn't
benchmark ...)
2004-10-27 21:58:31 +00:00
Chris Danford
ce4780559f
froundf -> Quantize
2004-10-24 17:44:51 +00:00
Glenn Maynard
3e1bc2ef26
NoteSkinManager::ColToButtonName -> Game::ColToButtonName
2004-09-06 02:49:36 +00:00
Glenn Maynard
a0f162d5a9
note color support for mines (this is actually just so mines aren't a special
...
case)
2004-08-21 01:35:50 +00:00
Glenn Maynard
08886fdd00
Actors used by NoteDisplay don't have persistent state; they're completely
...
re-configured for each arrow/hold part. Cache each object, so we don't
waste memory with duplicate actors; multiplied by NOTE_COLOR_IMAGES
for each player, this adds up quite a bit.
2004-08-21 00:34:24 +00:00