Commit Graph

39 Commits

Author SHA1 Message Date
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
Jason Felds 02a3d66230 View detailed description.
1) Doxygen for the structs.
2) Simplify operator functions >= and >.
3) More accurate operator functions <.
4) Add WarpSegment constructor that may be useful.
2011-02-12 15:43:24 -05:00
Jason Felds bdfaba0cbc Const unconfusion (hopefully).
Feel free to revert this if needed.
2011-01-18 09:17:48 -05:00
Jason Felds 3ae691806d Add more helper functions, be more consistent.
Note: more consts may be needed.
I keep forgetting what they do after the parameters.
2011-01-18 00:48:06 -05:00
Jason Felds d9262f435b Cleanup, start of TickcountSegments.
Hopefully no more work on the header file is needed.
2011-01-17 23:10:53 -05:00
Jason Felds 5a6f7a1f99 Add more helpers. 2011-01-16 13:50:11 -05:00
Jason Felds d8db8d49b2 Err...rows are not beats. 2011-01-16 13:27:32 -05:00
Jason Felds 35ce4ec589 Set up the header for TimeSignatureSegments.
I know there is a magic number in here,
but if anyone needs 64 in the bottom,
either it's insane or a strange mission.
Probably both.
2011-01-16 13:18:22 -05:00
Jason Felds c6741f06fe Put operators on the other Segments. 2011-01-14 10:33:12 -05:00
Jason Felds 602cfa6910 Handle all ops consistently for StopSegments.
If there is a reason why not all operators were implemented,
I haven't seen one. Blame the Java experience within me.
2011-01-14 10:16:26 -05:00
AJ Kelly 3925c38316 trying to undo the death of default branch 2011-01-10 23:58:53 -06:00
AJ Kelly 26bd3d565b this is a big one...
[Player] fix a warning [shakesoda]
[Player] Change combo coloring logic in course mode:
"PERCENT_UNTIL_COLOR_COMBO refers to how long through the course the combo color
should appear (scaling to the number of songs). (This may not be desired behavior,
however.)" Let me know if I should add an alternate way to specify course combo
color logic.  -aj

[other files including Player.cpp]
Update warp note logic; It used to be WarpFromRow=WarpToRow, now it's WarpFromRow=WarpLengthBeats.
They still aren't functional but I'm getting closer. Negative Stops are still not converted.
2010-08-15 16:12:30 -05:00
AJ Kelly f79d6fb365 sync up hg with the svn code in preparation for sm-ssc v1.0 beta 4; this adds at least one new Lua binding and the WIP warps code (partially-working in quirks mode). 2010-05-30 17:03:30 -05:00
AJ Kelly ec06d16403 Let Negative Stops "work" in QuirksMode. 2010-05-13 12:58:20 -05:00
AJ Kelly 642f4b107c the various changes that I forgot to commit (cleanup and so forth) into hg,
culminating in syncing with sm-ssc v1.0 public beta 2
2010-03-31 17:37:09 -05:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00