Commit Graph

66 Commits

Author SHA1 Message Date
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
Jason Felds 69029816d1 Bring in updates to the combos branch. 2011-03-04 22:20:29 -05:00
Jason Felds 25ce296a96 Put comment in the right position.
Try to only put @returns after @params.
2011-03-04 22:05:44 -05:00
AJ Kelly c1858f6920 cleanup and a small doxy note 2011-03-04 20:55:39 -06:00
Jason Felds 3fb7f63bee New branch: work on ComboSegments.
The name of this branch is "combos".
2011-03-03 01:15:47 -05:00
Jason Felds fcc42c0e4d Allow TickcountSegments to have a value of 0.
This allows for more accuracy with simfiles.
2011-03-01 09:30:47 -05:00
Jason Felds 3fe58a3668 More doxy. 2011-02-25 23:55:16 -05:00
AJ Kelly 0fbcb3d43f shut warning up 2011-02-13 12:28:46 -06:00
Jason Felds f64584bd17 More doxygen, more recompilation.
If someone wants to knock out StdString.h,
that would be great.
2011-02-12 22:53:34 -05:00
Jason Felds 9c48788515 Accidental recursion. Thanks freem. 2011-02-12 18:54:23 -05:00
Jason Felds 60b5be592c Attempt to fix Editor bug with Delays. 2011-02-12 17:57:27 -05:00
Jason Felds 33e714c6a0 More doxygen. Someone else can finish this file. 2011-02-12 17:44:51 -05:00
Jason Felds e05a9599fb More doxygen. More consistent functions. 2011-02-12 17:08:23 -05:00