Commit Graph

10 Commits

Author SHA1 Message Date
Chris Danford 317c352a9b Various bug fixes. See changelog. 2002-07-23 01:41:40 +00:00
Peter S. May c5570839d9 The changes I have made have mostly to do with the Edit mode, but do pay
attention, because one of my code additions might save you some work in the
future.

* NotesTypeToStyle(nt) and StyleToNotesType(s)

Look in GameConstantsAndTypes.h for these two new functions. Essentially, they
provide a centralized automation for the NotesType/Style switch() tables in
several functions. On top of that, I've even included a Perl script which will
actually rewrite the two functions for you - all you have to do is keep the
array at the beginning of the script updated, then run the script and paste
the results. See the notes in GameConstantsAndTypes.h for details.

* Changes in ScreenEditMenu and ScreenEdit

I changed ScreenEditMenu and ScreenEdit in order to correct a bug that made it
so that in Edit mode, when working with a (NEW) sequence (previously created
sequences were not affected), no matter which style was selected, it was only
possible to edit the leftmost four arrows of the style. This made creating
ez2-single, pump-single, and dance-solo (among others) impractical (one would
have to manually add a new section to the .sm file with the correct number of
columns; then it would be editable).

The change made to ScreenEditMenu is only to update the NotesType to Style
conversion; the former switch() table in HandleScreenMessage() was already
out of date and unable to support EZ2 styles/types.

The change made to ScreenEdit changes the m_NotesType of the freshly
initialized Notes object. In Notes::Notes(), m_NotesType is initialized to
NOTES_TYPE_DANCE_SINGLE (hence the locking to four arrows). My addition
changes m_NotesType to reflect the selection made in ScreenEditMenu.

Word up.
- Dro -
2002-07-16 18:38:12 +00:00
Chris Danford 82e52c1306 3.0 beta 4 2002-07-11 19:02:26 +00:00
Chris Danford a44b557d1b no message 2002-06-29 11:59:09 +00:00
Chris Danford 0bc6e1ec7e weekend checkin 2002-06-14 22:25:22 +00:00
Chris Danford bfc327df13 no message 2002-05-29 09:47:24 +00:00
Chris Danford f3c360a7d6 chugging away at 3.0 2002-05-28 20:01:22 +00:00
Chris Danford 7800df57a1 no message 2002-05-27 18:36:01 +00:00
Chris Danford b723efdaba no message 2002-05-27 08:23:27 +00:00
Chris Danford 8549236385 no message 2002-05-20 08:59:37 +00:00