Commit Graph

224 Commits

Author SHA1 Message Date
Glenn Maynard b76d363994 Remove ugly CopyTweening. This is too wildly incompatible with newer
XML features, where there's not necessarily any corrolation between elements
of different graphics.  This didn't work well, anyway: it'd apply the old tweening
queue to the new graphics, but they might have completely different animations.
This will cause transitions between NoteSkins to be more abrupt, but we don't
use that feature anyway.
2005-10-05 04:49:09 +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 c19c1e614e debugging cleanup 2005-10-02 19:21:05 +00:00
Glenn Maynard b25c8e5fcd typo 2005-09-11 03:23:53 +00:00
Glenn Maynard 7477d63f04 fix crash 2005-08-14 02:12:19 +00:00
Chris Danford 975af19cf0 fix mods position 2005-07-30 21:11:18 +00:00
Chris Danford 3263654989 draw course attacks in NoteField 2005-07-30 19:32:31 +00:00
Glenn Maynard 83bae991b9 undo; not needed and causes crashes elsewhere 2005-07-21 05:33:08 +00:00
Glenn Maynard f0e2ff35fc fix chopped-off record; remove redundant m_NoteFieldRecord.Load call 2005-07-20 03:01:58 +00:00
Glenn Maynard 0a46e5f99b use GAMESTATE->m_EditMode 2005-07-14 05:16:32 +00:00
Glenn Maynard 6badb0dd8c transitioning m_bEditing -> m_EditMode, IsEditing() 2005-07-14 05:12:56 +00:00
Chris Danford 524a3dd18d show "(empty)" for BGChanges with no attributes set so that the user can see them to delete them 2005-06-07 09:45:27 +00:00
Chris Danford b489c43a88 add color parameter to BGChanges 2005-06-05 22:21:55 +00:00
Chris Danford 539e6915ff add asserts 2005-06-05 09:45:00 +00:00
Chris Danford 4e86ffe01d add background change controls for "baked random"
Shift+B to choose to choose a different baked random movie
add bgchange menu lines for "movie in group" and "movie in group and in genre"
2005-06-05 01:27:15 +00:00
Chris Danford 3b61a74477 reduce header file dependencies 2005-06-04 21:22:50 +00:00
Chris Danford 7386647ece fix bad clamping of area rectangle caused artifacts at the bottom 2005-06-04 19:31:41 +00:00
Chris Danford 1c90c54390 fix drawing of BackgroundChange text with 2 layers 2005-06-02 04:33:53 +00:00
Chris Danford dac72665e3 move background file enumerating into BackgroundUtil.*
fix editor background change functionality
2005-05-31 01:17:37 +00:00
Chris Danford ac5a99b41f specify effect and transition in each background change 2005-05-29 01:11:49 +00:00
Chris Danford 68a82faa6a add multiple background layers 2005-05-26 09:35:57 +00:00
Chris Danford 68c6b6a126 fix FadeToFail
do FadeToFail for LIFE_TIME
2005-05-09 02:58:30 +00:00
Chris Danford 4e6f00ba9e separate explosions for HoldNoteScore 2005-04-26 05:28:32 +00:00
Chris Danford 5b9ab7244b fix GCC errors 2005-04-19 04:11:33 +00:00
Chris Danford 1f483158f7 fix edit elements drawing way off screen in boomerang causing artifacts on some hardware 2005-04-19 03:56:00 +00:00
Chris Danford 6053783a4c make EDIT_MODE less fragile by using switches
don't allow going past last beat in practice
2005-04-19 01:44:22 +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 976e497de7 add EDIT_MODE_PRACTICE 2005-04-14 06:34:17 +00:00
Chris Danford 370daa9b68 fix long holds not visible in non-boomerang 2005-04-07 08:28:41 +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
Glenn Maynard f64a93bb21 fix off-by-one causing artifacts with Cx mods during stops 2005-04-06 08:09:27 +00:00
Chris Danford 9aa003041d clip the area highlight rectangle 2005-03-30 04:27:13 +00:00
Chris Danford 7ca20486ef use sin lookup table to fix terrible performance with float and tipsy performance on some archs 2005-03-22 00:58:05 +00:00
Chris Danford 66a30e72b8 optimize: Add GetTimeSinceStartFast() that caches the time for archs where GetMicrosecondsSinceStart() is slow 2005-03-21 21:40:07 +00:00
Chris Danford 9cfa779956 remove code to play cancel sound and put the cancel sound in the transition 2005-03-20 08:23:08 +00:00
Chris Danford 66a5c26a84 don't draw BGChange text in HomeEditMode 2005-03-18 18:56:35 +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
Glenn Maynard 3c45bca547 fix freeze duration rendering 2005-02-20 01:18:03 +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
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Glenn Maynard b1467a84be have DrawHold take a TapNote 2005-01-25 05:45:51 +00:00
Glenn Maynard bb7482e722 evil big commit (sorry):
Remove m_HoldNote array entirely.  Remove 2sAnd3s.  Store hold note
durations in the hold head.  hold_tail only still exists when InsertHoldTails
is used, to make SM parsing a little easier (may go away).  Add helpers
for iterating over ranges while including or excluding adjacent and overlapping
hold notes.  Range operations are now [start,end) instead of [start,end].
(probably more details coming to sm-dev soon)
2005-01-25 05:02:35 +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 3634c07656 Represent TimingData values (except for "seconds") in fixed-point.
Maybe we should stop calling note indexes "rows" and "indexes", and just
call them "beats"; if they're stored as an integer, they're in fixed-point.  Things
like "note rows per second" are a lot less intuitive than just calling them "beats
per second".
2005-01-23 21:55:01 +00:00
Glenn Maynard 18e32dbda4 don't lose HoldNoteResult when converting to/from 2sAnd3s 2005-01-23 17:17:24 +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 754bce5c98 optimize rendering iteration 2005-01-22 03:11:29 +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