Commit Graph

51 Commits

Author SHA1 Message Date
Jason Felds 279194713d [sm130futures] Scale the LabelSegments. 2011-05-03 12:58:08 -04:00
Jason Felds 6fb7d2a4e2 [default -> sm130futures] Bring up to date. 2011-05-01 21:35:20 -04:00
Jason Felds 8a902dd14d Remember to scale Tickcounts and Combos. 2011-05-01 17:28:36 -04:00
Jason Felds b4c76dae0f [default -> sm130futures] Bring up to date. 2011-04-05 14:31:41 -04:00
Jason Felds 79aa3939f0 We don't use negative stops anymore. 2011-04-05 14:28:08 -04:00
Jason Felds 5e61884941 [sm130labels] Do not allow duplicate label names. 2011-04-05 14:18:29 -04:00
Jason Felds f01e37854a [sm130labels] Fix keyboard function. 2011-04-05 01:28:06 -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 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 58724886d5 It's not delays that are the problem now. 2011-03-30 21:57:54 -04:00
Thai Pangsakulyanont c0acb4e336 fix: stops in warps are judged, but not delays 2011-03-27 15:56:40 +07:00
AJ Kelly c1f2cc2400 [br:warps] Fix compile by easing scope 2011-03-26 11:59:48 -05:00
Thai Pangsakulyanont ac336215bd [warps] allow stops inside warps and convert high bpm to warps
+ sometimes there are delays/stops in high BPM sections,
  they have to be handled inside a warp to be able to convert
  it easily.
+ on the stopped / delayed rows with warps, judging become
  enabled for that row.

Issues:

+ the bpm threshould is hardcoded (right now it's 400000.0).
  someone change it please.
+ slight off-sync from conversion. haven't figured out how to
  work around it yet.
2011-03-26 22:07:24 +07:00
Thai Pangsakulyanont eed0be6fe0 [warps] ScaleRegion, InsertRows, DeleteRows to make it point warps to the right place. 2011-03-26 14:21:06 +07:00
Jason Felds b94ff7785f [warps] Add comment for thing to fix. 2011-03-25 16:33:57 -04:00
Thai Pangsakulyanont f4ecfd08f9 [warps] Fix IsWarpAtRow. 2011-03-25 23:40:03 +07: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 e592be406b [warps] More prep work, add lua binding. 2011-03-24 20:21:43 -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 a636981383 My turn at fixing this TimeSignature issue. 2011-03-16 18:11:56 -04:00
AJ Kelly 7f4815db37 simplify SetTimeSignatureAtRow, should fix crashes 2011-03-16 17:02:10 -05:00
AJ Kelly 0812bc2e29 add logging and an assert 2011-03-16 16:35:23 -05:00
Jason Felds 1dfb1c6143 Answer AJ's question. (comment update) 2011-03-14 01:34:10 -04:00
Jason Felds 4d074f3b81 Fix g++ warnings. 2011-03-14 01:21:30 -04:00
Jason Felds 6204de38a7 Combos branch: allow editing combo factor.
Need to check something on the default branch
before this gets pushed there: something may still
be off.
2011-03-05 01:44:58 -05:00
Jason Felds 69029816d1 Bring in updates to the combos branch. 2011-03-04 22:20:29 -05:00
Jason Felds 9b07d1f392 Allow setting Stops and Delays on the same row. 2011-03-04 22:12:08 -05:00
Jason Felds 2f6b0614e9 combos branch: implement some header functions. 2011-03-03 01:30:57 -05:00
Jason Felds 9d13036e08 Add @briefs to the Luna classes.
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
Jason Felds 60b5be592c Attempt to fix Editor bug with Delays. 2011-02-12 17:57:27 -05:00
Jason Felds e05a9599fb More doxygen. More consistent functions. 2011-02-12 17:08:23 -05:00
AJ Kelly 1ea71b2186 comment is mine; mark it as such 2011-02-08 01:01:24 -06:00
Jason Felds 6f1f535f21 Fix compile error, more TimingData fixes. 2011-01-19 01:22:13 -05:00
Jason Felds 3c826a660d Add the other segments for consistency sake. 2011-01-19 01:15:44 -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 c69bc65f34 Merge header back to normal. 2011-01-16 13:23:21 -05:00
AJ Kelly 3877fb735d small comment thing 2010-12-28 13:46:49 -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
Alberto Ramos 2a01c203f2 ksfdm |D| tag wasn't working because of me... sorry 2010-07-26 19:49:37 -06: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 f8c2b0828f uncomment TimingData::SetDelayAtRow. 2010-05-22 10:24:04 -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 02c7037721 sm-ssc v1.0 Public Beta 1 code changes 2010-03-01 00:44:39 -06:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00