Glenn Maynard
8f99164eb5
All BGAnimations are "generic", except for those loaded directly from
...
Background. This should be more consistent (we were creating BGAnimations
as non-generic in some places where it probably should have been generic).
This means all themes need to explicitly set the position of all BGAnimation
graphics, which is good practice anyway.
2005-01-16 18:25:29 +00:00
Glenn Maynard
8ef0fff740
cleanup
2005-01-15 22:58:27 +00:00
Glenn Maynard
f256618fe1
no need to persist some of this particle stuff
2005-01-15 22:52:46 +00:00
Glenn Maynard
ad7b93372a
EFFECT_TILE_PULSE isn't in m_Type ...
2005-01-15 22:36:23 +00:00
Glenn Maynard
a0e9c5a8c6
Remove CommandRepeatSeconds. Instead, do:
...
OnCommand=x;y;z;queuecommand,playcommand,On
2005-01-15 22:31:43 +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
f4a51bef4d
move FullScreenRectF into ScreenDimensions.h
2005-01-15 19:44:32 +00:00
Glenn Maynard
6d64f3aa78
cleanup
2005-01-15 19:42:47 +00:00
Glenn Maynard
336a035660
BGAnimationLayer::LoadFromIni -> BGAnimationLayer::LoadFromNode
2005-01-15 13:56:05 +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
a07ebba4ff
narrow the m_bGeneric case a bit; add explanation
2005-01-06 18:57:52 +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
7478087fab
seems to work; cleanup
2005-01-06 17:56:05 +00:00
Glenn Maynard
8a382a30da
That doesn't even make sense; this is a Type switch, not Effect. Just
...
remove it; it's been commented out for a long time anyway.
2005-01-05 01:43:32 +00:00
Glenn Maynard
c0ad10f990
cleanup
2005-01-05 01:12:56 +00:00
Glenn Maynard
8b609cdc08
remove stuff commented out
...
fix SPIRAL while I'm here
2005-01-05 01:06:18 +00:00
Glenn Maynard
633312bf9c
BGA commands are being played twice, because both BGALayer
...
and ActorUtil are parsing them and BGALayer was sending its commands
to its children. Don't do that; just use the ActorUtil parsing. (This seems to
work for all BGAs I've tried so far, but I'm not yet quite sure it's correct.)
This seems to fix transitions not showing up, but I'm not sure why.
2005-01-04 22:39:43 +00:00
Chris Danford
57e02f2b75
change BGALayer to use Actor's map of commands
...
add "applydefaultoptions" command
clean up CoinMode and Premium enums
2005-01-04 10:51:25 +00:00
Chris Danford
8d6b3cba2c
fix const compile error
2004-12-27 10:28:41 +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
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
72bd480883
CENTER_* -> SCREEN_CENTER
2004-11-05 06:35:10 +00:00
Glenn Maynard
79b6b5c596
GetTexture()->Pause() -> EnableAnimation( false )
...
propagate GainFocus down
use RunCommandOnChildren
2004-10-18 18:21:28 +00:00
Glenn Maynard
0775e54030
compile fix
2004-09-24 02:52:07 +00:00
Glenn Maynard
8a0df6bb27
fix warnings
2004-09-21 08:41:17 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00
Chris Danford
807d892f4f
allow theme to specify logical screen dimensions
2004-09-21 06:07:12 +00:00
Chris Danford
cf9b4af6cb
convert ints and casts to use PlayerNumber and macros
2004-08-30 04:35:14 +00:00
Chris Danford
f5d3b27450
name cleanup: Gaining -> Gain, Losing->Lose
2004-08-22 02:16:31 +00:00
Chris Danford
f0d22bd7ea
add GainFocus and LoseFocus commands to give movies Actors an opportunity to pause and play
2004-08-22 02:13:17 +00:00
Glenn Maynard
abe1229187
re-fix BGA tweens repeating
2004-08-12 06:10:54 +00:00
Glenn Maynard
f3a2ec066f
Fix OnCommand being played twice when song BGA layers first gain focus
2004-07-12 21:25:43 +00:00
Glenn Maynard
ee7a6bd261
unneeded include
2004-06-13 19:59:21 +00:00
Glenn Maynard
12bf8f87fd
license updates
2004-06-01 00:53:06 +00:00
Glenn Maynard
c0adadd3a5
IniFile cleanup
2004-05-23 02:27:51 +00:00
Chris Danford
578e7d9818
cleanup
2004-05-03 00:57:12 +00:00
Glenn Maynard
a739e45e3f
fix potential tweening overflow
2004-04-15 23:22:32 +00:00
Steve Checkoway
20a8bab45c
Clean up includes.
2004-04-05 05:22:32 +00:00
Glenn Maynard
aada5a8a91
"DrawCond"
2004-03-27 00:23:29 +00:00
Glenn Maynard
e3d7949a9d
simplify: LoadBG sets ID.iAlphaBits = 0
2004-03-26 08:05:07 +00:00
Glenn Maynard
6b55d6840c
Lua::RunExpression support
2004-02-14 23:22:23 +00:00
Chris Danford
5b791f603b
add hibernate (don't draw or update) to Actor
2004-02-02 01:10:56 +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
1c78e70d57
remove assert. (the m_bGeneric stuff is kind of messy...)
2004-01-26 02:33:19 +00:00