Commit Graph

117 Commits

Author SHA1 Message Date
Glenn Maynard bf7da90f59 bind normally; call LoadFromAniDir 2006-10-14 03:51:33 +00:00
Glenn Maynard e11914d4bb LoadFromNode(sDir, pNode) -> LoadFromNode(pNode) 2006-10-09 08:24:10 +00:00
Glenn Maynard d7776aba60 evaluate enums directly 2006-10-09 01:34:16 +00:00
Glenn Maynard e3483ba3be use GetName, GetValue, SetValue 2006-10-02 06:26:25 +00:00
Steve Checkoway 01fb4540f3 Simplify. 2006-10-01 14:51:50 +00:00
Glenn Maynard 3a57dca6c4 ActorCommands -> ActorUtil::ParseActorCommands 2006-09-21 02:24:22 +00:00
Glenn Maynard 8548f1cb33 simplify ActorCommands 2006-09-21 01:39:38 +00:00
Glenn Maynard 7b995b8487 remove unused 2006-08-20 20:01:53 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Glenn Maynard 45c50c854d BGAnimation is no longer used for scrollers; use XML. 2005-09-26 19:34:07 +00:00
Glenn Maynard 3a185cc977 yuck. ActorScroller doesn't need UseScroller, but BGAnimation does. Move
the hack into BGAnimation, which is on its way out anyway.
2005-09-24 23:43:06 +00:00
Glenn Maynard d58af5dc99 remove .sprite 2005-09-03 00:41:13 +00:00
Glenn Maynard bb2f7a22e3 remove [Scroller] hack. Use XML. 2005-09-01 06:25:52 +00:00
Glenn Maynard 204e399878 cleanup 2005-09-01 06:23:59 +00:00
Glenn Maynard a627262266 remove redundant global Condition 2005-09-01 06:20:31 +00:00
Glenn Maynard 6a8a81a095 remove Generic stuff. It broke a while back, and it's too painful to keep around. 2005-08-31 22:15:33 +00:00
Glenn Maynard ab913a0e02 unregister BGAnimation; use ActorScroller from XML if needed 2005-08-31 22:06:03 +00:00
Glenn Maynard 0365a08767 remove BGAnimation::Unload 2005-08-31 22:03:40 +00:00
Glenn Maynard dc40ed8f64 remove "Cond" 2005-08-31 19:56:46 +00:00
Glenn Maynard ebe60c9eb7 simplify 2005-06-27 05:24:24 +00:00
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