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
Steve Checkoway
63bb4faf7d
Make NotesWriterDWI also a namespace.
2006-11-04 23:36:11 +00:00
Glenn Maynard
de6ca466d2
more enum standardization
2006-10-07 04:39:48 +00:00
Glenn Maynard
2ce839e4eb
Invalid
2006-10-07 04:25:28 +00:00
Steve Checkoway
c8a2b7601c
LogType -> string.
2006-09-24 03:57:26 +00:00
Steve Checkoway
951741153b
Only flush the directory into which we're writing.
2006-09-16 03:44:47 +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
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
b0935c1111
deps
2005-07-03 02:51:29 +00:00
Chris Danford
41becb56a4
GetFullDisplayTitle -> GetDisplayFullTitle
2005-05-23 00:38:09 +00:00
Glenn Maynard
b6401f145b
fix error message
2005-03-11 23:09:36 +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
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
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
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
Steve Checkoway
a613d4d9fa
s/RAGE_ASSERT/ASSERT/
2004-06-16 00:38:31 +00:00
Glenn Maynard
b882bb1e63
stop accessing Song::m_vpSteps directly
2004-06-04 23:36:50 +00:00
Glenn Maynard
7dfd611587
license updates
2004-05-31 21:55:14 +00:00
Glenn Maynard
4ac0eb38ae
fix edits causing malformed DWI tags to be written
2004-05-27 06:39:20 +00:00
Chris Danford
4bb777232d
name cleanup: "pNotes" -> "pSteps"
2004-05-24 03:41:39 +00:00
Glenn Maynard
76d3ac26c4
cleanup
2004-03-29 21:09:48 +00:00
Matt Denham
8eb0d03a60
Stopped the editor from crashing when attempting to save steps on Edit difficulty.
2004-02-21 04:45:48 +00:00
Glenn Maynard
c1462d88f5
TimingData
2003-12-18 04:48:26 +00:00
Glenn Maynard
ac13cda6a9
use RageFile
2003-12-04 22:20:41 +00:00
Glenn Maynard
4510eff0a8
fix warning
2003-12-04 20:42:42 +00:00
Chris Danford
78c96b7cad
add logging to find out why we hit strange NoteType assert when writing a DWI
2003-12-04 07:47:23 +00:00
Chris Danford
d51a3491a8
working on battle attacks
2003-11-15 08:51:47 +00:00
Matt Denham
7484667733
finish support for 48th/64th notes in code
...
add things possibly useful for mods when keysounds (and Keyboardmania) support are finished
2003-11-13 07:40:49 +00:00
Chris Danford
52100a727b
working on "attack notes"
2003-11-12 08:13:02 +00:00
Glenn Maynard
9c5b3a7da4
Move default back to the right place.
2003-11-04 18:28:06 +00:00
Matt Denham
6a4a16e5a6
fix up DWI writer, leave notes for things to fix soon
2003-11-04 08:44:26 +00:00
Glenn Maynard
71d11fd915
Fix obscure editor save bugs: clear cache after writing.
2003-11-01 22:09:56 +00:00
Glenn Maynard
78ecec47c4
Write #FILE tag.
2003-10-06 04:31:44 +00:00
Glenn Maynard
10641321ba
fix compile
2003-09-01 02:56:07 +00:00
Chris Gomez
0aebf25ccb
Save mines to SM files
...
Ignore mines when saving DWI files (feels more appropriate than saving them as steps)
2003-09-01 02:33:42 +00:00
Chris Danford
35950c4eaf
Add prefs for logging. Don't throw if can't open log file. Remove Ragefopen and Rageifstream (they aren't needed).
2003-08-13 04:40:23 +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
Chris Danford
da81d1aebd
write full title to a DWI, not just the main title
2003-07-10 06:02:21 +00:00
Glenn Maynard
a06eeea9c7
Completely revamp the DWI writing code. Handle things like:
...
248 -> <18>
24!4 -> 1!3
246!68!6 -> <19!9>
2003-07-07 01:12:30 +00:00
Glenn Maynard
5857d4cbd3
what the?
2003-07-07 00:16:52 +00:00
Glenn Maynard
568bc4bc2f
Fix writing DWIs with 96ths.
2003-07-06 23:37:16 +00:00
Chris Danford
32fd0062a9
use sections in SORT_BPM
...
choose sort from list in MusicWheel
2003-06-16 17:28:58 +00:00