Commit Graph

72 Commits

Author SHA1 Message Date
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
Glenn Maynard 0ce98fb56a optimize 2003-12-11 04:53:16 +00:00
Glenn Maynard 60beca458d cleanup, const fix 2003-12-03 01:47:03 +00:00
Glenn Maynard 9902ad2847 simplify 2003-12-03 00:00:30 +00:00
Glenn Maynard 8de3ebe95f Use checkpoints for noisy logs, instead of traces, if the main purpose
is making it easier to track crashes.  That way, it'll show up in the crash
dump, but it won't clut logs.
2003-10-04 00:44:19 +00:00
Chris Danford 1a0d83cbc0 m_NotesType => m_StepsType
split NoteDataUtil to sep file
2003-08-07 06:36:34 +00:00
Chris Danford f5cd95b4f9 NotesType => StepsType 2003-08-07 06:16:17 +00:00
Chris Danford bf02bfddf4 rename Notes to Steps 2003-08-03 00:13:55 +00:00
Glenn Maynard 3014693618 fix blacklist image filenames being case-sensitive 2003-07-29 23:20:33 +00:00
Glenn Maynard 00426e59b2 implement BlacklistedImages 2003-07-28 08:24:16 +00:00
Glenn Maynard 3ecdae154b Add filename to error reporting 2003-07-15 19:55:06 +00:00
Glenn Maynard 28f2fcd75d Implement `192nds', <46> jumps, and <4!46!6> hold jumps. <4006>
containing 0s are still treated as 192nds, for compatibility.

Needs better testing.
2003-07-02 01:52:06 +00:00
Glenn Maynard 1aaaf8f565 -log 2003-06-30 08:41:17 +00:00
Glenn Maynard 4ca86c5a28 allow iso-8859-1 in DWIs 2003-06-30 08:40:10 +00:00
Chris Danford 32fd0062a9 use sections in SORT_BPM
choose sort from list in MusicWheel
2003-06-16 17:28:58 +00:00
Glenn Maynard a41998c22c Fix #DISPLAYBPM in DWIs for real. 2003-06-13 23:15:09 +00:00
Glenn Maynard 26de0ae0a4 fix reading #DISPLAYBPM from DWIs 2003-06-12 20:14:40 +00:00
William Reading 985dfb3e9d Patches submitted by Tobias Diedrich in this e-mail: https://sourceforge.net/mailarchive/forum.php\?thread_id=2533169\&forum_id=2749 2003-06-07 14:12:47 +00:00
Chris Danford 6ee884aed2 Add support for #DISPLAYBPM in DWI and SM files 2003-05-23 01:14:43 +00:00
Glenn Maynard fe33dec385 Partial s/GetString/c_str/.
(watch out for PlayerOptions::GetString and SongOptions::GetString)
2003-04-25 00:01:35 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Chris Danford f4e8c4fb24 clean up NoteData 2003-02-01 05:16:38 +00:00
Glenn Maynard 8870fa3044 fix harmless warnings when dwi files contain tabs 2003-01-27 01:58:24 +00:00
Chris Danford ac391552fd Changed Notes difficulty/description in preparation for edit selection system 2003-01-21 22:23:01 +00:00
Glenn Maynard 4f1455d30e fix up MsdFile; get rid of arbitrary limits 2003-01-14 22:44:30 +00:00
Glenn Maynard e4f9a339af add an accessor 2003-01-14 22:10:04 +00:00