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
Chris Danford
bc6f682ebb
add lua bindings
2006-05-01 12:45:42 +00:00
Chris Danford
1501fbfbf5
bump cache version
2006-04-30 07:34:47 +00:00
Chris Danford
1860c6c674
consolidate Steps description validation
2006-03-08 04:03:39 +00:00
Glenn Maynard
9c4d7606cf
ToLower -> MakeLower
2006-03-01 00:39:32 +00:00
Glenn Maynard
70c3facebc
don't use istring here
2006-02-28 23:04:24 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Chris Danford
df984aef76
working on localization tool
2005-12-29 02:40:09 +00:00
Glenn Maynard
50276a15be
fix comment
2005-12-22 02:40:07 +00:00
Glenn Maynard
902e2a5701
prefer standard find() over Find
2005-12-21 08:43:44 +00:00
Glenn Maynard
39b07e55b3
cleanup (prefer size() over GetLength)
2005-12-21 07:50:14 +00:00
Glenn Maynard
702c38c2d1
cleanup
2005-12-19 01:37:24 +00:00
Chris Danford
37f82b43f7
remove CStringArray #define
2005-12-09 21:36:22 +00:00
Chris Danford
9e8469eb65
save edits to machine profile
2005-12-03 20:34:49 +00:00
Chris Danford
36c7d8e0ed
enum name cleanup
2005-12-01 03:20:25 +00:00
Chris Danford
cbe4ef50b5
Add edit management screen
2005-11-30 22:42:28 +00:00
Chris Danford
ffbf54c263
Loading a blank Song if a mp3/ogg file is present and no SM/KSF/DWI is present
2005-11-06 12:52:19 +00:00
Chris Danford
bc332a57b1
change Translation.dat -> Translations.xml
...
Move GroupName translations out of code and into Translations.xml
2005-10-06 07:01:58 +00:00
Chris Danford
65d71a4f23
expermienting with DEFINE_METHOD macro for Lua methods
2005-09-10 02:47:04 +00:00