Commit Graph

35 Commits

Author SHA1 Message Date
Chris Danford 9362ccedcd comment cleanup 2007-04-15 20:39:52 +00:00
Steve Checkoway 61ae8c3c1b NotesLoader is just a namespace. If you want to load a particular directory, there's no need to create a specialized loader, just call NotesLoader::LoadFromDir(). 2007-02-14 12:26:36 +00:00
Steve Checkoway 4c70d12f90 BMSLoader is now stateless. 2007-02-14 11:48:55 +00:00
Steve Checkoway 75e1089900 Remove m_sDir. It seems like passing sDir to LoadFromDir is pointless since it should already be set in out.GetSongDir(), or is that a bug? Shouldn't SetSongDir() be called? 2007-02-14 11:43:24 +00:00
Steve Checkoway 41ef86d162 Working toward stateless loader. 2007-02-14 11:35:14 +00:00
Steve Checkoway 5de8b7d052 pOut -> out. 2007-02-14 11:17:13 +00:00
Steve Checkoway 649d24f780 Reference not pointer. 2007-02-14 11:16:11 +00:00
Steve Checkoway 45038b7216 Working toward stateless loader. 2007-02-14 11:15:02 +00:00
Steve Checkoway 80aaa5fbb9 Working toward stateless loader. 2007-02-14 11:09:20 +00:00
Steve Checkoway 5f851a47ca Make GetApplicableFiles() static and don't create a loader unless it can load from that directory. 2006-11-01 10:09:13 +00:00
Chris Danford cb5bf9720d const RString & for easier debug stepping 2006-02-02 23:52:28 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Glenn Maynard 2412c73b22 comment, cleanup 2005-02-13 03:40:37 +00:00
Glenn Maynard f7617415e6 split off GetCommonTagFromMapList 2004-11-13 22:23:51 +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 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 f55a617641 fix 2 and 3 2004-11-01 08:06:56 +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
Steve Checkoway 92b1b371c7 Header cleanup. 2004-10-05 11:03:43 +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 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 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 8da3651c13 cleanup, simplify 2004-05-31 22:07:09 +00:00
Glenn Maynard 7dfd611587 license updates 2004-05-31 21:55:14 +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
Matt Denham 686f0656bd Re-fix Autogen (I'll shoot the person who forgot about TAP_EMPTY)
fix misc. errors with the BMS loader
finish support for 48th/64th notes in code
2003-11-13 07:35:58 +00:00
Matt Denham 664524a4e9 fixes for BMS loader, along with commented-out items for other Beatmania modes 2003-10-28 06:36:11 +00:00
Chris Danford bf02bfddf4 rename Notes to Steps 2003-08-03 00:13:55 +00:00
Glenn Maynard 0ff6f863ee s/Song.h/song.h/
I'd prefer "Song.h", but it's not worth losing history for, and SF will
choke on that rename anyway.
2003-02-16 04:28:17 +00:00
Glenn Maynard bd78e3499a Remove separation of Dance couples. 2002-09-12 08:37:12 +00:00
Glenn Maynard db53dc9923 add notesloader base class 2002-09-11 05:15:46 +00:00
Glenn Maynard 33a0e450e4 Switch to separate note patterns for couples. Add loader support.
This will break saving couples to DWI and probably the editor, too.
Getting to that.
2002-09-07 05:04:04 +00:00
Glenn Maynard 3bbfa5baf0 Move loaders into their own classes.
(These should have a common base class, but that can be done later;
I'm doing this to make it a bit more manageable so I can add the
new couples format to these.)
2002-09-06 23:24:40 +00:00