Commit Graph

157 Commits

Author SHA1 Message Date
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 90a611387f Unused for some reason I haven't determined. 2007-02-14 11:57:24 +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
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 30d9410b65 Unneeded. 2006-11-01 10:45:51 +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
Glenn Maynard e206261b80 ARRAYSIZE -> ARRAYLEN 2006-09-13 03:11:38 +00:00
Steve Checkoway faf32603f1 Consistent user warnings. 2006-09-04 08:09:27 +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 f10e5b34b3 Only guess at 6-panel if DetermineStepsType() decides on STEPS_TYPE_BEAT_SINGLE5. Before, this guess was being ignored. 2006-08-15 11:25:38 +00:00
Steve Checkoway 000e984c2c Do not bother copying this. 2006-08-15 11:16:45 +00:00
Steve Checkoway 4a3b05741e Handle hold notes in bms files (untested). 2006-08-15 11:11:21 +00:00
Steve Checkoway 98c23ac3da StringToFloat 2006-08-15 09:55:57 +00:00
Steve Checkoway 9d3538d89d Style cleanup. 2006-08-15 09:54:48 +00:00
Steve Checkoway 734f9760cc Remove unnecessary member. Just set iKeysoundIndex to -1 if it isn't valid. 2006-08-14 10:17:48 +00:00
Steve Checkoway 4f4e034af1 Ignore invalid BPM changes. No more nonpositive BPMs. 2006-07-20 01:46:01 +00:00
Steve Checkoway a07e194cf1 Revert. Fixes Linux build. 2006-07-18 05:51:37 +00:00
Jason Felds 366c3440d4 Fix VC8 macro redef warning. (more to come) 2006-07-18 03:56:37 +00:00
Chris Danford af3e1c571c move Steps searching out of song into SongUtil so that it can be shared with CourseEntry 2006-06-13 01:10:37 +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
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
Glenn Maynard dcd1d8f98e prefer standard find() over Find 2005-12-21 08:33:30 +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
Chris Danford 1ead066956 Use generic names for TapNoteScore values since they are treated genericly by the code.
Theme changes coming...
2005-10-08 02:02:03 +00:00
Chris Danford 1333bfd2d8 remove references to specific games for things that are only specific to the controller type 2005-10-07 05:00:52 +00:00
Glenn Maynard ebe60c9eb7 simplify 2005-06-27 05:24:24 +00:00
Steve Checkoway cc8aa318ba For some reason, g++ cannot determine that the break statements will not be reached. Removing them removes the warning. 2005-06-19 00:26:20 +00:00
Chris Danford 04715f4dd3 re-clamp the description when changing the difficulty 2005-04-13 08:45:00 +00:00
Sean Burke 15486d5963 Add check for beginner notechart 2005-03-12 06:24:41 +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
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