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
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
Glenn Maynard
9a68042e42
fix warnings
2004-01-29 05:23:31 +00:00
Chris Danford
c22f839591
let BGA control scrolling distance
2004-01-26 02:32:09 +00:00
Chris Danford
88cca70487
combine .actor and BGALayer loading
...
make BGAniLayer derive from ActorFrame
2004-01-25 22:22:40 +00:00
Chris Danford
f7647ae391
add pre-parsing for ActorCommands (though not yet used in ThemeManager)
2004-01-10 20:34:18 +00:00
Glenn Maynard
e5ab9e8468
add BGAnimation::InitCommand
2004-01-07 00:13:59 +00:00
Glenn Maynard
e9ae2c0803
continue phasing out BASE_PATH and SLASH
2003-12-10 09:44:16 +00:00
Glenn Maynard
5ddad2d703
cleanup
2003-11-17 16:11:13 +00:00
Chris Danford
47def7d3dc
xbox updates
2003-11-13 00:39:36 +00:00
Glenn Maynard
3fa50f03e0
various overload fixes for using BGAnimation as a generic actor
2003-11-05 06:41:57 +00:00
Glenn Maynard
0a8096b293
Give BGAnimations loaded from AutoActor Actor semantics, not
...
BGAnimation semantics.
2003-11-05 03:56:37 +00:00
Glenn Maynard
48ee51e268
support BGAnimation::FinishTweening
2003-11-05 02:23:21 +00:00