Commit Graph

17472 Commits

Author SHA1 Message Date
Chris Danford 682f9aa379 fix Reverse for RTL can be applied multiple times to the same string 2005-09-24 20:23:15 +00:00
Glenn Maynard a3bdc2e5ff move SetSize to Actor 2005-09-24 06:57:03 +00:00
Glenn Maynard 718cf1787a simplify 2005-09-24 04:04:01 +00:00
Glenn Maynard dbbe3c8af1 Fix mask. Traditionally, quads have been a little unusual: they have a size
of 1x1, and are sized by zooming.  That's unintuitive, commonly causes
problems when used in conjunction with other stretch effects, and all we have
to do is SetHeight/SetWidth to set the actual size, which will make it behave
exactly like any other sprite.  This one didn't work because m_exprTransformFunction
overrides the zoom, usually resetting it to 1x1.
2005-09-24 04:02:27 +00:00
Glenn Maynard 4722e1ca2e fix comment 2005-09-24 03:48:30 +00:00
Glenn Maynard f9258c60b9 fix div/0 in LuaExpressionTransform::PositionItem 2005-09-24 03:29:02 +00:00
Glenn Maynard 40251903ec legacy: bPosition is always true 2005-09-24 02:35:53 +00:00
Glenn Maynard 05514ab59e unused 2005-09-24 02:34:34 +00:00
Glenn Maynard c27ba8ca2f Don't SetZ masks; it breaks things in 3d. It's up to the renderer to activate
z-bias in BLEND_NO_EFFECT.
2005-09-24 02:31:55 +00:00
Glenn Maynard 7dce50ffbc simplify, don't store extra state 2005-09-24 02:18:09 +00:00
Chris Danford 155007bd3e don't write CatalogXml if FastLoad 2005-09-24 01:05:16 +00:00
Chris Danford 6926b8c811 more complete text descriptions 2005-09-24 00:58:58 +00:00
Glenn Maynard 615c470354 cleanup 2005-09-24 00:54:31 +00:00
Glenn Maynard 0581e0b3d0 const fix
hide implementation
2005-09-24 00:51:35 +00:00
Glenn Maynard 8b9f7c2889 sLine is a string, not a vector 2005-09-23 02:27:23 +00:00
Glenn Maynard 6ea2f37a36 Change MenuUp(pn,type) overrides to MenuUp(IEP), so info like DeviceI.ts is always accessible. 2005-09-23 00:44:52 +00:00
Glenn Maynard df8153cf7b cleanup 2005-09-23 00:13:04 +00:00
Glenn Maynard 2f3905325d style cleanup 2005-09-23 00:12:32 +00:00
Glenn Maynard 76e6382e7d Fix up repeat logic: instead of waiting g_fTimeBeforeSlow for the first repeat,
it was waiting g_fTimeBeforeSlow+g_fTimeBetweenRepeats, ignoring the
first repeat).  Adjust TIME_BEFORE_SLOW_REPEATS so the rate doesn't
actually change.  Set correct timestamps for IET_REPEAT events.
2005-09-22 23:59:31 +00:00
Glenn Maynard 87a9243dc5 use fNewHoldTime here, not fOldHoldTime 2005-09-22 23:53:50 +00:00
Glenn Maynard ee9fd1ecc2 remove fast repeat rate. It's the same as the slow rate, and nothing uses it. (IET_FAST_REPEAT kept for now, since some code uses it.) 2005-09-22 23:22:18 +00:00
Chris Danford 30c23a8129 fix AV if lose focus while initializing 2005-09-22 18:18:04 +00:00
Chris Danford a19f0b492a RTL cleanup 2005-09-22 16:49:51 +00:00
Chris Danford 1a7899e270 add support for Right to Left fonts 2005-09-22 09:08:11 +00:00
Glenn Maynard eb8563ecd9 replace music (probably temps) 2005-09-22 05:47:26 +00:00
Glenn Maynard 86001c793c fix warning 2005-09-22 03:10:47 +00:00
Glenn Maynard 5d450f7f57 ranking update 2005-09-22 03:03:05 +00:00
Dan Colardeau dc07af3b36 Uploading the first release of the SM4 theme. Everything, and I mean, EVERYTHING in this folder is going to change. Not maybe. Not might. WILL 2005-09-22 02:43:10 +00:00
Glenn Maynard 465c2e71ff pull out common code, prefer to set stuff up in Init, unfold conditionals; support
locked courses while we're at it
2005-09-22 01:49:07 +00:00
Glenn Maynard 602a62325c use GenericTweenOn(). (Just make sure ActorUtil::LoadAllCommands is
called and the actor is added to the tree, and OnCommand will be played.)
2005-09-22 01:28:56 +00:00
Glenn Maynard dae80d0805 add GenericTweenOn() 2005-09-22 01:27:00 +00:00
Glenn Maynard b7d8a64199 unneeded; these are children of m_ListScoreRowItems 2005-09-22 01:22:16 +00:00
Glenn Maynard 701aff5ee8 avoid GetPathS during BeginScreen 2005-09-22 01:17:35 +00:00
Glenn Maynard 026f13f765 Load commands in the template, not later when we call ON_COMMAND
on the copies.  This is a fairly major optimization: we only load the commands
once, rather than dozens of times, and we save memory, since the copies will
just take references to the generated Lua functions instead of making dozens
of functions.
2005-09-22 00:21:24 +00:00
Glenn Maynard 8e926829fc deep copy AutoActors 2005-09-22 00:19:21 +00:00
Glenn Maynard fb49d6a41a optimize, simplify 2005-09-22 00:08:59 +00:00
Glenn Maynard dce23e31b4 cleanup 2005-09-21 21:56:36 +00:00
Glenn Maynard 9960d6dd9f implement ScreenRanking::BeginScreen 2005-09-21 21:52:31 +00:00
Glenn Maynard 5e0680ed05 remove banner frame (do that in the overlay)
use AutoActor
merge code and metrics
2005-09-21 21:42:07 +00:00
Glenn Maynard 0293b5c205 Run SwitchPageCommand instead of OnCommand between pages (simpler and
more flexible).  Cleanup.
2005-09-21 21:14:09 +00:00
Ben Anderson 622293b6eb JOY_1 -> JOY_BUTTON_1 2005-09-21 21:09:27 +00:00
Glenn Maynard ec97b839e2 update 2005-09-21 20:54:57 +00:00
Glenn Maynard 67a4390f07 simplify 2005-09-21 20:54:28 +00:00
Glenn Maynard bb01b4c26b add GetCoursesToShowRanking 2005-09-21 20:53:20 +00:00
Glenn Maynard ff6b55fb17 Merge metrics and common code. 2005-09-21 20:43:07 +00:00
Glenn Maynard f6c3263f24 phase out bShow*. Still a lot of code, but the code path is more obvious. 2005-09-21 20:16:53 +00:00
Glenn Maynard 1b6574d241 phase out bShow*. Don't load and then hide; when possible, just don't load it
to begin with.  (This code assumed that we'd change PageTypes in the middle,
but that hasn't been allowed and hasn't been used, and it complicates things
too much.)
2005-09-21 19:48:56 +00:00
Glenn Maynard d47b926f05 Don't broadly Reset() actors; it's too heavy-handed. Just make sure that actor
commands set state properly.

Remove some SetHidden() calls that assumed Reset() would un-hide them.
2005-09-21 19:45:40 +00:00
Glenn Maynard 86449bba80 PageType is a whole-screen property, not per-page. Eliminates m_sprPageType
hack (avoid loading stuff mid-screen).
2005-09-21 19:19:35 +00:00
Glenn Maynard fb2fa37cc6 minor revert 2005-09-21 19:13:40 +00:00