Ben Anderson
53857a39ff
Let's clean up everyone's logs a little bit...
2004-11-13 17:48:59 +00:00
Ben Anderson
b9e5fe5245
Implement common substring algorithm, it provides a more accurate ID of the title and the difficulty of each file.
2004-11-13 17:38:08 +00:00
Glenn Maynard
425299cbd4
Some songs have different time signature tags in different difficulties;
...
cope with it by adjusting everything according to the primary version.
Attempt to detect when time signature tags are being used to tweak sync,
and convert them to BPM changes. This is more accurate, prevents some
cases of being off by a couple rows from the beat, and fixes note coloring.
2004-11-08 22:27:34 +00:00
Glenn Maynard
12652ed750
try utf-8 first
2004-11-05 00:38:51 +00:00
Glenn Maynard
6ff519cd50
Better difficulty detection.
...
Prefer to read global stats from DIFFICULTY_NORMAL.
Fix songs that have differing 02 tags across files.
2004-11-03 09:35:10 +00:00
Glenn Maynard
d398a38094
Load all BMS data into a map, then parse. Removes extra re-parsing,
...
fixes stop and BPM changing, fixes stop/BPM change interactions with
time sig changing.
2004-11-03 06:54:05 +00:00
Glenn Maynard
0cad63c012
Most BMS files are in Shift-JIS.
2004-11-02 10:50:38 +00:00
Glenn Maynard
bd1df8aacb
simplify
2004-11-02 10:30:03 +00:00
Glenn Maynard
a2c8f90224
simplify more
2004-11-02 07:55:55 +00:00
Glenn Maynard
ab7a7076d7
simplify, cleanup
2004-11-02 07:53:38 +00:00
Glenn Maynard
1eac0a3fa9
fix warnings
2004-11-01 11:02:54 +00:00
Glenn Maynard
f55a617641
fix 2 and 3
2004-11-01 08:06:56 +00:00
Glenn Maynard
bf9af176a0
simplify
2004-11-01 05:12:39 +00:00
Glenn Maynard
58f31d5b96
cleanup (don't think it's correct yet)
2004-11-01 05:08:48 +00:00
Ben Anderson
806f519d16
Parse direct BPM changes correctly (source: http://www.angelfire.com/ga4/jackatrades606606/BMS_Reading_Tutorial.txt )
2004-11-01 01:49:50 +00:00
Glenn Maynard
18c8a72bc5
fix key file extensions
2004-10-26 20:03:04 +00:00
Glenn Maynard
b4de0cfc14
cleanup
...
support #nnn02 tags (temporary BPM divide)
2004-10-25 05:35:15 +00:00
Steve Checkoway
9582577d84
Fix warnings.
2004-10-25 03:44:28 +00:00
Glenn Maynard
f63c57b5f4
remove GetTapNoteX
2004-10-25 03:16:40 +00:00
Glenn Maynard
6d8a38b6a5
vc7 compile fix
2004-10-24 19:21:44 +00:00
Chris Danford
ce4780559f
froundf -> Quantize
2004-10-24 17:44:51 +00:00
Chris Danford
bb0da6a289
quantize rows when reading from BMSs so that we don't end up with 2MB cache files
2004-10-24 17:36:13 +00:00
Chris Danford
eff1dc9695
play auto keysounds
2004-10-24 10:45:30 +00:00
Chris Danford
584189a10c
naming cleanup: iNoteIndex -> row
2004-10-24 00:17:15 +00:00
Chris Danford
3ac1dba044
simplify TapAttack storage:
...
store attack info in TapNote
in the SMNoteData string, store the attack params inline (like with keysounds)
play keysounds when hit
still doesn't play keysounds on a miss
still doesn't play autoKeysounds
2004-10-23 23:41:49 +00:00
Chris Danford
09193d9e4b
cleanup:
...
use references when passing NoteData
Have player own a NoteDataWithScoring, not derive from it
2004-10-23 17:43:49 +00:00
Steve Checkoway
92b1b371c7
Header cleanup.
2004-10-05 11:03:43 +00:00
Steve Checkoway
ca6887e5f8
Fix warning.
2004-10-05 10:36:11 +00:00
Chris Danford
b76949e1a9
fix warnings
2004-10-02 05:08:59 +00:00
Chris Danford
b20eaeb60b
Parse and maintain keysound data, but don't play the keysounds yet.
2004-09-29 07:19:44 +00:00
Chris Danford
0f6ed81faf
Use a associative arrays instead of normal vectors to hold TapNotes.
...
More places NoteDataUtil, NoteDataWithScoring need to be converted to use the new row iteration macros.
2004-09-29 06:43:57 +00:00
Glenn Maynard
c8ba0bec7b
fix warnings
2004-09-28 02:14:56 +00:00
Chris Danford
aadc33ef04
PC
2004-09-27 01:49:18 +00:00
Chris Danford
d5e2eb3044
clean up BMS parsing
...
fix BM data detected as dance-double then autogen'd to bm-single7
2004-09-27 01:46:57 +00:00
Chris Danford
190b7c1493
merge bm with iidx
...
eliminate duplicate styles and unnecesary edit styles
2004-09-25 17:41:31 +00:00
Chris Danford
b3493e25b8
fix crash when reading 14 key BMS data
2004-09-25 08:00:18 +00:00
Glenn Maynard
2e6ffb73e0
remove construct-and-open RageFile ctor
2004-09-25 02:50:31 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00
Chris Danford
d2a54cca31
make TapNote a struct. Over time, more properties will move from the enums and into bit flags.
2004-09-12 05:56:24 +00:00
Glenn Maynard
aad73b53e9
(float) atof() -> strtof(), which computes in float instead of computing in
...
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Glenn Maynard
4d914765b9
show error message
2004-07-13 00:03:47 +00:00
Chris Danford
d412ab055d
name cleanup: NotesType -> StepsType
2004-07-12 02:19:24 +00:00
Glenn Maynard
85cbccad56
unsigned -> size_t for string::find returns
2004-06-16 07:03:25 +00:00
Glenn Maynard
ae99f03a4b
error check
2004-06-06 21:04:48 +00:00
Glenn Maynard
2ca100eaad
stop accessing m_vpSteps directly
2004-06-05 05:13:23 +00:00
Glenn Maynard
8da3651c13
cleanup, simplify
2004-05-31 22:07:09 +00:00
Glenn Maynard
7dfd611587
license updates
2004-05-31 21:55:14 +00:00
Chris Danford
4bb777232d
name cleanup: "pNotes" -> "pSteps"
2004-05-24 03:41:39 +00:00
Chris Danford
1920634135
move Song/Steps sorting into Song/StepsUtil.h/cpp
2004-04-18 07:34:37 +00:00
Glenn Maynard
e9070532fa
Only slide duplicate difficulties when loading BMS files; in other cases,
...
just move the duplicates to EDIT. This should fix the common glitch
of users with eg. two beginner steps for a song having all difficulties
bumped up; instead, just move the extra step to an edit.
2004-04-17 01:47:55 +00:00