Commit Graph

78 Commits

Author SHA1 Message Date
Jason Felds e1547e4bac Added alternate name for DIFFICULTY_EASY to account for recent arcade mixes. 2006-07-08 05:25:56 +00:00
Steve Checkoway 46611abb9a Don't crash on invalid ksf files.
00...
40...
00...
becomes
00...
10...
00...
2006-07-08 00:58:43 +00:00
Jason Felds f6d496c5cc Recognize STARTTIME2 and STARTTIME3 as legal tags: no need to LOG->Trace them. 2006-07-08 00:38:15 +00:00
Steve Checkoway d2f3a14495 strtof -> StringToFloat. 2006-06-12 06:42:25 +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 dcd1d8f98e prefer standard find() over Find 2005-12-21 08:33:30 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Thad Ward cd2645fe36 fix blowup when a KSF file has a #TITLE tag with nothing in it. (grr) 2005-10-30 09:45:04 +00:00
Glenn Maynard b0935c1111 deps 2005-07-03 02:51:29 +00:00
Glenn Maynard e44a329cd1 hmm. This part doesn't look right (using notedata.GetNumTracks before
setting it); since I havn't heard any complaints about this and I don't remember
which data it was trying to fix, revert it to assuming unidentified steps are
singles.
2005-06-17 01:10:52 +00:00
Glenn Maynard 11044792ee more old cleanups: figure out data that has no specified type 2005-06-17 01:08:01 +00:00
Glenn Maynard fad2f95c16 more old cleanups that have sat around for a year ... 2005-06-17 01:05:31 +00:00
Glenn Maynard f89817e192 committing old changes: no need for floating point in loading this 2005-06-17 00:58:51 +00:00
Glenn Maynard 3095c64e14 committing old changes ... 2005-06-17 00:52:56 +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 ae427e7cb5 update 2005-01-23 21:56:57 +00:00
Glenn Maynard 6c7bd2a8ac grr 2004-11-07 07:12:44 +00:00
Glenn Maynard 32e799c41e half-doubles reading fixes 2004-11-07 00:58:43 +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
Glenn Maynard 7590770659 Fix "halfdouble". (Heavily-used feature: nobody noticed this bug
for over a year.  :)
2004-09-13 08:47:22 +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 e96a0cca00 show error messages 2004-07-12 23:47:39 +00:00
Glenn Maynard 2ca100eaad stop accessing m_vpSteps directly 2004-06-05 05:13:23 +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 c1462d88f5 TimingData 2003-12-18 04:48:26 +00:00
Glenn Maynard 7003e2b157 Implement RADAR_NUM_HANDS result.
Change hold note contents to rows (from beats).  This makes it
consistent with tap note data.  Row numbers are also generally
more precise, since they're integers, not floats.
2003-12-16 04:00:39 +00:00
Glenn Maynard 11870a6072 continue phasing out BASE_PATH and SLASH 2003-12-10 09:26:05 +00:00
Glenn Maynard 1c2e75c9a0 simplify 2003-10-29 21:06:33 +00:00
Glenn Maynard 3a54183ce1 fix ksf reading in *nix 2003-09-02 03:19:33 +00:00
Andrew Livy 987d10baec Added support for Two BUNKI's and BPM changes in the KSF file format (e.g. Beat Of The War on PIU has 2 bpm changes). 2003-08-21 19:39:41 +00:00
Chris Danford 62a6a7754b Fill in Steps::m_sDescription automatically if missing. 2003-08-13 04:48:06 +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
Chris Danford 278cb4c3f1 runs on Xbox 2003-07-22 07:47:27 +00:00
Andrew Livy 5641af692a Added Pumps 'half-double' style 2003-05-22 01:34:03 +00:00
Glenn Maynard 1ebd7aac26 General simplification/cleanup.
Use conversion interface to read KSFs with CP942 data.
2003-05-21 00:10:31 +00:00
Glenn Maynard 32ca276305 read global data before reading notes 2003-05-19 19:58:46 +00:00
Glenn Maynard b629d71cd0 split global data reading into a function
also derive name from pathname if there is no #TITLE at all
2003-05-19 19:55:42 +00:00
Glenn Maynard 4866eb62a5 add incomplete BPM handling 2003-05-18 05:11:46 +00:00
Glenn Maynard 5257503d04 Don't wipe out UTF-8 titles. 2003-05-18 04:47:21 +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
Chris Danford d2a73edf35 fix HoldNote compile errors/warnings 2003-04-05 21:18:18 +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