Commit Graph

69 Commits

Author SHA1 Message Date
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 8df1290603 for easier debugging 2005-03-21 05:16:52 +00:00
Chris Danford 39a9708020 assert if someone tries to clear the zbuffer in an actor frame (it won't do anything because ActorFrames don't SetRenderState). Hopefully, this will save someone a lot of troubleshooting time. 2005-03-18 08:14:49 +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 e93c2fd67b fix leaked ActorFrame children 2005-03-01 02:50:23 +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 167aa06970 don't propagate "Init" 2005-02-23 20:37:21 +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 5c7b8314f4 allow hiding of option rows based on the value of other rows 2005-02-20 10:12:50 +00:00
Chris Danford 5ae3b5cad0 sort children after adding 2005-02-19 01:03:55 +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 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 5d6eb1d236 put ActorUtil functions in a namespace 2005-01-17 05:42:52 +00:00
Chris Danford cda4c3b04a make Actor LoadFromNode signatures consistent 2005-01-17 05:28:16 +00:00
Chris Danford a5d40aad79 fix default.xml loading
add Condition check in LoadFromActorFile
2005-01-17 04:08:08 +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
Chris Danford 2c314df898 HandleParams -> BeginHandleParams 2004-11-06 03:09:29 +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 211f9b852a use Dialog 2004-06-10 22:47:51 +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 3ca8601390 add front face culling 2004-02-04 11:05:33 +00:00
Chris Danford 5b791f603b add hibernate (don't draw or update) to Actor 2004-02-02 01:10:56 +00:00
Chris Danford fe3304d577 revert some bad changes 2004-02-01 05:03:45 +00:00
Chris Danford dd78eb858f fix PlayCommand doesn't propogate 2004-02-01 04:41:48 +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
Chris Danford 40d0062120 add remove memory card graphic to ScreenEnding 2004-01-07 04:37:00 +00:00
Glenn Maynard e21f149d3b separate Z-write and Z-test flags 2003-11-18 20:33:18 +00:00
Glenn Maynard 09e856e9ae add Actor::HurryTweening 2003-11-18 17:50:50 +00:00
Glenn Maynard 0468d26316 improve output 2003-10-10 23:42:02 +00:00
Chris Danford b74f58d88b optimize ActorFrame::Update 2003-10-07 06:00:33 +00:00
Chris Danford 45858747a5 Consolidate player option and song option screens. Are people ok with this? 2003-08-23 22:04:57 +00:00
Glenn Maynard 1eb870cbd4 make FinishTweening recursive 2003-07-20 01:32:42 +00:00
Chris Danford 6b2830dab8 working on SMEX 2003-06-20 23:07:45 +00:00
Ben Anderson ec2730119c ISO forbids using variables declared in for loop iterators outside the for loop blah blah... 2003-06-19 19:27:14 +00:00
Chris Danford 87979909e6 add ActorFrame::SortByZ 2003-06-19 18:05:52 +00:00