Jason Felds
b115a875de
Fix the other mMod corner case.
2011-07-03 13:57:22 -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
Jason Felds
8019654956
shakesoda was right.
2011-06-08 18:14:50 -04:00
Jason Felds
06efa5c726
Simple solutions are smart.
2011-06-08 15:33:40 -04:00
Jason Felds
5216d6be45
Simplify checks for unjudgable rows.
...
This way, we can add more segments later
and now have to change the logic in many places.
2011-06-08 13:03:07 -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
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
62365ee9e9
Get this code ready.
...
Future commits may be in big batches as segments
are brought in one at a time. This is going to take
until at least the next night.
2011-05-31 00:24:23 -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
5cde717547
GetDisplayedSpeedPercent should be const
2011-05-24 12:27:03 +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
966dc33e3f
Can't forget theme stuff.
2011-05-23 20:28:01 -04:00
Jason Felds
004a01b306
doxygen fixes.
2011-05-23 20:27:31 -04:00
Thai Pangsakulyanont
49a32ae552
this should be an i.
2011-05-24 01:00:27 +07:00
Thai Pangsakulyanont
b40bae924e
[timingdata] merge!
2011-05-16 22:09:02 +07:00
Thai Pangsakulyanont
b7dc611048
[splittiming] rename m_fEndBeat to m_fLengthBeats. let's see how many build errors we have.
2011-05-16 21:55:32 +07:00
Jason Felds
1f7389a7a4
[splittiming] Don't do variable swapping.
...
Next up: fixing the editor.
2011-05-16 10:49:55 -04: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
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
Jason Felds
059f0357ba
[splittiming] Allow #COMBOS to be 0.
2011-05-15 21:28:44 -04:00
Jason Felds
9ffe6166e2
[splittiming] Implement, add lua hook.
2011-05-15 13:48:10 -04:00
Jason Felds
702ebfe94b
[splittiming] The start of SpeedSegments.
...
...I'm seriously debating moving the structs
to their own file at this rate. It's getting
a tiny bit unwieldy.
2011-05-15 13:09:13 -04:00
Thai Pangsakulyanont
b634639e8e
Write timing tags for SSC files.
...
WARN: This does not work with ScreenEdit, yet!
2011-05-10 16:00:47 +07:00
Jason Felds
1ea093cd5f
[splittiming] Cleanup, more prepwork.
2011-05-09 23:16:56 -04:00
Jason Felds
5e61884941
[sm130labels] Do not allow duplicate label names.
2011-04-05 14:18:29 -04:00
Jason Felds
a6b5187856
[sm130labels] Code ready for testing.
...
If a mistake was made here,
let the cherry picking/blame game commence!
2011-04-05 00:35:45 -04:00
Jason Felds
3991f81101
[sm130labels] Add labels to the SSC format.
...
Also do cleanup on the Loader and Writer comments.
Editor hooks to follow soon.
2011-04-04 23:24:32 -04:00
Jason Felds
53971e16e3
[sm130labels] Add the other definitions.
2011-04-04 23:03:10 -04:00
Jason Felds
315aaf774d
New branch from [sm130futures]: [sm130labels]
...
Time to simulate the Rock Band/Guitar Hero
styled labeling of note sections.
2011-04-04 22:47:59 -04:00
Jason Felds
64619f9819
[warps] Add more flexible constructors.
2011-03-26 14:27:06 -04:00
Jason Felds
0692da91c6
[warps] Be consistent, include Row and Beat.
2011-03-25 21:31:33 -04:00
Thai Pangsakulyanont
4316579e89
[warps] my attempt at making warps work. see commit message.
...
+ TimingData: rewrote GetBeatAndBPSFromElapsedTimeNoOffset and GetBeatFromElapsedTimeNoOffset
to make it simpler and compute times correctly, by going through 3 arrays at the same time.
+ TimingData: added TimingData::IsWarpAtRow(int) just in case.
+ The skipping part is now handled by TimingData.
Current issues:
+ the rewritten function does not check if the vectors are sorted.
+ if you press the notes after the skip before the skip is reached, the notes in the warp
range got hit instead because m_iWarpBeginRow was not set before the warp is reached.
+ the notes after the skipped part are not judged if hit before the warp is reached and
the warp is big enough.
2011-03-25 23:19:31 +07:00
Jason Felds
db429e11cc
[warps] View the list.
...
1) Add functions similar to the other Segments.
2) Use a better named member variable.
3) TimingData cleanup.
2011-03-25 00:54:33 -04:00
Jason Felds
5287e73081
[warps] ...yeah, whoops.
2011-03-24 19:36:43 -04:00
Jason Felds
36f728d88e
Start of a new branch "warps".
...
Ensure that all warps are forward facing for now.
2011-03-24 19:22:11 -04:00
Thai Pangsakulyanont
a9af35d94e
Make compress/expand preserve timing data by also adjusting BPM changes between start and end marker. The adjusting part is at TimingData::ScaleRegion.
2011-03-19 18:58:44 +07:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
59e30c6569
Ensure all initialized TimeSignatures are 1 min.
2011-03-16 18:11:46 -04:00
Jason Felds
18caa1ae91
More of the violations being dealt with.
2011-03-14 20:55:37 -04:00
Jason Felds
4d074f3b81
Fix g++ warnings.
2011-03-14 01:21:30 -04:00