Commit Graph

18474 Commits

Author SHA1 Message Date
Chris Danford fc3433ca04 fix app strings 2005-12-07 20:17:33 +00:00
Glenn Maynard 5d6f241959 ActorScroller for lines 2005-12-07 05:59:14 +00:00
Glenn Maynard 99702eb069 bindings 2005-12-07 05:48:04 +00:00
Glenn Maynard 42ac54c4a5 pull out SetTransformFromExpression/SetTransformFromHeight, so we don't
have two init functions.

(Now, we only need two special metrics to init an ActorScroller; the rest
can be done by OnCommand.)
2005-12-07 05:43:49 +00:00
Glenn Maynard 32129814b7 Any scroller that has an OnCommand for its parts may want to PositionItems
first, not just ScreenSelectMaster's.  Also, the position set by this depends
on SetNumSubdivisions, which (will be) set by OnCommand, and not set this
early.  So, use PositionItems manually if wanted.
2005-12-07 05:16:11 +00:00
Glenn Maynard 534d9e40ec bind PositionItems 2005-12-07 05:11:40 +00:00
Glenn Maynard aeb830f434 fix OnCommand run twice (m_Scroller propagates it) 2005-12-07 05:08:49 +00:00
Glenn Maynard 4dfdeaacf2 cleanup 2005-12-07 05:01:13 +00:00
Glenn Maynard c5766b32aa simplify Load3. (Most scrollers use one subdivision.) 2005-12-07 04:22:47 +00:00
Glenn Maynard 5cb8148d30 add SetNumSubdivisions
secondsperitem -> setsecondsperitem
2005-12-07 04:19:32 +00:00
Glenn Maynard 7b646dc6b1 split SetNumSubdivisions 2005-12-07 04:16:11 +00:00
Glenn Maynard 12ff6ff4da simplify ActorScroller::Load3 2005-12-07 03:53:49 +00:00
Glenn Maynard 24dd9f52a5 simplify ActorScroller::Load2 2005-12-07 03:50:11 +00:00
Glenn Maynard 7c65f28e44 add SetSecondsPerItem
default SetSecondsPerItem to 0.  1 isn't a useful default (almost
nothing ever scrolls that slowly).
2005-12-07 03:43:47 +00:00
Glenn Maynard 6497ac8f94 style 2005-12-07 03:03:21 +00:00
Glenn Maynard 321931c19a not used 2005-12-07 03:01:23 +00:00
Glenn Maynard b617542b62 cleanup 2005-12-07 03:00:27 +00:00
Chris Danford cb8a48e254 fix Mac compile 2005-12-07 00:34:11 +00:00
Glenn Maynard 8bf79ca4e2 warning 2005-12-07 00:13:36 +00:00
Glenn Maynard a72100249c don't SetLoadedFromProfile here 2005-12-07 00:01:12 +00:00
Chris Danford 66c5a45117 SetLoadedFromProfile when the Steps are created, not when they are saved 2005-12-06 23:44:01 +00:00
Glenn Maynard 9c8caf4c72 metrics 2005-12-06 22:35:55 +00:00
Glenn Maynard 687fb0d3ec X positions themable
ScreenMapControllers::BeginScreen
2005-12-06 22:13:28 +00:00
Glenn Maynard a6414302b6 cleanup 2005-12-06 21:54:23 +00:00
Glenn Maynard a4c0b8e963 Test writable without writing a file. This reduces the chance of corruption: merely mounting a device should not write to it. 2005-12-06 21:53:47 +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
Glenn Maynard ab9526a9ed don't SetSavedToDisk, etc. if the save failed 2005-12-06 20:40:09 +00:00
Chris Danford 3d5403dfd9 SetLoadedFromProfile so that a new edit will show up in the list of edits 2005-12-06 19:07:32 +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
Glenn Maynard 343c4d106c fix temp file still overwrites actual file, if a Write or Flush has failed 2005-12-06 17:38:27 +00:00
Glenn Maynard 452e8c1e74 cleanup 2005-12-06 17:35:40 +00:00
Glenn Maynard 6c2475399a cleanup 2005-12-06 17:12:18 +00:00
Glenn Maynard f99fa91bf9 If we didn't rename the temporary file, delete it. 2005-12-06 17:09:34 +00:00
Glenn Maynard dff9a680b5 simplify 2005-12-06 17:07:21 +00:00
Glenn Maynard 8ab36ad2a0 If the flush fails, don't clear the buffer. That way, if Flush() is called multiple
times, and for some reason it succeeds on the second call (eg. more disk
space is now available), we don't lose that data.
2005-12-06 16:23:38 +00:00
Glenn Maynard 445074885a cleanup 2005-12-06 16:22:11 +00:00
Glenn Maynard 0c5ebc4c46 warning 2005-12-06 15:57:09 +00:00
Chris Danford 5d823d3141 fix bad metric renames
cleanup
2005-12-06 12:42:52 +00:00
Chris Danford 2d8b30e049 polish 2005-12-06 12:41:33 +00:00
Chris Danford 24e113d102 don't prompt to save on exit if there's no undo info 2005-12-06 12:41:06 +00:00
Chris Danford 8fda004742 add Lua binding 2005-12-06 12:39:43 +00:00
Chris Danford dfad0b0a75 fix per-player values shown instead of shared 2005-12-06 12:38:38 +00:00
Chris Danford 22fc82881b fix ClearMemoryCardEdits 2005-12-06 12:37:59 +00:00
Chris Danford 00b346939d add OptionRowHandlerGameCommand to cut out unnecessary level of indirection in metrics 2005-12-06 04:25:52 +00:00
Chris Danford 1c0dc2aad8 LABEL_ -> TITLE_ 2005-12-06 04:21:00 +00:00
Chris Danford 9f6d6067fe don't allow NULL steps in GetSongFromSteps 2005-12-06 04:20:20 +00:00
Chris Danford d057e2a488 remove special position transforms and feed the main transform with special offset values 2005-12-06 04:17:37 +00:00
Glenn Maynard 5acbca107c cleanup 2005-12-06 03:46:24 +00:00
Glenn Maynard ea7ba635a5 unused 2005-12-06 03:32:20 +00:00