Commit Graph

56 Commits

Author SHA1 Message Date
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
Glenn Maynard 8e564b0def Avoid checking for bHoldNoteBeginsOnThisBeat if the note skin doesn't
really need it.
2005-01-22 05:00:33 +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 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
Glenn Maynard 52b4620c3d dep fix 2004-08-19 01:07:19 +00:00
Glenn Maynard 30a9bf3292 license update 2004-06-08 00:08:04 +00:00
Chris Danford 0ec2a536d9 TapSteps -> TapNotes 2004-05-24 04:17:19 +00:00
Chris Danford 4bb777232d name cleanup: "pNotes" -> "pSteps" 2004-05-24 03:41:39 +00:00
Glenn Maynard 9c1a5f6957 encapsulate hold results in HoldNoteResult (HoldNoteScore + life)
instead of moving HoldNote::iStartRow forward while a hold note is
held, set HoldNoteResult::iLastHeldRow
fixes hold heads cycling through all note colors while held (wasn't very
visible due to the hold ghost) and GetSuccessfulHands bugs
2004-05-07 04:57:29 +00:00
Chris Danford 590cf4f690 Let NoteSkin manager look for BGAnimation directories 2004-03-01 05:58:19 +00:00
Chris Danford 70f9216c87 Don't draw hold above receptors if being held. Fixes hold notes flying through receptor if holding during a stop. 2004-01-01 02:14:01 +00:00
Chris Danford c58101953f per-element lighting flag for NoteSkins 2003-12-31 08:15:34 +00:00
Chris Danford 4b3af8bd5c add note color support for Tap Addition 2003-12-29 03:51:15 +00:00
Glenn Maynard ecdd2c75b2 Rendering tap colors down to 192ths is useless. 2003-11-27 23:44:32 +00:00
Chris Danford d51a3491a8 working on battle attacks 2003-11-15 08:51:47 +00:00
Matt Denham 686f0656bd Re-fix Autogen (I'll shoot the person who forgot about TAP_EMPTY)
fix misc. errors with the BMS loader
finish support for 48th/64th notes in code
2003-11-13 07:35:58 +00:00
Glenn Maynard b0adf33f18 (Overly large commit; these ended up being very interdependent.)
Move beat searching in NoteField into FindFirstDisplayedBeat and FindLastDisplayedBeat.
Handle seamless note skin changing during Rave mode.
NoteDisplay loads a given note skin, ignoring GAMESTATE.
2003-09-12 06:23:51 +00:00
Glenn Maynard 7238de20aa revert (better idea) 2003-09-12 02:44:14 +00:00
Glenn Maynard c5e34614fa Store note skin sprites in the note skin cache. 2003-09-12 01:30:59 +00:00
Glenn Maynard ab3d3c622a Fix visibility modifiers when combined with reverse modifiers 2003-09-04 05:27:43 +00:00
Chris Danford 7429c86ebe Add "tipsy" effect (is there a better name for this?) 2003-08-16 23:34:47 +00:00
Chris Danford 1f8a45cbee Add mines transform 2003-08-10 10:12:50 +00:00
Chris Danford a2ebcfce01 show different tap graphic for additional notes created by a transform 2003-08-10 06:00:30 +00:00
Glenn Maynard 743c600d0f Break up the monster HoldNote drawing function. No actual functional
changes in this commit.
2003-07-17 06:10:25 +00:00
Glenn Maynard 2af0ab21ed allow using a model for hold tails 2003-07-09 05:57:48 +00:00
Chris Danford c04b5b993b add Model to NoteDisplay 2003-05-09 04:42:04 +00:00
Chris Danford 22ef6c358b moved PlayerNumber into a separate header to reduce dependences on GameConstantsAndTypes.h
default mappings for menu buttons
items in battle now have a duration
fix VC6 compile errors
2003-02-26 00:20:00 +00:00
Glenn Maynard 2c7db70f4b instead of toggling head/tail as wavy/not, have a wavy part (top cap
and bottom cap) and a solid part (head/tail).

allow overriding note skin metric values per-button

(rather larger patch than I intended to commit at once; sorry)
2003-02-08 23:47:47 +00:00
Chris Danford 4ff98e0442 added flexable NoteType coloring to NoteDisplay, optimized note texture usage 2003-02-06 07:32:57 +00:00
Chris Danford 3ea84b5e5c NoteSkin format change. Fixes artifacts along borders, and more flexability for artists. 2003-02-05 03:53:57 +00:00
Chris Danford fa75b5200b fixed generous Toasty
CHANGE:  Simplified NoteSkin format.  Old NoteSkins will need to be updated.
fixed BGAnimationLayer effect_bounce objects getting stuck
2003-01-13 08:31:34 +00:00
Glenn Maynard 55e92e771d s/CArray<x,y>/vector<x>/g 2003-01-03 05:56:28 +00:00