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
Chris Danford
88cca70487
combine .actor and BGALayer loading
...
make BGAniLayer derive from ActorFrame
2004-01-25 22:22:40 +00:00
Chris Danford
d505a60d5a
full light
2004-01-23 08:23:22 +00:00
Chris Danford
b3ff1ef883
re-add mipmapping, support it in OpenGL (D3D unimplemented)
2004-01-23 06:20:28 +00:00
Glenn Maynard
614b3d6f3d
fix BGAnimation crash
2004-01-20 06:01:50 +00:00
Glenn Maynard
1e450fb209
fix crash
2004-01-13 09:47:22 +00:00
Glenn Maynard
e93ba8dd27
bga "player" tag
2004-01-12 22:06:39 +00:00
Glenn Maynard
e9ae2c0803
continue phasing out BASE_PATH and SLASH
2003-12-10 09:44:16 +00:00
Chris Danford
ade8308aa1
add per-player danger and per-player dead animations
2003-12-07 20:29:42 +00:00
Glenn Maynard
ed86f8fc2c
Improve checkpoints. Fix missing File= behavior.
2003-11-17 16:10:17 +00:00
Chris Danford
cb07ede092
fix VC6 compile error
2003-11-17 03:42:32 +00:00
Glenn Maynard
db351f0edb
propagate PlayCommand
2003-11-17 01:44:59 +00:00
Chris Danford
c123681854
move IsWindowed check inside of ArchHooks_Win32
2003-11-15 06:08:13 +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
Glenn Maynard
ede9684d00
dur
2003-11-02 00:26:56 +00:00
Glenn Maynard
9bbf3d1b25
harmless fix
2003-11-02 00:18:52 +00:00
Glenn Maynard
8e9e04e221
generalized BGA command names
2003-10-31 01:55:17 +00:00
Glenn Maynard
a0b4b80a03
Remove another unsafe cast.
...
m_fStretchTexCoordVelocityX -> TexCoordVelocityX, etc.
Remove TYPE_STRETCH.
Disassociate BGAL::Type from the "Type" BGA metric. Prefer "Type=sprite",
"Type=particles", "Type=tile", and "Stretch=1" (for sprite only). Type=0, 1, 2, 3 still
work; 0 is "Type=sprite", Stretch=0 and 1 is Type=sprite, Stretch=1.
Remove old code.
Historical note: "stretch" was used in this code at various times to mean both 1:
"stretch the internal texture image to fit the texture" and 2: "stretch the displayed
image to fill the screen". It now only means #2 . #1 is done automatically when needed.
Note that LoadFromAniLayerFile should never load an INI; it's for backwards-
compatibility only. LoadFromIni is simpler and more flexible.
2003-10-31 00:01:16 +00:00
Glenn Maynard
38f0ebc77b
Remove an unsafe cast.
...
Centralize BGAlayer coords.
2003-10-30 22:00:08 +00:00
Glenn Maynard
c5b78f146b
Cleanup, const fix.
2003-10-30 20:34:38 +00:00
Glenn Maynard
5b732a75c3
fix particles crash
2003-10-30 00:08:20 +00:00