Commit Graph

79 Commits

Author SHA1 Message Date
Steve Checkoway f6a31ac68f Fix stupid VC warning. class foo is the same as struct foo. 2006-08-17 18:27:44 +00:00
Steve Checkoway 63b3bc4cb7 Header cleanup. 2006-08-17 18:14:24 +00:00
Steve Checkoway eb764177f1 Overlapping NoteFields is not an option. Revert. 2006-07-09 21:51:04 +00:00
Steve Checkoway 04ad8b5a73 Allow NoteField sharing. The semantics of this is simple. In game play, everything but note data is handled by the shared NoteField. Only the NoteData for the field is drawn but it is drawn using the shared NoteField. 2006-07-09 20:19:54 +00:00
Steve Checkoway 3045dda9fc Draw arrows in the skin of the player matching the PlayerNumber of the TapNote. 2006-06-17 04:07:40 +00:00
Glenn Maynard 57cc9f7c84 release no longer needed noteskins 2006-02-01 06:25:00 +00:00
Glenn Maynard b5d8f28d1f make CacheAllUsedNoteSkins available 2006-02-01 06:16:12 +00:00
Glenn Maynard 94f0997f83 CacheNoteSkin() is internal 2006-02-01 06:02:50 +00:00
Glenn Maynard dc4e634186 cleanup 2006-02-01 05:57:29 +00:00
Glenn Maynard 16bd1d06cb const 2006-01-30 22:51:01 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 01fd36ab15 cleanup 2006-01-12 21:44:10 +00:00
Glenn Maynard e8d67d9191 Remove "note skin for beat range", "beat range revision" stuff.
We still load all note skins for a course in advance, and note skins
are still sent through the weird "attack queue" stuff.
2006-01-12 21:39:00 +00:00
Glenn Maynard fb3aac1610 cleanup 2005-10-27 13:43:14 +00:00
Glenn Maynard 7efd17ad8f fix messages never processed in ReceptorArrowRow/GhostArrowRow 2005-10-10 04:07:21 +00:00
Chris Danford 3263654989 draw course attacks in NoteField 2005-07-30 19:32:31 +00:00
Glenn Maynard 7570946554 add GetPlayerState 2005-07-21 01:02:21 +00:00
Chris Danford 4e6f00ba9e separate explosions for HoldNoteScore 2005-04-26 05:28:32 +00:00
Chris Danford 3c247ff138 fix edit elements drawing way off screen in boomerang causing artifacts on some hardware 2005-04-19 04:04:37 +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
Glenn Maynard e5af8b0f70 remove unnecessary CacheAllUsedNoteSkins calls; this is all done in NoteField::Init now 2005-03-18 04:58:15 +00:00
Glenn Maynard 02197dab9c like Player, split NoteField loading into Load and Init, with Init having the expensive part, which we do only once 2005-03-18 04:43:59 +00:00
Glenn Maynard b6b9b11b0f don't bother unloading "unused" note skins; now we just load all the note skins we'll need in advance for a whole round 2005-03-18 04:13:19 +00:00
Chris Danford 1d2a5be213 cache Noteskins from scripted course mods at song load time, not in first update after load 2005-03-12 05:04:24 +00:00
Glenn Maynard 2412c73b22 comment, cleanup 2005-02-13 03:40:37 +00:00
Glenn Maynard 52731adc29 NoteField::m_fBeginMarker, m_fEndMarker -> m_iBeginMarker, m_iEndMarker
go back to storing BPM as a float, until I'm sure it won't cause precision
problems
2005-01-23 23:17:12 +00:00
Glenn Maynard 48bce52780 header cleanup 2005-01-22 18:21:06 +00:00
Glenn Maynard 032ddf0e08 Don't hold a redundant copy of the NoteData in NoteField. NoteField is
now just a renderer for NoteData.  This means we don't have to carefully
apply all changes to NoteData to NoteField.
2005-01-22 02:50:45 +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
Glenn Maynard 4478914862 don't reload note skin when entering play mode in the editor 2005-01-15 03:26:38 +00:00
Glenn Maynard 79e018f52f only one-line description I can think of for NoteField ... 2005-01-15 02:14:09 +00:00
Glenn Maynard 894592a56e cleanup 2005-01-15 02:12:34 +00:00
Glenn Maynard da407f2fb7 unused header 2005-01-15 01:48:53 +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 bb698efc24 vectorize NoteDisplayCols 2004-07-27 04:34:06 +00:00
Glenn Maynard ab9cac2642 per-judgement step commands 2004-07-02 20:08:17 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Glenn Maynard 30a9bf3292 license update 2004-06-08 00:08:04 +00:00
Chris Danford 40b2ecfee5 simplify mine scoring
add separate dance point weights for mines
2004-01-02 08:43:14 +00:00
Chris Danford 7fa80e5530 change hold explosion format 2004-01-01 01:53:25 +00:00
Chris Danford 4ac936cfbf GrayArrow => ReceptorArrow
move ReceptorArrow metrics into NoteSkin
ReceptorArrow metrics, code cleanup
2003-12-22 10:30:10 +00:00
Glenn Maynard 4facdd0a06 fix hold note glitches 2003-12-18 02:34:59 +00:00
Glenn Maynard a1a68b5beb fix tweening when switching receptor note skins 2003-11-28 23:27:12 +00:00
Glenn Maynard 5b2c13d51e receptor row follows note skin changes 2003-11-28 00:45:31 +00:00
Glenn Maynard c691a3c2da merge NoteFieldPlus back down 2003-11-27 05:18:28 +00:00
Glenn Maynard e792d3e4df add CacheAllUsedNoteSkins 2003-10-25 07:50:30 +00:00
Glenn Maynard a7d4a72094 more const fixes 2003-10-04 04:49:20 +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 d8e19adbd4 Reduce header dependencies. 2003-09-04 04:59:55 +00:00
Glenn Maynard 6acf190929 Fix warnings 2003-08-18 17:19:34 +00:00