Glenn Maynard
6a8940d5a4
LuaHelpers::RunExpressionB
2005-06-16 06:23:59 +00:00
Chris Danford
f7b258b1bf
add actor name for easier debugging
2005-06-11 10:25:46 +00:00
Glenn Maynard
c9e0d48774
make LengthSeconds more predictable: sets the minimum length of the
...
tween after "On"
2005-04-14 09:32:58 +00:00
Chris Danford
3d92129181
revert loading of .inis. Don't encourage use of .inis when .xml will do.
2005-04-02 00:24:31 +00:00
Chris Danford
164d272b4c
load .ini files as BGAnims
2005-04-01 23:45:59 +00:00
Chris Danford
3fae670c0c
remove redundant play of Init. Each Actor plays Init when it's loaded.
2005-03-18 09:08:09 +00:00
Chris Danford
38bdfae22a
remove bogus assert on element name
2005-03-12 23:21:46 +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
42c5e2b3f9
allow specifying a Lua function for a command with "%funciton(self) self:blah end"
2005-02-23 19:15:24 +00:00
Glenn Maynard
fc1c863f8a
omit semicolon, so REGISTER_ACTOR_CLASS(x) can't be parsed as
...
a prototype
2005-02-23 19:09:13 +00:00
Chris Danford
ef80deedc4
cleanup: use class registration to create actors
2005-02-23 02:14:06 +00:00
Chris Danford
eb6e4cdb50
play InitCommand for all Actors at load time
2005-02-19 01:06:03 +00:00
Chris Danford
8555a6da45
use Lua to execute commands
...
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford
cd9c48d645
LuaHelpers -> LuaManager
2005-01-24 02:26:55 +00:00
Glenn Maynard
91a6486f9e
start changing Lua to a singleton object
2005-01-19 22:27:24 +00:00
Chris Danford
cda4c3b04a
make Actor LoadFromNode signatures consistent
2005-01-17 05:28:16 +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
77faa0d089
don't need to keep m_bGeneric around
2005-01-16 19:19:24 +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
Glenn Maynard
762c9a77fb
cleanup
2005-01-15 22:29:42 +00:00
Glenn Maynard
635d5e43e2
eliminate LoadFromStaticGraphic
2005-01-15 20:48:20 +00:00
Glenn Maynard
594587607c
Eliminate BGAnimation::LoadFromMovie and BGAnimationLayer::LoadFromMovie.
2005-01-15 20:37:46 +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
Glenn Maynard
6d64f3aa78
cleanup
2005-01-15 19:42:47 +00:00
Glenn Maynard
c9091a1214
Don't play "On" automatically for non-generic BGAnimations; play it
...
explicitly, like we do with all other objects.
2005-01-15 19:21:09 +00:00
Glenn Maynard
78800818e3
Remove BGAnimation::GetLengthSeconds; use GetTweenTimeLeft instead.
2005-01-15 18:31:14 +00:00
Glenn Maynard
8cd0d9e04c
load Scroller in BGAnimation::LoadFromNode
2005-01-15 14:52:37 +00:00
Glenn Maynard
336a035660
BGAnimationLayer::LoadFromIni -> BGAnimationLayer::LoadFromNode
2005-01-15 13:56:05 +00:00
Glenn Maynard
4267a5f942
ActorScroller::LoadFromIni -> ActorScroller::LoadFromNode
2005-01-15 13:47:02 +00:00
Chris Danford
fdfcff7a6d
fix LengthSeconds calculated too early
2005-01-07 23:56:18 +00:00
Chris Danford
ea43f8ee1b
support loading BGAs from XML
2005-01-07 22:01:57 +00:00
Chris Danford
981e52ec58
merge IniFile and XmlFile
2005-01-07 14:28:00 +00:00
Glenn Maynard
972ccb65df
Once BGAnimation is handled mostly by AutoActor, all BGAnimations will
...
be "non-generic" (and probably deprecated); let's aim to move all "generic"
logic into BGAnimation, out of BGALayer.
2005-01-06 18:46:03 +00:00
Glenn Maynard
5181d7e037
add ActorScroller::LoadFromIni
2005-01-06 18:34:34 +00:00
Chris Danford
96247fb192
play layer InitCommand in addition to BGA InitCommand
2004-12-27 10:26:32 +00:00
Chris Danford
a675190a55
Don't re-parse the ini file multiple times per BGALayer. Yuck.
2004-12-27 10:24:54 +00:00
Chris Danford
4563395b4b
more efficient BGA loading: iterate keys in ini file to find layers
2004-12-25 08:44:12 +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
21871f7c3d
Parse F theme metrics as Lua expressions. I'll regroup LuaHelpers as a singleton subsystem soon.
2004-09-22 04:55:31 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00
Steve Checkoway
a613d4d9fa
s/RAGE_ASSERT/ASSERT/
2004-06-16 00:38:31 +00:00
Glenn Maynard
211f9b852a
use Dialog
2004-06-10 22:47:51 +00:00
Glenn Maynard
12bf8f87fd
license updates
2004-06-01 00:53:06 +00:00
Glenn Maynard
01970b2eb2
accept "Condition"
2004-05-29 20:18:51 +00:00
Glenn Maynard
c0adadd3a5
IniFile cleanup
2004-05-23 02:27:51 +00:00
Chris Danford
94b4962a88
allow BGA Import to have a Condition
2004-05-03 03:58:41 +00:00
Glenn Maynard
6b55d6840c
Lua::RunExpression support
2004-02-14 23:22:23 +00:00