Commit Graph

13122 Commits

Author SHA1 Message Date
Glenn Maynard e9789a861d Once a screen is queued to load, discard further inputs 2005-01-19 21:44:03 +00:00
Glenn Maynard d8b7d68842 Make lua a global library. I'm not sure this is best (PrefsManager needs it), but it's nice to simply be able to define Lua functions anywhere ... (fixes build of some tests) 2005-01-19 18:23:19 +00:00
Glenn Maynard 41622d238c Use sysfs to probe memory cards. This has several advantages:
all of the information we need is in one place, with proper links so we
 don't have to do weird hacks to connect data together

 we don't have to touch /proc/bus/usb/devices; doing so generates USB
 messages to all devices, which can cause problems

 works for all removable devices; usb-storage or ub should both work with
 no changes, as long as mountpoints exist in /etc/fstab

 doesn't need to fork lsusb

Old support is removed; unless serious, unfixable problems are found with
this method, the old code is too big and confusing to keep around.  This
code needs more testing.
2005-01-19 18:11:13 +00:00
Glenn Maynard b0df65805e Update iLastHeldRow even when out of range, to be sure it's clamped
properly.  Fixed hold counting glitches.
2005-01-18 08:20:14 +00:00
Glenn Maynard 9344535419 fix Command/ActorUtil::Command ambiguity 2005-01-17 22:45:00 +00:00
Glenn Maynard 288b5c903b cleanup 2005-01-17 22:42:57 +00:00
Glenn Maynard c456148b37 quiet aclocal 1.8 warnings 2005-01-17 17:51:18 +00:00
Chris Danford 5d6eb1d236 put ActorUtil functions in a namespace 2005-01-17 05:42:52 +00:00
Chris Danford cda4c3b04a make Actor LoadFromNode signatures consistent 2005-01-17 05:28:16 +00:00
Chris Danford adab436231 consolidate ScreenStage overlays 2005-01-17 04:32:12 +00:00
Chris Danford 90be873611 consolidate ScreenStage overlays 2005-01-17 04:10:50 +00:00
Chris Danford a5d40aad79 fix default.xml loading
add Condition check in LoadFromActorFile
2005-01-17 04:08:08 +00:00
Chris Danford f26a33713d add Lua functions 2005-01-17 04:05:40 +00:00
Chris Danford d1adfc6804 load default.xml instead of BGAnimation.ini if available 2005-01-17 01:32:45 +00:00
Chris Danford 8771872ac7 eliminate redundant INI read 2005-01-17 00:58:07 +00:00
Chris Danford 99afe19780 handle ActorScroller attributes in a more consistent way 2005-01-17 00:40:43 +00:00
Chris Danford 8a1fb93003 move attribute loading into the class that owns the attribute 2005-01-16 23:40:21 +00:00
Glenn Maynard 7b43001220 "aspect ratio" is ambiguous; s/m_fAspectRatio/m_fDisplayAspectRatio/ 2005-01-16 22:57:11 +00:00
Glenn Maynard 10b175566b preserve aspect ratio in screenshots even if resolution is 640x480 2005-01-16 22:14:39 +00:00
Glenn Maynard 3fe8ec27db don't convert the image if we have nothing else to do 2005-01-16 22:13:01 +00:00
Glenn Maynard bdc1b08695 pass DAR to the display; preserve aspect ratio in screenshots 2005-01-16 22:06:36 +00:00
Chris Danford f47c3bdc6c remove old file 2005-01-16 21:56:40 +00:00
Glenn Maynard 6ca113d42e cleanup 2005-01-16 21:10:15 +00:00
Chris Danford a25730d0a4 cleanup 2005-01-16 21:00:26 +00:00
Glenn Maynard 75973e6fa4 remove trace 2005-01-16 20:54:37 +00:00
Glenn Maynard b733db6152 remove SongCreditDisplay; use @GetSongCredits() instead 2005-01-16 20:53:29 +00:00
Glenn Maynard 478fa499c1 fix stuff sneaking into player's best that shouldn't 2005-01-16 20:51:11 +00:00
Glenn Maynard 37fe56a4f7 cosmetic 2005-01-16 20:37:08 +00:00
Glenn Maynard 39384227c4 allow Lua expressions in text metrics by prepending @ 2005-01-16 20:36:27 +00:00
Glenn Maynard 0849ef8a46 log dialogs 2005-01-16 20:32:53 +00:00
Glenn Maynard 9ff1834076 remove LoadFromActorFile overload that's only used in one place 2005-01-16 19:52:41 +00:00
Glenn Maynard 5057144536 remove old debug (note: FAIL_M(x) is better than ASSERT_M(0, x)) 2005-01-16 19:43:13 +00:00
Glenn Maynard 77faa0d089 don't need to keep m_bGeneric around 2005-01-16 19:19:24 +00:00
Glenn Maynard c1e3239a5f cleanup 2005-01-16 19:18:23 +00:00
Glenn Maynard 8f99164eb5 All BGAnimations are "generic", except for those loaded directly from
Background.  This should be more consistent (we were creating BGAnimations
as non-generic in some places where it probably should have been generic).
This means all themes need to explicitly set the position of all BGAnimation
graphics, which is good practice anyway.
2005-01-16 18:25:29 +00:00
Geoff Benson 8ec79348bc Updated to allow techno-8 styles to become playable again. 2005-01-16 16:34:54 +00:00
Glenn Maynard a65c514dad fix test_audio_readers build 2005-01-16 16:34:19 +00:00
Glenn Maynard 0e94b4cbdf SM_BeginFadingOut is being sent by ScreenAttract already 2005-01-16 14:53:32 +00:00
Glenn Maynard 7183a5e271 Add ScreenAttract::AutoBeginFadingOut() to disable sending
SM_BeginFadingOut.  We can't do this in the ctor (since it's sent during
Update now); we can't do it in Update(), because if the message is posted
with a delay of 0 (ScreenRanking), the message will be added by
ScreenAttract::Update and immediately processed by Actor::Update
before the derived Update can remove it.
2005-01-16 14:48:44 +00:00
Chris Danford 66c6018ed1 cleanup ugly nested conditionals 2005-01-16 08:15:20 +00:00
Chris Danford f1dbeb2334 cleanup 2005-01-16 07:08:58 +00:00
Chris Danford 8f524bd0f5 fix background position and scale not set correctly 2005-01-16 05:51:04 +00:00
Chris Danford cfb9d284c5 simplify: combine two Actor deques into one 2005-01-16 04:35:47 +00:00
Chris Danford f2060969de fix tween overflow in Actor commands that call themself 2005-01-16 04:22:43 +00:00
Glenn Maynard 82ed283ac0 load scroller in LoadFromAniDir for now; not sure why this doesn't always work 2005-01-16 02:04:39 +00:00
Chris Danford 2122d3e45a style cleanup 2005-01-16 01:35:56 +00:00
Chris Danford 9425c42a25 fix compile 2005-01-16 01:27:41 +00:00
Glenn Maynard 7a0373aafd update 2005-01-16 00:25:24 +00:00
Glenn Maynard b573ab428f remove unused stuff 2005-01-16 00:23:08 +00:00
Glenn Maynard 8ef0fff740 cleanup 2005-01-15 22:58:27 +00:00