From 7a86e684a1ff72b83410b18a6e46d29ec788ad24 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 10 Oct 2002 07:05:26 +0000 Subject: [PATCH] Fixed editor: "music quits early on playback" and "record laying a hold leaves a tap near head" --- stepmania/TODO.chris | 5 +++-- stepmania/src/GameManager.cpp | 2 +- stepmania/src/ScreenEdit.cpp | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/stepmania/TODO.chris b/stepmania/TODO.chris index 22c3679ff2..41ccef3178 100644 --- a/stepmania/TODO.chris +++ b/stepmania/TODO.chris @@ -2,10 +2,11 @@ Fix ///////////////////////// -fix DWI writing - fix weird colors in recording +weird dik_p + + I noticed 2 things with Challenge Mode, one new to this release candidate, and one that I've noticed since I've started using SM in Beta 5. diff --git a/stepmania/src/GameManager.cpp b/stepmania/src/GameManager.cpp index 2ea1729bd5..9a7309fc42 100644 --- a/stepmania/src/GameManager.cpp +++ b/stepmania/src/GameManager.cpp @@ -652,7 +652,7 @@ StyleDef g_StyleDefs[NUM_STYLES] = "double", // m_szName { NOTES_TYPE_PUMP_DOUBLE,NOTES_TYPE_PUMP_DOUBLE }, // m_NotesTypes StyleDef::ONE_PLAYER_TWO_CREDITS, // m_StyleType - { 320, 480 }, // m_iCenterX + { 320, 320 }, // m_iCenterX 10, // m_iColsPerPlayer { // m_ColumnInfo[NUM_PLAYERS][MAX_COLS_PER_PLAYER]; { // PLAYER_1 diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index 7def2f4289..1d3ff8fbfb 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -1210,7 +1210,7 @@ void ScreenEdit::InputRecord( const DeviceInput& DeviceI, const InputEventType t else { const float fHoldEndSeconds = m_soundMusic.GetPositionSeconds(); - const float fHoldStartSeconds = m_soundMusic.GetPositionSeconds() - TIME_BEFORE_SLOW_REPEATS * m_soundMusic.GetPlaybackRate(); + const float fHoldStartSeconds = m_soundMusic.GetPositionSeconds() - TIME_BEFORE_SLOW_REPEATS * m_soundMusic.GetPlaybackRate() * 1.2f; // 1.2 is a fudge. This doesn't compensate enough for the repeat delay and leaves a tap note near the head of the hold. float fStartBeat, fEndBeat, fThrowAway; bool bFreeze;