Commit Graph

83 Commits

Author SHA1 Message Date
Jason Felds 161ccdeb68 [splittiming] Implement Fake Segments...already?
This was a bit fast I think.
2011-05-16 11:42:58 -04:00
Flameshadowxeroshin f4684b8cc3 use player timing for autoplay row check 2011-05-13 23:37:07 -05:00
Thai Pangsakulyanont ab8b76b3b8 [splittiming] NoteDisplay, NoteField, Player, PlayerState (182) 2011-05-10 20:27:12 +07:00
Thai Pangsakulyanont 38a4852180 [splittiming] Fix Player.cpp (198) 2011-05-10 20:18:17 +07:00
Thai Pangsakulyanont 241738c18b [splittiming] Let's break things again! (222)
We introduced a new class, called "SongPosition", that replaces some instance variables in the GameState class. (GameState::m_Position).
Then, you also have it in PlayerState class which keeps track of the position based on their steps. (PlayerState::m_Position).

Fixing the build errors:
- GAMESTATE->m_fSomething should now be:
  - GAMESTATE->m_Position.m_fSomething
  - pPlayerState->m_Position.m_fSomething (or m_pPlayerState for some instance!)
2011-05-10 19:54:05 +07:00
Thai Pangsakulyanont 285f227851 [splittiming] tie Step's TimingData to player. 2011-05-10 13:27:35 +07:00
Jason Felds 9cb41af5f4 [splittiming] All but ScreenEdit. (67) 2011-05-09 21:11:33 -04:00
Jason Felds f7d1b46f72 [splittiming] Bringing it down. (91) 2011-05-09 21:03:30 -04:00
Jason Felds c61ce06a5b [sm130score] doxygen 2011-04-10 10:53:31 -04:00
Thai Pangsakulyanont 77c4768313 merge 2011-04-09 15:47:30 +07:00
Thai Pangsakulyanont c2e89cb63c [sm130futures] judge first, then update the rolling numbers. 2011-04-09 15:45:55 +07:00
Thai Pangsakulyanont 2875a6ff00 make keysounds on hold notes work on pump mode. 2011-04-07 06:37:47 +07:00
AJ Kelly 7c04c919b9 small comment/cleanup 2011-04-03 01:26:36 -05:00
Thai Pangsakulyanont 22e2c8f625 fix stops bug
on stops longer than 1 seconds, iStepSearchRows is 0.
the fix is to look backwards in addition to looking forwards.
2011-03-31 23:31:13 +07: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 e66b0cbf39 [warps] judgement fix
+ iStepSearchRows is now seconds-based.
+ GetClosestNonEmptyRowDirectional and GetClosestNoteDirectional no longer return row in warps.
2011-03-26 13:42:41 +07:00
AJ Kelly 97e9e63d5c revert unneeded code 2011-03-25 23:07:13 -05:00
AJ Kelly 3447567a61 [br:warps] ignore mines if they are within a warp section; untested but should work in theory 2011-03-25 23:04:41 -05:00
Jason Felds 7e59c60944 [warps] Ignore all mines during a warp. 2011-03-25 21:31:47 -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 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