Commit Graph

118 Commits

Author SHA1 Message Date
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
Steve Checkoway fa9afed825 Fix warning once and for all. (Two versions of gcc give opposite warnings.) 2004-12-04 20:33:17 +00:00
Sean Burke b8150afc69 Fix warning. 2004-12-04 17:13:58 +00:00
Chris Danford 8fe7c75a9a cleanup
Don't use GetSteps with the really long parameter list absolutely necessary.
2004-11-24 16:25:47 +00:00
Steve Checkoway 55fa9ef592 Fix warning. 2004-11-20 20:40:11 +00:00
Glenn Maynard c483fbbd1a foo 2004-11-13 22:26:31 +00:00
Glenn Maynard f7617415e6 split off GetCommonTagFromMapList 2004-11-13 22:23:51 +00:00
Glenn Maynard eeb0ac35fb fix crash 2004-11-13 22:19:21 +00:00
Sean Burke c9067dec65 fix unsigned warnings 2004-11-13 22:01:59 +00:00
Glenn Maynard f93a43bdc4 Fix formatting again--please fix your editor ... 2004-11-13 21:54:06 +00:00
Glenn Maynard 8b3fafb139 stop putting garbage in the notes description
fix compile
2004-11-13 21:51:45 +00:00
Glenn Maynard f88624ef31 stop doing incorrect parsing on the title 2004-11-13 21:46:43 +00:00
Glenn Maynard d55dee1dd1 solo description is "solo", not "edit" 2004-11-13 21:42:15 +00:00
Ben Anderson 6ae0918d7b Catch (solo) tag 2004-11-13 21:35:17 +00:00
Glenn Maynard b5fac2eb05 s/FindLargestCommonSubstring/FindLargestInitialSubstring/
do it without lots of string copying/comparing
2004-11-13 21:17:27 +00:00
Glenn Maynard c0930b9c33 formatting 2004-11-13 21:08:19 +00:00
Glenn Maynard 07fd0101dc simplify 2004-11-13 21:07:10 +00:00
Glenn Maynard 2a92bc832a remove commonSubstrLen; clearer to just size() each time, and it's only
used in a few places
2004-11-13 21:01:09 +00:00
Glenn Maynard a4306e55bb fix warnings 2004-11-13 20:56:23 +00:00
Glenn Maynard 2de78dfd5d unused variable 2004-11-13 20:53:46 +00:00
Glenn Maynard 75f0dee79c fix up formatting 2004-11-13 20:48:28 +00:00
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