Chris Danford
a5f0d301c9
don't unsubscribe from messages on bgchange
2006-05-30 09:08:00 +00:00
Chris Danford
68425c887e
Fix backgrounds always choosing the first random movie. Choose the same random backgrounds every time a song is played. Fix background layer reset after BackgroundTransition.
2006-05-05 19:21:29 +00:00
Glenn Maynard
6e5d986e7b
bind PlayCommandOnLeaves
2006-04-27 22:46:46 +00:00
Glenn Maynard
db3ea69aac
Add PlayCommandOnChildren. This obsoletes "propagate".
2006-03-26 06:04:29 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
df7405f4ec
remove Reset
2005-10-16 02:22:57 +00:00
Glenn Maynard
91815ef03e
Simplify: Move LoadChildrenFromNode into ActorFrame::LoadFromNode.
...
This also makes loading consistent between ActorFrame, ActorScroller and DActorScroller.
Previously, we ran ActorFrame::LoadFromNode before adding children, which caused InitCommand
to be run before adding children.
2005-10-07 02:55:47 +00:00
Glenn Maynard
de8b1db0f3
typo
2005-10-07 02:00:42 +00:00
Glenn Maynard
a3bdc2e5ff
move SetSize to Actor
2005-09-24 06:57:03 +00:00
Glenn Maynard
a3da8338a6
allow setting the effective size of an ActorFrame
2005-09-11 19:00:42 +00:00
Glenn Maynard
47489964d2
copy children if m_bDeleteChildren; this allows copying ActorFrames, including
...
ones loaded from XML
2005-07-18 22:59:34 +00:00
Glenn Maynard
55d6382c49
add virtual Copy() to Actor
2005-07-18 22:00:19 +00:00
Glenn Maynard
ebbf4490bf
propagate ProcessMessages. There are still some cases where we're
...
handling children directly; as those come up, they'll either propagate this
message or (preferably) be converted to use AddChild and let ActorFrame
do the work.
2005-07-12 03:09:34 +00:00
Glenn Maynard
e123fc1a96
virtual
2005-06-25 05:06:38 +00:00
Glenn Maynard
c998564adf
update registration for various types
2005-06-20 04:17:02 +00:00
Chris Danford
623dc2512f
merge PlayCommand2 and PlayCommand so that Actor derivities only have to override one method to get the correct behavior
2005-06-12 00:35:08 +00:00
Chris Danford
98784d3fb5
Split Update into Update and UpdateInternal so that every class doesn't need to early abort in Update when hibernating
2005-06-11 10:32:58 +00:00
Chris Danford
dac72665e3
move background file enumerating into BackgroundUtil.*
...
fix editor background change functionality
2005-05-31 01:17:37 +00:00
Chris Danford
d89b0a8dfc
add RunCommandsOnLeaves
...
propagate Reset
2005-05-29 01:00:05 +00:00
Chris Danford
9b5187d700
specify the vanish point in xml
2005-05-20 21:11:02 +00:00
Chris Danford
8eaf93a23d
position Scroller items with a Lua function
...
add ActorFrame::m_bDrawByZPosition
2005-05-03 09:29:54 +00:00
Chris Danford
01d59d97ce
add base alpha
2005-04-30 07:48:10 +00:00
Chris Danford
411f376e75
add SetFOV
2005-04-01 21:00:14 +00:00
Chris Danford
cb542836d1
add Lua ActorScroller
2005-03-31 12:57:21 +00:00
Chris Danford
b497b33aa0
add SetUpdateRate method
2005-03-18 18:57:05 +00:00
Chris Danford
1fd957fe9c
add GetChild
2005-03-01 21:55:47 +00:00
Chris Danford
63868cee5e
fix BGAnimation doesn't load <children>
...
fix BGAnimation in Background leaks children
2005-03-01 16:59:29 +00:00
Chris Danford
ca09e21104
move render state effect variables out of BGALayer and into ActorFrame
2005-02-28 04:14:25 +00:00
Chris Danford
5c7b8314f4
allow hiding of option rows based on the value of other rows
2005-02-20 10:12:50 +00:00
Chris Danford
09f19b9d0c
change BArg to look for a Lua boolean type
2005-02-17 21:34:46 +00:00
Glenn Maynard
e16b72f5ed
Actor::RunCommands, etc. can take any LuaReference, not just
...
ActorCommands
2005-02-17 05:12:23 +00:00
Chris Danford
d5022cb1b6
code style cleanup
2005-02-12 20:29:38 +00:00
Chris Danford
68dd253720
use templated classes instead of macros for easier debugging
2005-01-31 08:05:27 +00:00
Chris Danford
8555a6da45
use Lua to execute commands
...
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford
cda4c3b04a
make Actor LoadFromNode signatures consistent
2005-01-17 05:28:16 +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
66d39dd65c
Add ActorFrame::DeleteChildrenWhenDone, to call DeleteAllChildren automatically.
...
Move movie GainFocus/LoseFocus handling to Sprite.
Visualizations are part of Background, not BGAnimation; move them there. Remove BGAnimation::LoadFromVisualization and BGAnimationLayer::LoadFromVisualization.
2005-01-15 20:32:35 +00:00
Chris Danford
ed19821e09
rename: ActorCommand -> Command
...
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford
bcbe615c0d
Pass ActorCommand structures to Actor instead of unparsed command strings.
...
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford
6c855f0c93
"ParsedCommand" -> "ActorCommand"
2004-11-06 20:42:09 +00:00
Glenn Maynard
b5ef800386
little hack to allow forcing propagation of commands to children that
...
normally aren't
2004-10-16 02:46:10 +00:00
Chris Danford
f5d3b27450
name cleanup: Gaining -> Gain, Losing->Lose
2004-08-22 02:16:31 +00:00
Glenn Maynard
c531e8b172
license update
2004-06-08 00:47:53 +00:00
Chris Danford
9ec4c6be91
add "draw on z fail" mode
2004-05-15 09:26:21 +00:00
Chris Danford
58d63cb476
make draw order separate from Z value
...
add "PageType" graphic to ScreenEvaluation
2004-05-02 03:01:27 +00:00
Chris Danford
69fd514b68
add 3D scrolling to ActorScroller
...
generalize BGAnimation, BGAnimationLayer to eliminate shared code with ActorFrame
2004-02-01 03:14:37 +00:00
Chris Danford
54545e2349
pass "playcommand" on to children
2004-01-20 03:31:08 +00:00
Chris Danford
a8510db992
Add "scroller" to ScreenSelectOptionsMaster
2004-01-17 23:14:56 +00:00
Glenn Maynard
0bdf0c2778
RunCommandOnChildren
2004-01-11 07:12:13 +00:00
Glenn Maynard
88be4f43a9
add SetDiffuseAlpha
...
simplify
2004-01-11 05:33:24 +00:00