Commit Graph

367 Commits

Author SHA1 Message Date
Glenn Maynard 3517499b05 remove hardcoded screen name 2005-03-12 23:27:48 +00:00
Glenn Maynard fe513d047f fix hold-only mappings 2005-03-12 00:51:09 +00:00
Chris Danford 7f0a969ceb use the NoteSkin specified in DefaultModifiers and don't reset the NoteSkin back to "default" 2005-03-11 04:53:02 +00:00
Chris Danford 359b6d14c9 fix AV if create new steps then back out w/o saving 2005-03-08 22:21:18 +00:00
Chris Danford 21ae0fc658 don't delete current Song's steps through the LastSaved when destructing ScreenEdit 2005-03-08 21:39:01 +00:00
Chris Danford dc9e8e23ff revert from in-memory copy, not from disk 2005-03-08 21:19:17 +00:00
Chris Danford fa479f08dd split ScreenMemcardSaveEditsInEditor into ScreenMemcardSaveEditsAfterSave and ScreenMemcardSaveEditsAfterExit 2005-03-08 09:03:12 +00:00
Chris Danford 264dd13b45 eliminate Save on ScreenEditMenu when creating new steps 2005-03-08 07:57:14 +00:00
Chris Danford 2d93802641 add Yes/No/Cancel prompt for exiting ScreenEdit 2005-03-08 04:02:25 +00:00
Glenn Maynard 31cb7efb3a build fix 2005-03-08 02:31:30 +00:00
Chris Danford e00de06b3f fix menu items are offset in home edit mode 2005-03-07 19:45:45 +00:00
Chris Danford 1a2619f445 Remove rows that aren't applicable to HomeEditMode 2005-03-07 18:26:30 +00:00
Chris Danford 8914b2a554 fix edit flag doesn't get reset, causing AV in edit menu 2005-02-28 20:36:12 +00:00
Chris Danford f6d91c7358 add asserts 2005-02-28 20:12:47 +00:00
Glenn Maynard 4c2ffa90ef Player cleanup 2005-02-26 05:59:12 +00:00
Chris Danford 071f02a862 allow access to individual BroadcastOnChangePtrs within BroadcastOnChangePtr1D 2005-02-25 18:17:26 +00:00
Chris Danford 4104edcad9 use BroadcastOnChange wrappers 2005-02-25 05:27:28 +00:00
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Glenn Maynard a847b4f47b fix paste clearing everything after the paste; also fixes compress, etc.
problems
2005-02-10 05:07:34 +00:00
Chris Danford 1de61aa8ae split AutoActor into a separate file 2005-02-09 05:27:51 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Glenn Maynard 9a164cd7b4 simplify 2005-02-03 03:39:15 +00:00
Glenn Maynard 38eaa83497 fix m_NoteFieldEdit being updated twice, causing animations to play
too fast
2005-02-03 03:13:06 +00:00
Glenn Maynard 0ac0049da8 fix assist tick 2005-01-31 19:12:30 +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 1dbb8cfac2 Fix shift not releasing g_iShiftAnchor.
This call is cleaner and simpler than DeviceToEdit, and it shouldn't
be less efficient to call it many times than calling DeviceToEdit once
(since DeviceToEdit loops over all keys anyway).  Maybe DeviceToEdit
should be dropped.
2005-01-23 23:49:19 +00:00
Glenn Maynard 52731adc29 NoteField::m_fBeginMarker, m_fEndMarker -> m_iBeginMarker, m_iEndMarker
go back to storing BPM as a float, until I'm sure it won't cause precision
problems
2005-01-23 23:17:12 +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
Glenn Maynard a769bc7c41 cleanup 2005-01-22 19:25:05 +00:00
Glenn Maynard 24f8de5cec more use of beat indexes instead of floating point
It actually looks like almost all of NoteDataUtil can be done naturally
in fixed-point: instead of passing around floating point, converting it to
fixed point for NoteData indexing, and adding floating-point beat fractions,
just pass around fixed point everywhere, and convert beat fractions to
fixed-point (which probably happens at compile-time)
If TimingData, etc. does the same thing, things will be simpler ...
2005-01-22 17:51:46 +00:00
Glenn Maynard 77d58c0d63 "Beat rows" are really just a fixed-point representation of beats. Prefer
using them in general over beats: it's more precise (we can tell exactly
how it'll round, and we can compare them without ugly error-margin hacks),
and it's what we need to use them with NoteData.
2005-01-22 17:34:10 +00:00
Glenn Maynard 032ddf0e08 Don't hold a redundant copy of the NoteData in NoteField. NoteField is
now just a renderer for NoteData.  This means we don't have to carefully
apply all changes to NoteData to NoteField.
2005-01-22 02:50:45 +00:00
Chris Danford ddab166dad fix "can't lay mines" 2005-01-21 06:47:50 +00:00
Glenn Maynard 754fb297fa cleanups, fixes 2005-01-15 18:33:09 +00:00
Glenn Maynard 2ecbfae787 fix record
eliminate g_pCurrentMap (one less piece of state to become desynced)
2005-01-15 13:14:36 +00:00
Glenn Maynard 8781bb055d cleanup, fix gcc compile 2005-01-15 13:05:33 +00:00
Glenn Maynard 0b4ad2db3b generalize 2005-01-15 04:31:35 +00:00
Glenn Maynard db57380d59 cleanup 2005-01-15 04:19:35 +00:00
Glenn Maynard 6548069e5e tween 2005-01-15 04:15:15 +00:00
Glenn Maynard 9fba6088f7 actually, s/help/overlay/ 2005-01-15 04:01:56 +00:00
Glenn Maynard 779e7777a1 cleanup 2005-01-15 03:56:32 +00:00
Glenn Maynard f265551c97 don't reload mine sounds, etc when entering play mode in the editor 2005-01-15 03:31:07 +00:00
Glenn Maynard 0dfdaee605 remove some more old experimental stuff 2005-01-15 02:01:26 +00:00
Glenn Maynard 3a9b2f7f4b working on fixing up extra loads when entering play mode in the editor 2005-01-15 01:28:29 +00:00
Glenn Maynard 856dc5c2ff Handle editor keymappings more sanely; this fixes the "#ifdef XBOX"
everywhere (tip: if you're putting that many preprocessor checks in
high-level code, you're doing something wrong).
2005-01-14 23:17:04 +00:00
Glenn Maynard 8d40bee10c fix shift-0 hold notes
These #ifdef Xbox-specific hacks need to go.  Making the entire editor
code unreadable and hard to maintain is just not acceptable.
2005-01-10 00:52:04 +00:00
Glenn Maynard 7dc7d2a917 cleanup: use TimingData::SetStopAtBeat
use strtod(), not atof() (to avoid double to float warnings)
2005-01-08 14:00:15 +00:00
Charles Lohr 88a9c0cdaa Add: Manual (textually inputted) BPM Changes and Stops. 2005-01-08 07:41:26 +00:00
Chris Danford cfd7f6300f fix CoinMode toggling on ScreenTitleMenu 2005-01-05 04:35:15 +00:00
Chris Danford a1340dd1c0 have gameplay objects access PlayerStageStats though a member pointer and not directly access g_CurStageStats. 2004-12-22 07:31:27 +00:00