Commit Graph

97 Commits

Author SHA1 Message Date
Chris Danford e623ca8d3d StringToDifficulty->BackwardCompatibleStringToDifficulty. Don't accept song file backward compatible names other places, like in metrics 2008-11-28 18:08:12 +00:00
Glenn Maynard 1a31c337c6 fix empty statement warning 2008-06-06 18:38:07 +00:00
Glenn Maynard 3e36a05c5f fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2008-03-09 01:51:34 +00:00
AJ Kelly 373ab121f0 support for #GENRE done right this time 2008-02-23 21:29:50 +00:00
AJ Kelly f8e4e4c1be read #GENRE tag from DWI files 2008-02-23 19:37:45 +00:00
Chris Danford d2f6f8e03f experimental time signature support. Background changes and beat bars are currently the only things that are aware of time signature. Note coloring isn't aware of time signature yet. 2007-04-30 05:12:48 +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 598e602bd9 Style. 2007-02-14 10:27:02 +00:00
Steve Checkoway 11eec4b0f8 Merge these. 2007-02-14 10:26:30 +00:00
Steve Checkoway 68cc42acc8 Move closer to being stateless. (It still uses its superclass's data.) 2007-02-14 10:22:55 +00:00
John Bauer 7ebfd65a9b Make it so .sm files can contain \-escaped characters. Also, make the
writer for .dwi files replace control characters with dwi-safe characters.
Other file formats are unaffected.
2006-12-01 22:15:26 +00:00
John Bauer af8c5e7df9 These three stepchart load methods should set SavedToDisk just like the
SM load method does.
2006-11-04 14:18:26 +00:00
Steve Checkoway c0a119bf10 Unneeded. 2006-11-01 10:34:20 +00:00
Steve Checkoway 0276292b9f Revert. The encoding concerns brought up on the mailing have not been addressed. 2006-11-01 08:45:29 +00:00
Jason Felds 4dc82ae097 Fix up the #SMxxx tag output (thanks xbskid). 2006-10-30 01:52:20 +00:00
Jason Felds 56ceb126a0 Hack. Add direct translit support for DWI. 2006-10-22 06:36:05 +00:00
Glenn Maynard f806ec5936 StepsType_Invalid 2006-09-26 20:28:46 +00:00
Steve Checkoway c8a2b7601c LogType -> string. 2006-09-24 03:57:26 +00:00
Steve Checkoway faf32603f1 Consistent user warnings. 2006-09-04 08:09:27 +00:00
Steve Checkoway 1ebea3ccf5 Cleanup. 2006-09-04 05:26:34 +00:00
Steve Checkoway 4606d68fdf Move warnings meant for the user to userlog.txt. These are as inconsistent in format as before but at least they're all in one place. 2006-09-03 05:16:09 +00:00
Steve Checkoway 4f4e034af1 Ignore invalid BPM changes. No more nonpositive BPMs. 2006-07-20 01:46:01 +00:00
Steve Checkoway d2f3a14495 strtof -> StringToFloat. 2006-06-12 06:42:25 +00:00
Glenn Maynard 9c4d7606cf ToLower -> MakeLower 2006-03-01 00:39:32 +00:00
Glenn Maynard 70c3facebc don't use istring here 2006-02-28 23:04:24 +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
Steve Checkoway 4e84abb2b6 Fix warnings. 2005-12-23 09:51:09 +00:00
Glenn Maynard 39b07e55b3 cleanup (prefer size() over GetLength) 2005-12-21 07:50:14 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Glenn Maynard cea0103b59 DWI read/write fixes 2005-02-12 08:18:31 +00:00
Glenn Maynard bb7482e722 evil big commit (sorry):
Remove m_HoldNote array entirely.  Remove 2sAnd3s.  Store hold note
durations in the hold head.  hold_tail only still exists when InsertHoldTails
is used, to make SM parsing a little easier (may go away).  Add helpers
for iterating over ranges while including or excluding adjacent and overlapping
hold notes.  Range operations are now [start,end) instead of [start,end].
(probably more details coming to sm-dev soon)
2005-01-25 05:02:35 +00:00
Glenn Maynard 52731adc29 NoteField::m_fBeginMarker, m_fEndMarker -> m_iBeginMarker, m_iEndMarker
go back to storing BPM as a float, until I'm sure it won't cause precision
problems
2005-01-23 23:17:12 +00:00
Glenn Maynard 3634c07656 Represent TimingData values (except for "seconds") in fixed-point.
Maybe we should stop calling note indexes "rows" and "indexes", and just
call them "beats"; if they're stored as an integer, they're in fixed-point.  Things
like "note rows per second" are a lot less intuitive than just calling them "beats
per second".
2005-01-23 21:55:01 +00:00
Glenn Maynard a99d7e0dc4 remove ReserveRows 2004-10-25 03:17:56 +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
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 0c4f092fd3 fix ambiguous ?: types 2004-08-06 21:01:28 +00:00
Glenn Maynard e96a0cca00 show error messages 2004-07-12 23:47:39 +00:00
Glenn Maynard 85cbccad56 unsigned -> size_t for string::find returns 2004-06-16 07:03:25 +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
Glenn Maynard f07a2c47cf quiet old log 2004-05-19 04:09:08 +00:00
Glenn Maynard a1c40d7f7a don't put the difficulty in the description 2004-03-29 21:08:59 +00:00
Glenn Maynard 86304ee6d8 fix crash loading DWIs with invalid #FREEZE values 2004-03-26 22:56:17 +00:00
Chris Danford 6154c14f86 add calorie tracking
clean up time formatting functions
2004-02-22 19:51:46 +00:00
Glenn Maynard c1462d88f5 TimingData 2003-12-18 04:48:26 +00:00