Thai Pangsakulyanont
c0acb4e336
fix: stops in warps are judged, but not delays
2011-03-27 15:56:40 +07:00
Thai Pangsakulyanont
42893d2dc2
name changes
2011-03-27 15:11:27 +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
bfd7e9c914
[warps] merge
2011-03-26 14:53:27 +07:00
Thai Pangsakulyanont
ff739605ec
[warps] Some simfiles change BPM after the warp, so should keep the positive BPM changes. Example simfile: Tsusurvivorgamush.
2011-03-26 14:51:30 +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
Thai Pangsakulyanont
15fd68a7f0
merge
2011-03-26 13:43:53 +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
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
Thai Pangsakulyanont
da20a87814
delete m_pTextSectionCount in destructor.
2011-03-25 13:22:49 +07:00
Thai Pangsakulyanont
6f504f6317
merge with "[ " stripping code
2011-03-23 12:06:04 +07:00
Thai Pangsakulyanont
aab30fbfa1
Remove trailing " [" from common substring when loading BMS files.
2011-03-23 09:59:39 +07:00
Thai Pangsakulyanont
a044bf149e
Merge with PMS loading code. Though the notes load now, the samples are in Microsoft ADPCM which can't be loaded correctly at this time.
2011-03-21 01:51:04 +07:00
Thai Pangsakulyanont
255b3444aa
Add the Pop'n #PLAYER 3 cases to BmsLoader too.
2011-03-20 09:25:45 +07:00
Thai Pangsakulyanont
fb56c8762d
some PMS files have #PLAYER set to 3
2011-03-20 09:24:47 +07:00
Thai Pangsakulyanont
31f7b16f47
Add *.bml to BMSLoader::GetApplicableFiles. BML stands for Be-Music Longnote.
...
Because it is an extension to BMS, so most apps save them with bms extension anyway,
there exist some convertors that output to .bml files however.
2011-03-19 20:57:38 +07:00
Thai Pangsakulyanont
8d80ddedf2
Compress/Expand shall not break apart hold notes that overlaps the start/end marker.
2011-03-19 19:38:45 +07: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
Thai Pangsakulyanont
dc1be26231
Added my changes to the changelog. Put it on 20110316 because I pushed to sm-ssc on that day.
2011-03-18 22:32:00 +07:00
Thai Pangsakulyanont
f044f15444
commit
2011-03-18 12:28:31 +07:00
Thai Pangsakulyanont
c2fe12120c
fixed missing autokeysounds when they are inserted on the tail of a hold note (they are removed)
2011-03-18 12:25:20 +07:00
Thai Pangsakulyanont
af425e798b
merge
2011-03-18 01:21:37 +07:00
Thai Pangsakulyanont
87109a1a66
+ make it support o2mania-style notecharts when playing on beat_single7
...
+ comments cleanup
2011-03-18 01:19:06 +07: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
f1d5a13df8
merge
2011-03-16 18:03:17 +07:00
Thai Pangsakulyanont
b21487b8fa
fix some misaligned charts by making it ignore time signatures before notes.
...
for full explanation see the diff.
2011-03-16 17:44:54 +07:00
Thai Pangsakulyanont
b26867a52c
remove unused variables from PlaceAutoKeysound (5=>3)
2011-03-16 17:02:05 +07:00
Thai Pangsakulyanont
606e6ffce3
sData->nData in one more place
2011-03-16 10:56:51 +07:00
Thai Pangsakulyanont
52c2629868
merge+fix NotesLoaderBMS.cpp
2011-03-15 21:57:04 +07:00
Thai Pangsakulyanont
742304fb73
fix crash
2011-03-10 00:36:23 +07: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
Thai Pangsakulyanont
0575e73b1e
It wasn't there! I modified the wrong place!
2011-03-01 16:52:59 +07:00
Thai Pangsakulyanont
265c511a60
Better BPM loading!
2011-03-01 16:52:28 +07:00
Thai Pangsakulyanont
43313b76f2
roll notes volume
2011-02-26 12:39:30 +07:00
Thai Pangsakulyanont
37384c9f2f
THIS IS MERGE
2011-02-26 01:19:54 +07:00
Thai Pangsakulyanont
686869f0a3
lol break
2011-02-25 20:43:35 +07:00
Thai Pangsakulyanont
1aa51dca15
Autokeysound transformation!
2011-02-25 20:42:50 +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
Thai Pangsakulyanont
253049f0a4
hg merge
2011-02-23 21:45:26 +07:00
Thai Pangsakulyanont
a1f425291d
took me a couple of hours to figure out that NotesLoaderSSC is the one
...
that prevents BMS files from loaded: it didn't check for #NOTES2
also added an entry to .hgignore so that it stops bugging me about the Songs folder.
2011-02-23 21:43:07 +07:00
Thai Pangsakulyanont
22845e473e
hg merge from 24a15ba
2011-02-14 21:42:27 +07:00
Thai Pangsakulyanont
a5a23fe963
hg merge: add my own code
2010-12-19 17:44:39 +07:00
Thai Pangsakulyanont
fa7037a0fa
hg merge
2010-10-15 18:04:36 +07:00
Thai Pangsakulyanont
63ebda8a8a
Something changed in project file. Don't know what/where.
2010-10-15 18:04:17 +07:00
Thai Pangsakulyanont
f5cf4ef4ce
Should not have killed the head. Make it tap note.
...
Just like uBMplay.
2010-09-30 16:36:20 +07:00
Thai Pangsakulyanont
853101b6f0
Merge with BMS code
2010-09-30 16:06:59 +07:00
Thai Pangsakulyanont
87d6c4b376
Moved the hold note handling code to below the reading loop because the note data needs to be sorted and in the reading loop, the notes aren't really sorted.
2010-09-29 18:59:24 +07:00