Commit Graph

64 Commits

Author SHA1 Message Date
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 92e3ab338d [warps] More consistent naming.
Now to make changes...
2011-03-25 01:52:14 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Thai Pangsakulyanont e3aa689b7d Make it play the right keysound on press. Improvements on hold notes. 2011-03-16 23:50:53 +07:00
Thai Pangsakulyanont 52c2629868 merge+fix NotesLoaderBMS.cpp 2011-03-15 21:57:04 +07:00
Jason Felds d59907e897 The future is now. sm124futures is brought in.
The changelog includes what was done.
2011-03-14 17:09:37 -04:00
Jason Felds d855d8c7e8 Bring light into the shadow...variables.
Yeah, yeah, can't make a good joke at 2:30 AM.
2011-03-14 02:36:48 -04:00
Jason Felds 650653b4d2 Multiple warning fixes dealing with casts.
Yes, I am using static_casts. Generally safer.
2011-03-14 02:09:58 -04:00
Jason Felds cec55f1aed sm124futures: doxygen for the next version. 2011-03-13 19:47:39 -04:00
Thai Pangsakulyanont c1f4967f1c merge
+ support o2mania style BMS (7 keys)
+ move notes to autokeysound when reducing tracks
2011-03-09 19:24:15 +07: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
Thai Pangsakulyanont 43313b76f2 roll notes volume 2011-02-26 12:39:30 +07:00
Thai Pangsakulyanont 69ff65b9a7 Changed hold notes timing. 2011-02-24 13:54:56 +07:00
Thai Pangsakulyanont e942c4b3d4 improvements on keysounds logic for hold notes 2011-02-24 09:47:57 +07:00
AJ Kelly 48b9e6bb38 kill alternative input 2011-02-23 01:54:32 -06:00
Jason Felds 17b17297ec Minor docs. 2011-02-20 23:07:38 -05:00
Jason Felds 2182b44355 Add some docs to the metrics.
To be honest, I think these metrics should be placed
inside the Player class. It would make it more consistent
and easier to find in the docs. I may move them later.
2011-02-20 12:38:56 -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 1fd81cfe9c Quick doxygens. 2011-02-19 02:10:45 -05:00
Jason Felds 038a9fda8c Simplify thanks to TaroNuke. 2011-02-19 01:39:45 -05:00
Jason Felds 2c70b65711 Fix doxygen warnings.
The code seems to run fine, but please TEST THIS.
Revert this if required.
2011-02-19 00:48:42 -05:00
Jason Felds 020e3a70fe More doxygen updates. 2011-02-18 23:48:13 -05:00
AJ Kelly 95697e4889 fix warnings 2011-02-13 15:42:47 -06:00
Flameshadowxeroshin 18e8c1b976 disable old minihold hack while new fix is tested. this will be reverted if the fix fails. 2011-02-12 23:19:34 -06:00
Flameshadowxeroshin aa1e278db0 experimental minihold bug fix 2011-02-12 23:16:55 -06:00
Jason Felds a8dcfc6ff2 Add metric to use Tickcount tag for Checkpoints.
This officially deprecates the time signature checkpoint metric.
However, it is still being kept in for those that desire the original
hackish behavior.
2011-01-18 12:40:40 -05:00
Jason Felds c76a13f3b9 Add 2nd attack metric, rename 1st one. 2011-01-15 14:43:05 -05:00
Jason Felds aaf9c33dab Add attack run time metric for Player. 2011-01-15 14:25:35 -05:00
Jason Felds bec941520a Add metric for Combo Stopped message flexibility. 2011-01-15 14:17:52 -05:00
AJ Kelly b8e53a9248 once more with feeling 2010-12-19 15:44:41 -06:00
AJ Kelly 76565b2690 more warp hackery. 2010-12-19 15:42:27 -06:00
AJ Kelly c85ab203b6 this small chunk of code was missing. 2010-12-19 15:17:54 -06:00
Flameshadowxeroshin 1c9d37a7a4 Fix issues with RequireStepOnHoldHeads not working properly if the W5 window is zero 2010-09-29 19:16:53 -05:00
Flameshadowxeroshin b91423c3a0 add metrics to make mines affect combo. not in any theme yet. 2010-09-10 20:15:01 -05:00
AJ Kelly d53a8442d0 comment/cleanup spree 2010-08-22 13:24:32 -05:00
AJ Kelly 53a8a435ef remove unfinished karaoke mode 2010-08-19 21:24:35 -05: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 e2f424e99d minihold hack 2010-08-11 01:33:16 -05:00
Alberto Ramos f6eee30f9b Restores a removed value (it'll be configurable soon) 2010-07-26 21:51:12 -06:00
AJ Kelly 78fbaaa0d7 comment out some logging stuff 2010-07-23 22:48:53 -05:00
Alberto Ramos ce0f7877c1 New PIU noteskins! :D 2010-07-22 10:38:31 -06:00
Alberto Ramos daa32fc3f8 Fixed the issue related to trigging holdheads before they reach the receptor, at least I think that, more tests to be done (issue 150) 2010-07-18 18:54:37 -06:00
AJ Kelly 0c02d883d1 Modify Autoplay/AutoplayCPU's tap note offset code to generate proper offsets.
(as opposed to offsets between -0.1f and 0.1f, which makes Selling Out Made Simple 2's protiming look weird)
2010-07-09 12:08:24 -05:00
AJ Kelly dd760b83cd [Player] add RequireStepOnMines metric. This allows DDR's Shock Arrows to be emulated. [FSX] 2010-07-05 14:16:18 -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 52db6f068c revert that last change since random vanish crashes anyways 2010-05-26 19:02:49 -05:00
AJ Kelly 5fc8c0c2e9 attempt to fix issue 144 by moving default fails to the end of the switch statements (http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=144) 2010-05-26 18:51:08 -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 c7120dd40b whoops, looks like this should've been a float. 2010-03-28 12:55:34 -05:00