Chris Danford
d2f6f8e03f
experimental time signature support. Background changes and beat bars are currently the only things that are aware of time signature. Note coloring isn't aware of time signature yet.
2007-04-30 05:12:48 +00:00
Steve Checkoway
5a602a6fa2
Compute the file path cache one time.
2007-04-28 08:59:00 +00:00
Chris Danford
1b8e2be15f
StartIndex -> StartRow
2007-04-25 22:42:40 +00:00
Chris Danford
af6491320a
add experimental lead track music file
...
This should be generalized to allow named music tracks
2007-04-24 03:15:00 +00:00
Glenn Maynard
1de53984ad
Remove #SELECTABLE:ROULETTE.
2007-04-10 23:09:28 +00:00
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
Chris Danford
f77647b5ad
enum name cleanup: DIFFICULTY_* -> Difficulty_*
2007-02-22 07:18:05 +00:00
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
1b2c9da350
Don't create a loader.
2007-02-14 10:09:05 +00:00
Chris Danford
35df8821ca
add Lua GetOneSteps
2007-02-09 03:23:24 +00:00
Glenn Maynard
38aec56633
add paranoid BackUpAllSongSaves
2007-02-03 02:32:57 +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
f88111380a
If writing the SM file fails, don't write cache, either.
2007-02-03 00:54:28 +00:00
Glenn Maynard
9d541532af
error returns
2007-02-03 00:13:35 +00:00
Glenn Maynard
cd5f4a6e39
SoundReader_FileReader -> RageSoundReader_FileReader
2006-11-30 04:22:38 +00:00
Glenn Maynard
c895f1c29c
SoundReader -> RageSoundReader
2006-11-29 09:16:59 +00:00
John Bauer
cca2d60509
Fix RevertFromDisk using a method that preserves as many of the original
...
Steps* pointers as possible. It is pointless to get rid of RevertFromDisk
entirely because all of the unpleasant side effects it can have are possible
using other tools in the editor.
2006-11-12 16:49:00 +00:00
Glenn Maynard
05bfda3f4b
don't delete autogen steps; they're created and deleted by Song
2006-11-12 04:19:51 +00:00
Glenn Maynard
c6e62ae92d
revert. Need a better approach.
2006-11-12 03:26:25 +00:00
John Bauer
c3e39e12a3
Fix several annoying edit mode bugs, mostly by fixing the Song copy
...
operator and the various uses of it.
- revert file from disk: keeps old BPM. The BPMS on disk are added to
the existing BPM information!
- edit mode turns X stepcharts into 2X when reverting
- sometimes edit mode loses an entire stepchart: open a stepchart,
change to a new stepchart, exit without going back, original chart gone
- edit a chart, make a change in a different chart, exit from the first chart:
change made in different chart doesn't revert
- normally, when you create a stepchart and don't save it after editting it,
it is deleted. however, if you create a stepchart, don't save it, and exit
edit mode while looking at a different chart, the chart isn't deleted.
Some existing bugs are not fixed, though:
- delete the last stepchart for a step type. CTD.
- Edit one of the fake doubles stepcharts for a song that doesn't have
real doubles stepcharts. Exit without doing anything. CTD. This is
probably the same problem as the previous bug.
- delete a song or a steps that happens to be part of a trail. Trail is now
broken. Some other edits should affect a trail as well, but don't.
2006-11-10 07:02:27 +00:00
Steve Checkoway
c4fe855aca
Spacing.
2006-11-04 23:36:42 +00:00
Steve Checkoway
63bb4faf7d
Make NotesWriterDWI also a namespace.
2006-11-04 23:36:11 +00:00
Steve Checkoway
0ed39a2f5e
No persistent data so make it a namespace.
2006-11-04 23:28:33 +00:00
Steve Checkoway
30d9410b65
Unneeded.
2006-11-01 10:45:51 +00:00
Glenn Maynard
4bb479a445
standard enums for some preference types
2006-10-07 07:43:18 +00:00
Glenn Maynard
b67e57864e
Invalid
2006-10-07 03:32:16 +00:00
Glenn Maynard
2dee2b1cf7
cleanup
2006-10-05 07:33:47 +00:00
Glenn Maynard
c690fdcfe4
unify registration
2006-09-29 00:01:32 +00:00
Glenn Maynard
153bcedd40
simpler Lua boilerplate
2006-09-27 20:03:31 +00:00
Glenn Maynard
982228b7e6
bind StepsType
2006-09-27 06:09:52 +00:00
Glenn Maynard
a7b53444f8
NUM_STEPS_TYPES -> NUM_StepsType
2006-09-26 20:22:28 +00:00
Glenn Maynard
99ccb03ac7
update Difficulty
2006-09-26 05:04:14 +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
6fc2fbbc88
Bump.
2006-09-02 06:12:45 +00:00
Steve Checkoway
061e3fb07a
When Steps have changed in memory but not on disk, calling Compress() could lose all changes in memory. Clear the file name to ensure this doesn't happen and reset it when the Song has been written to cache once more.
2006-08-22 13:45:36 +00:00
Steve Checkoway
f4d1b8aaa2
Bump.
2006-08-21 13:06:35 +00:00
Glenn Maynard
e69aa02e51
bind HasStepsTypeAndDifficulty
2006-08-20 04:40:32 +00:00
Glenn Maynard
9895b8c93c
unneeded
2006-08-20 03:23:44 +00:00
Glenn Maynard
2fe1e69522
move out of PrefsMan
2006-08-17 01:05:00 +00:00
Glenn Maynard
7bed654fbb
IsLong, IsMarathon, bindings
2006-08-17 00:27:58 +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
Steve Checkoway
ab978ef733
While I'm at it, remove leading and trailing slashes to make the cache files look like "Songs_foo" instead of "_Songs_foo_".
2006-07-24 08:35:33 +00:00
Steve Checkoway
9a21d52d0b
Replace invalid utf-8 characters with underscores. Bump cache version.
2006-07-24 08:25:55 +00:00
Steve Checkoway
52d48a1eac
CanAutoGenStepsType. For some reason lights cannot be autogenned. I've moved that from Song to GameManager. Whenever this restriction is lifted (I don't know why the restriction exists), it should be changed to ST_FLAGS_NONE.
2006-07-24 05:01:48 +00:00
Steve Checkoway
3a9bdc1646
Move MakeLoader to NotesLoader. It doesn't make sense for it to be a member function of Song.
2006-06-20 07:12:52 +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
Chris Danford
0f9d78b06d
allow songman->Reload with FastLoad
2006-05-05 00:41:17 +00:00