Mark Cannon
8099e25dcc
stage 3 of TimingData changes: changed external interface, enforce encapsulation more strictly
2011-09-15 03:28:58 +00:00
Jason Felds
51725c188a
Fix label segments not loading right.
2011-09-12 22:28:07 -04:00
Jason Felds
7004959972
We're even vyhd. I've eaten my words. ;)
2011-09-12 00:03:29 -04:00
Mark Cannon
df9c4d8142
segment renovation stage 2: redefine TimingSegments as simple structs, standardize names and functions, use only rows for constructors (we'll limit allocation through TimingData::AddSegment in the near future)
2011-09-11 17:13:10 +00:00
Jason Felds
4d4c0f5bd1
[timing] Start the break-age.
...
48 compile time errors. This will be fun.
2011-07-27 22:20:52 -04:00
Jason Felds
93b3f71120
Re-opening the [timing] branch.
...
I want Stops and Delays to be properly separated.
Before anyone asks: I know Speed Segments have
two settings: beats or seconds. It's still a Speed Segment.
Stops are not Delays.
2011-07-27 22:05:45 -04:00
Jason Felds
0944948cad
Fix Stops and Delays on the timing bar.
2011-07-17 23:58:22 -04:00
Jason Felds
f8446ac3ca
That "h" wasn't behaving right. Remove.
2011-07-17 16:18:22 -04:00
Jason Felds
48226f2027
No longer store #NOTES in cache.
...
Use the #STEPFILENAME tag to access the files
as appropriate.
To the betting pool fans: file cache version is 192.
2011-07-17 16:06:40 -04:00
Jason Felds
3e260fca48
[default -> timing] Bring up to date for test.
2011-07-17 10:54:42 -04:00
Jason Felds
5413f3b86c
Possible stopgap.
...
Debating if this file should be reverted to the template era
for a bit of time.
2011-07-17 01:00:12 -04:00
Jason Felds
3ffafc4d2b
[timing] Loader compiles. Writer: not yet.
2011-07-15 19:12:19 -04:00
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
1e624b65aa
Remove the templated parts of segments.
...
The templated constructors seem to be fine:
it's just int vs float.
2011-07-14 11:00:43 -04:00
Jason Felds
08d5f8f722
Add Miss Combo support in #COMBOS tag.
2011-07-09 02:28:15 -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
Thai Pangsakulyanont
68f95ce056
Refactor TimingData::ScaleRegion(), fixes 297.
2011-06-26 13:43:30 +07:00
Jason Felds
7b869533da
Make sure default values are used all over.
2011-06-01 14:47:02 -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
d50eb4830d
The others are just other. Stay consistent.
2011-06-01 07:48:59 -04:00
Thai Pangsakulyanont
6f83556da7
fix the template mess! it now builds on windows but not sure if it works or if it will build on other platforms.
2011-06-01 14:21:57 +07:00
Jason Felds
d0ff9413e7
Trying this once again...
...
We need to prevent Segments from being
the variable type sent into TimingSegment<WhateverSegment>.
Just have it be ints or floats I think.
2011-06-01 01:08:53 -04:00
Jason Felds
69c03da032
Bad file, but need a record of key comment.
...
I think this is the key issue.
gcc is doing some magic for us.
VS20** is forcing us to do it right.
Yes AJ, that means Windows is better on something.
Revert this file if needed: the record is now made.
2011-05-31 19:22:51 -04:00
Jason Felds
5d496c41a7
I was told I needed a copy ctor here.
...
May as well see if this builds on Mac OS X.
2011-05-31 18:37:19 -04:00
Jason Felds
f9eb6fb387
Speed Segments Satisfied.
2011-05-31 15:27:27 -04:00
Jason Felds
604bf364e5
Forgot to remove the counterpart.
2011-05-31 14:45:17 -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
Thai Pangsakulyanont
860f6c76f0
I forgot to remove the unused operator== functions from TimingSegments.h
2011-05-31 22:05:04 +07:00
Jason Felds
1fcf290571
Warps are properly templated.
...
Seven more to go I believe.
2011-05-31 10:59:18 -04:00
Thai Pangsakulyanont
26ecddfc9d
beat should be private
2011-05-31 21:14:36 +07:00
Thai Pangsakulyanont
f7e849f045
further refactorization of TimingSegments (use more templates!)
2011-05-31 19:39:28 +07: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
e90b81d3c3
Working towards refactoring TimingSegments.
...
Hope I took care of the Windows 20** files right.
2011-05-31 00:17:46 -04:00