Steve Checkoway
cdf80af9b9
Cleanup and style.
2007-02-14 10:57:26 +00:00
Steve Checkoway
e9efc9fda9
Remove all state.
2007-02-14 10:55:36 +00:00
Steve Checkoway
d4cd093daf
These are also not member variables. If you only need a value in a function, just make it a local variable.
2007-02-14 10:50:13 +00:00
Steve Checkoway
cb57db0d03
These are just local variables.
2007-02-14 10:44:54 +00:00
Steve Checkoway
4517499f0f
lroundf -> lrintf.
2007-01-03 05:05:28 +00:00
Steve Checkoway
eb0b26cd82
Float to int is slow on ppc. It requires a store, a big stall, and then a load. It's even worse on a G5 if the compiler is dumb (and let's face it, I'm using gcc here...). Just use lroundf when we want an int. It will certainly be no slower.
2007-01-02 23:36:44 +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
30d9410b65
Unneeded.
2006-11-01 10:45:51 +00:00
Jason Felds
c4286ee6f3
Remove an old comment.
2006-10-19 05:01:53 +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
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
Jason Felds
3c3c1ca896
General cleanup.
2006-08-19 19:44:23 +00:00
Jason Felds
3533fad7ae
Adjust comments.
2006-08-14 04:04:20 +00:00
Jason Felds
26173fd639
Fixed up both KIU and DM support: the current behavior is as good as it will be without other changes outside of these files.
2006-07-22 20:53:26 +00:00
Jason Felds
ba79c0bc88
Cleanups and loggings and endings, oh my!
2006-07-22 16:09:47 +00:00
Jason Felds
0917b5bcc1
Direct Move support has now been enabled. Minor touch-ups were also done.
2006-07-22 08:21:13 +00:00
Jason Felds
0014c5097e
More Direct Move syntax preparation. If the global variable is not recommended (it will be needed in KSFLoader::LoadFromKSFFile), please advise or make the recommende fixes.
2006-07-21 18:52:15 +00:00
Jason Felds
9798712912
Tidying.
2006-07-17 22:36:15 +00:00
Jason Felds
4e92c6c77d
Add syntax warning.
2006-07-17 18:32:21 +00:00
Jason Felds
a3b803e9e4
Add real name to copyright notice.
2006-07-11 04:13:19 +00:00
Jason Felds
f8f0aa6c34
Account for Nightmare difficulty files (Nightmare is always double).
2006-07-11 03:21:34 +00:00
Jason Felds
146604972e
Removed self from copyright.
2006-07-10 22:04:10 +00:00
Jason Felds
d12347f246
Greatly improved BPM change formula. There are still minor flubs, but it's more accurate than ever.
2006-07-10 19:01:52 +00:00
Steve Checkoway
5afc2c41b9
Oops, readded removed comments. (No more coding while sick for me tonight, probably.)
2006-07-08 06:15:26 +00:00
Steve Checkoway
4130874a41
Disallow nonpositive tick counts and negative difficulties. (I'm not sure if the latter should be positive or merely nonnegative.)
2006-07-08 06:07:54 +00:00
Steve Checkoway
5774a0a70d
Cleanup.
2006-07-08 06:00:37 +00:00
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