Jason Felds
4e7c3282ec
[timing] Caveat #2 fixed.
...
Caveat #1 won't be until we make Delays their own
segment...and somehow don't screw up the timing.
2011-07-15 00:14:13 -04:00
Jason Felds
01dacd9746
[timing] More abstraction.
...
This commit has 2 caveats.
1) Stops and Delays are treated the same in the editor right now.
2) TimingSegments.cpp: XToString should not require NUM_TimingSegmentTypes.
Ideas?
2011-07-14 23:54:06 -04:00
Jason Felds
6f5ab98dec
[timing] More respect of pointers.
...
Again going to trust virtual functions to do the right thing.
2011-07-14 23:15:48 -04:00
Jason Felds
c9a6bbbafe
[timing] More progress.
...
Soon going to enter the real big functions.
2011-07-14 22:19:32 -04:00
Jason Felds
6255a84be4
[timing] More abstractions of common functions.
2011-07-14 21:51:09 -04:00
Jason Felds
48a8113336
[timing] Set*AtRow error free.
2011-07-14 21:25:17 -04:00
Jason Felds
4f490c3d3b
[timing] Some more stuff.
...
Need dinner though.
2011-07-14 19:52:37 -04:00
Jason Felds
2c85e902b4
[timing] Better be sure we clean up afterwards.
...
If this is going a bit too far, feel free
to leave a little bit more mess.
2011-07-14 19:29:52 -04:00
Jason Felds
199af25f31
Get inserts working via passing TimingSegments.
...
Unsure if this is the right way:
code review may be needed.
2011-07-14 19:01:12 -04:00
Jason Felds
312498be94
[timing] Down to about 130 errors.
...
Need a break, maybe some help.
2011-07-14 15:22:32 -04:00
Jason Felds
da291c2097
Temp branch [timing] for conversion process.
...
May need some help with Notes*Json.
2011-07-14 12:31:42 -04:00
Jason Felds
4f91b5ddbe
Remove unused attribute.
2011-07-14 11:09:49 -04:00
Jason Felds
08d5f8f722
Add Miss Combo support in #COMBOS tag.
2011-07-09 02:28:15 -04:00
Jason Felds
b115a875de
Fix the other mMod corner case.
2011-07-03 13:57:22 -04:00
Thai Pangsakulyanont
9a1a824f22
let SpeedSegment scale itself.
...
also fixes the bug where the segments outside of the scaling region are scaled too.
2011-07-01 22:40:57 +07:00
Jason Felds
0919debf33
Preserve speed segment length time on beats.
2011-06-27 14:24:55 -04:00
Jason Felds
11ea4e62da
Fix Stop/Delay conflicts.
...
We REALLY need to separate these two.
2011-06-26 22:56:39 -04:00
Jason Felds
1d5f9830a3
Get Next and Previous other segments.
...
...we need to find a way to template these if possible.
2011-06-26 22:24:22 -04:00
Thai Pangsakulyanont
68f95ce056
Refactor TimingData::ScaleRegion(), fixes 297.
2011-06-26 13:43:30 +07:00
Jason Felds
49ac1c362d
Add many TimingData bindings. See changelog.
2011-06-15 16:56:01 -04:00
Jason Felds
2ab5a4ddb8
Mostly 64 - 32 float warning fixes.
2011-06-12 03:37:10 -04:00
Jason Felds
11dfc1dd8b
Deprecate Lua's HasNegativeBPMs().
...
Use HasWarps() instead.
Hmm...is there a way to mark the XML with a deprecated tag?
2011-06-09 18:16:23 -04:00
Thai Pangsakulyanont
687affa1e5
merge.
...
I seem to get an EXC_BAD_ACCESS error about libpng on app starting, so I don't know if the merge succeeded at all :<
2011-06-04 19:18:55 +07:00
Thai Pangsakulyanont
49042c4878
try to improve performance with scroll segments:
...
- optimize GetDisplayedBeat (seems to be a bottleneck here).
- make sure that fFirstBeatToDraw <= fBeat <= fLastBeatToDraw in IS_ON_SCREEN.
2011-06-04 19:02:45 +07:00
Jason Felds
90ab6dfca8
Add hack to stop random crashes on editor leave.
...
I'm sure there is a better way, but this works right now.
2011-06-01 14:32:59 -04:00
Jason Felds
b36f172462
Added the HasScrollChanges lua binding.
2011-06-01 10:12:10 -04:00
Jason Felds
e0f36181be
More accurate for CMod checking.
2011-06-01 10:08:40 -04:00
Jason Felds
df6a00b53e
Stops (and Delays) now templated.
...
This is all of them at this present time.
At some point in the future, we should make
DelaySegments separate from StopSegments.
2011-06-01 09:50:34 -04:00
Jason Felds
50e93045cc
Scroll Segments Satisfied.
...
Just the Stops and Delays...in one segment.
Yeah, maybe those should be split up at some point.
2011-06-01 08:44:09 -04:00
Jason Felds
f9eb6fb387
Speed Segments Satisfied.
2011-05-31 15:27:27 -04:00
Jason Felds
b1eab10594
Time Signatures, the other big one. :D
2011-05-31 14:27:55 -04:00
Jason Felds
642ec5ac81
Minor cleanup before I dive back into segments.
2011-05-31 14:04:35 -04:00
Thai Pangsakulyanont
1d2dd19ab1
Yeah, BPM segments, big one :D
2011-05-31 23:41:39 +07:00
Jason Felds
714427f154
ComboSegments brought in.
...
Five to go I believe.
2011-05-31 11:45:25 -04:00
Jason Felds
da73396895
Labels templated.
...
Six more to go.
2011-05-31 11:22:21 -04:00
Jason Felds
1fcf290571
Warps are properly templated.
...
Seven more to go I believe.
2011-05-31 10:59:18 -04:00
Jason Felds
8a315634dc
Bring TickcountSegments to refactored level.
...
I wonder how many of the 8 will be claimed upon wakeup.
2011-05-31 01:20:22 -04:00
Jason Felds
1d3000e520
FakeSegments refactored.
...
Few things of note:
1) Slowly going away from hungarian notation.
2) Trying to respect public/private members.
2a) Yes, structs can work like this.
3) Trying to not require horizontal scrolling.
If anyone else wants a crack, go ahead:
we have 9 segments left. :)
2011-05-31 00:51:25 -04:00
Jason Felds
2d491fd0c0
Add ScrollSegment checks.
...
Also took care of scaling TimeSignatureSegments too.
2011-05-26 17:38:31 -04:00
Thai Pangsakulyanont
d9f936190a
[default -> scroll] merge
2011-05-25 22:56:26 +07:00
Thai Pangsakulyanont
fe9573975c
[scroll] 90% of scroll segments
2011-05-25 22:44:41 +07:00
Thai Pangsakulyanont
ddbecd5de4
add a comment about behavior of stops and delays in warpsadd a comment about behavior of stops and delays in warpsadd a comment about behavior of stops and delays in warpsadd a comment about behavior of stops and delays in warpsadd a comment about behavior of stops and delays in warpsadd a comment about behavior of stops and delays in warpsadd a comment about behavior of stops and delays in warpsadd a comment about behavior of stops and delays in warpsadd a comment about behavior of stops and delays in warps
2011-05-24 13:07:59 +07:00
Thai Pangsakulyanont
0533e742c5
a const is need on TimingData.cpp too
2011-05-24 12:29:55 +07:00
Thai Pangsakulyanont
aa0eb7f5d7
GetSpeedMultiplier in ArrowEffects becomes TimingData::GetDisplayedSpeedPercent.
...
We might need to use it later in other parts (NoteField).
2011-05-24 11:43:08 +07:00
Jason Felds
d039c5c2fb
[splittiming] Carryover from old #WARPS code.
2011-05-16 16:17:34 -04:00
Thai Pangsakulyanont
d064547985
[splittiming] fix TimingData.cpp
2011-05-16 22:05:23 +07:00
Jason Felds
b3c16e3dee
[splittiming] Warps and Fakes are relative timed.
...
theDtTvB, time to scrutinize my work. ;)
2011-05-16 10:24:59 -04:00
Jason Felds
ba8791b4f9
[splittiming] Only care about the mod change.
...
Nothing wrong with the rest, but for editor purposes,
this kind of takes precedence before length and unit.
2011-05-16 09:44:07 -04:00
Jason Felds
60133353c1
[splittiming] Time for FakeSegments.
...
No, these won't replace Fake Notes.
2011-05-16 02:00:17 -04:00
Jason Felds
e2766cf644
[splittiming] SpeedSegments run on Seconds now.
...
ScreenEdit's code probably needs to be redone.
At least, someone find a way to remove "Beats"
or "Seconds" from the text entry area.
2011-05-15 23:48:03 -04:00