Commit Graph

18489 Commits

Author SHA1 Message Date
Glenn Maynard afbd2f3bbc Fix ArchHooks::FixupTimeIfBackwards when the time becomes negative
in Linux.  This can happen if the clock is turned back when using
the system clock; the time will be less than ArchHooks_Unix::m_iStartTime.
2005-12-08 21:48:57 +00:00
Chris Danford f02b8e3a3d move FS mounting to ArchHooks
if executable is under Program Files, then mount /Save to ~/PRODUCT_ID/Save
2005-12-08 21:38:18 +00:00
Chris Danford 225262cc20 clean up floating globals
move FS mounting to ArchHooks
2005-12-08 21:36:03 +00:00
Glenn Maynard f342aed83a remove EVEN_LINE_IN, etc 2005-12-08 19:47:18 +00:00
Glenn Maynard 9eed091a0b remove EVEN_LINE_IN, etc
use GenericTweenOn
2005-12-08 19:43:42 +00:00
Glenn Maynard 056037c327 cleanup 2005-12-08 19:42:50 +00:00
Glenn Maynard 84ab38abec Set ItemIndex for each item in an ActorScroller, so commands
can use it.
2005-12-08 19:38:44 +00:00
Chris Danford 38ffd83205 detect infinite recursion in redirects 2005-12-08 08:24:30 +00:00
Chris Danford 51fc84e2d2 add shorter "BaseRotationX" 2005-12-08 08:23:57 +00:00
Chris Danford 17cf7eaa7c Make InputHander_Win32_Para initialize the device so that the joystick feature of the same device will function. 2005-12-08 05:33:31 +00:00
Chris Danford bad83b38b3 remove Para InputDevice. The controller appears as a Joystick. 2005-12-08 05:28:40 +00:00
Chris Danford ca7da4b531 show InputDevice name next to description 2005-12-08 05:22:40 +00:00
Chris Danford 2d5af283c5 automapping for Para 2005-12-08 05:09:24 +00:00
Glenn Maynard a4729f0b80 make ScaleToCover, ScaleToFitInside act reasonably with different horizalign,
vertalign
2005-12-08 01:21:50 +00:00
Chris Danford 68413b77cf fix LaunchGame launching wrong version of executable 2005-12-07 20:18:21 +00:00
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