Chris Danford
0160e23705
style cleanup: use FOREACH_ENUM( X, x ) everywhere instead of FOREACH_X( x ) for consistency
...
The FOREACH_X defines are not very useful, and they were created back before FOREACH_ENUM was convenient.
2007-02-23 22:29:42 +00:00
Glenn Maynard
a49fd8ec8b
fix newline accumulation
2007-02-03 02:39:50 +00:00
Glenn Maynard
a41f0c0dec
SetSavedToDisk in Save(), not in SM_SaveSuccessful. When we save the
...
whole file, all steps are saved to disk; we were only marking the
active steps. This sequence would cause steps to be wrongly deleted:
1: create easy and medium steps for one steps type; save
2: on another steps type, edit easy steps which were autogenned from the above
change the steps
3: f6 to change to medium steps steps which were autogenned from the above
4: menu -> save
This will save all data, but only medium will be marked saved to disk.
5: f5 to change back to easy steps
6: menu -> exit
This will delete the easy steps, because they were not marked saved to disk.
2007-02-03 00:55:52 +00:00
Glenn Maynard
65bc007ec6
fix error check
2007-02-03 00:48:07 +00:00
Glenn Maynard
de930d2900
error check
2007-02-03 00:30:39 +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
ed7394d72e
Reorder some more includes.
2006-11-29 22:04:29 +00:00
Steve Checkoway
4ab88447f4
Make static, nonmember functions.
2006-11-04 23:23:41 +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
Steve Checkoway
b939bdec8e
Add a last beat hint. The real last beat will be at least as long as the hint.
2006-09-02 22:22:57 +00:00
Steve Checkoway
ed2331b839
Cleanup.
2006-08-22 13:40:12 +00:00
Steve Checkoway
884af552ee
Allow combined player steps to have per-player radar values. This doesn't work for trails where it just uses the PLAYER_1 values, same with writing to the catalog file.
2006-07-28 03:34:14 +00:00
Chris Danford
955ccd8699
Write radar values for edits. If the program loading them doesn't trust the values, then it can ignore the values
2006-04-04 21:42:21 +00:00
Glenn Maynard
8d54d072e3
fix newline
2006-03-11 05:06:22 +00:00
Chris Danford
7ec7a906c3
finish edit renaming and handle display errors encountered during rename
2006-03-08 22:05:23 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Chris Danford
44225ad379
XToThemedString -> XToLocalizedString
2006-01-07 04:11:29 +00:00
Glenn Maynard
ae17e2ffe3
simplify
2005-12-29 02:24:12 +00:00
Glenn Maynard
0e946835b6
filter filenames, so creating an edit named "foo 2/3" doesn't fail when
...
writing
2005-12-29 01:22:23 +00:00
Chris Danford
37f82b43f7
remove CStringArray #define
2005-12-09 21:36:22 +00:00
Glenn Maynard
4bd7da7256
Delete old files after writing, not before, to prevent data loss. (File
...
writing makes efforts to try to avoid data loss if we crash while saving.)
2005-12-06 20:44:39 +00:00
Chris Danford
ed1c2766c2
remove bogus assert. It was firing when saving a new edit.
2005-12-06 19:06:45 +00:00
Glenn Maynard
533e2e2175
error handling
2005-12-06 17:45:35 +00:00
Chris Danford
2d8b30e049
polish
2005-12-06 12:41:33 +00:00
Chris Danford
9e8469eb65
save edits to machine profile
2005-12-03 20:34:49 +00:00
Chris Danford
b489c43a88
add color parameter to BGChanges
2005-06-05 22:21:55 +00:00
Chris Danford
d6753dd5f7
#BGCHANGES1 -> #BGCHANGES2
2005-06-05 03:14:56 +00:00
Chris Danford
3b61a74477
reduce header file dependencies
2005-06-04 21:22:50 +00:00
Chris Danford
dac72665e3
move background file enumerating into BackgroundUtil.*
...
fix editor background change functionality
2005-05-31 01:17:37 +00:00
Chris Danford
ac5a99b41f
specify effect and transition in each background change
2005-05-29 01:11:49 +00:00
Glenn Maynard
46bd5e4c65
fix warning
2005-05-28 21:55:47 +00:00
Chris Danford
68a82faa6a
add multiple background layers
2005-05-26 09:35:57 +00:00
Glenn Maynard
a9c3143091
fix newlines
2005-02-28 09:01:13 +00:00
Glenn Maynard
e9a6b578e3
fix (mostly bogus) warnings
2005-02-20 04:49:36 +00:00
Glenn Maynard
b8a9d0384a
no, really, don't append a newline here
2005-02-19 10:09:20 +00:00
Glenn Maynard
d1fb6a41eb
NotesWriterSM::GetEditFile
2005-02-19 07:48:16 +00:00
Chris Danford
505dab87c2
add .SM genre tag
2005-01-31 05:25:27 +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
b20eaeb60b
Parse and maintain keysound data, but don't play the keysounds yet.
2004-09-29 07:19:44 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00
Glenn Maynard
66b17e5ef2
fix legacy songs not showing background at end, but still allow new
...
songs to not have it
2004-09-13 08:00:34 +00:00
Chris Danford
d412ab055d
name cleanup: NotesType -> StepsType
2004-07-12 02:19:24 +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
Chris Danford
4bb777232d
name cleanup: "pNotes" -> "pSteps"
2004-05-24 03:41:39 +00:00
Glenn Maynard
512eebdb60
RageFile::SLOW_FLUSH when writing non-cache SMs
2004-04-19 22:20:38 +00:00
Glenn Maynard
07629d0eb4
don't flush the whole directory cache after writing an SM
2004-04-19 20:57:54 +00:00