Commit Graph

50 Commits

Author SHA1 Message Date
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
Glenn Maynard 24cc7a3c04 Get rid of all other #pragma once's, except the one in StdAfx.h.
(three cheers for perl)
2002-11-16 08:07:38 +00:00
Chris Danford 73f7db6b15 Replaced most D3DX dependencies. Added Brendan's not-yet-functional networking code. 2002-10-28 05:30:45 +00:00
Chris Danford 44baba9fd3 Added NoteSkin metrics to accomodate Prex NoteSkin 2002-09-17 23:02:37 +00:00
Chris Danford bc32d45b69 Added "NoteDisplay-UseHoldHeadForTap" metric 2002-09-15 23:20:59 +00:00
Chris Danford 5fb403639f Moved even more constants into theme metrics 2002-08-29 01:38:21 +00:00
Chris Danford 7c1bfb3a0d big checkin - new noteskin format and XY positioning. I probably broke a lot of things. 2002-08-13 23:26:46 +00:00