Glenn Maynard
db4ccaf529
Fix rounding error from NoteDisplay::SetActiveFrame "vivid" output.
2006-02-17 05:53:29 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
a89a488251
use find()
2005-12-21 08:46:30 +00:00
Glenn Maynard
5a6b805e20
unused include
2005-12-19 00:37:10 +00:00
Chris Danford
608ba7f7ac
cleanup
2005-12-03 07:44:59 +00:00
Glenn Maynard
77c6ffdfd1
cleanup
2005-11-28 20:33:20 +00:00
Glenn Maynard
220602d4a2
fix lerp (obscure: this only matters for non-rectangular texture coordinates)
2005-11-28 18:08:51 +00:00
Glenn Maynard
40c3fa3995
generalize texture coord gen
2005-11-28 16:54:19 +00:00
Glenn Maynard
5be508809b
When cropping, derive the texture coords from the vertices, so the
...
texture coord code doesn't have to know about the cropping code.
2005-11-28 16:36:15 +00:00
Glenn Maynard
4c874a943b
include cleanup
2005-11-06 18:03:47 +00:00
Chris Danford
3f6e95b7d8
fix D3D texture coord generation
2005-11-05 03:08:09 +00:00
Steve Checkoway
4ce7d47899
Cleanup.
2005-10-29 12:22:43 +00:00
Glenn Maynard
ac601d932a
eval, handle relative paths
2005-10-12 02:44:49 +00:00
Glenn Maynard
201fe355ac
simplify
2005-10-11 02:16:55 +00:00
Glenn Maynard
a808a49b65
remove return value; always true and never checked (texture load errors
...
are handled with warnings and a dummy texture)
2005-10-11 02:15:27 +00:00
Glenn Maynard
a736d97aa2
simplify
2005-10-11 02:08:12 +00:00
Glenn Maynard
d78b194f09
add GetAnimationLengthSeconds
2005-10-05 08:31:46 +00:00
Chris Danford
2dc967326b
error message cleanup
2005-10-05 05:01:09 +00:00
Chris Danford
65d71a4f23
expermienting with DEFINE_METHOD macro for Lua methods
2005-09-10 02:47:04 +00:00
Chris Danford
48ebc53549
return NULL -> return CString() for clarity and efficiency
2005-09-04 16:55:21 +00:00
Glenn Maynard
a60dd2ec38
fix edge diffuse colors with fade
2005-09-03 22:44:11 +00:00
Chris Danford
e439ae2a96
return "" -> return NULL
2005-09-02 00:14:07 +00:00
Glenn Maynard
1c81bcc5fc
EarlyAbortDraw() const
2005-08-25 00:57:53 +00:00
Chris Danford
7cfcce6e7d
remove .sprite file support. Use .xml instead
2005-07-26 20:00:19 +00:00
Glenn Maynard
ee791b9c9c
fix copying when unloaded
2005-07-16 03:10:59 +00:00
Glenn Maynard
0cf94e1ada
fix copy
2005-07-15 04:22:23 +00:00
Glenn Maynard
2aa932ca3a
Sprite copy ctor, same reason (refcounted textures)
...
this is the sort of thing HiddenPtr is meant to avoid, but I'm not ready to
start using it on refcounted objects just yet ...
2005-07-15 04:16:31 +00:00
Glenn Maynard
12b5a43ca4
don't warn about SetState(0) (spams when we havn't loaded, or when using
...
Quad)
2005-07-05 05:30:00 +00:00
Glenn Maynard
9d7f835609
no need to template Luna specializations
2005-06-20 05:02:03 +00:00
Glenn Maynard
e2cfba413a
update registration for various types
2005-06-20 04:23:36 +00:00
Chris Danford
dac72665e3
move background file enumerating into BackgroundUtil.*
...
fix editor background change functionality
2005-05-31 01:17:37 +00:00
Glenn Maynard
b8bb5890f9
cleanup
2005-05-05 20:06:47 +00:00
Ben Anderson
3edfc9bf2b
Partial revert; I didn't know that dialog code already does logging
2005-05-05 01:08:28 +00:00
Ben Anderson
ec1d229339
Make sure there actually is a texture before calling methods on it. Also, use Log instead of dialog; dialog isn't available on some platforms (Linux)
2005-05-05 00:36:14 +00:00
Chris Danford
f747eb4ab1
fix warnings
2005-05-01 08:05:50 +00:00
Chris Danford
b1075cc513
support loading Sprite frames from xml (deprecates .sprite files)
2005-04-30 07:49:14 +00:00
Chris Danford
1ab61d7dde
don't warn about Sprite having the wrong number of states
2005-03-20 05:51:44 +00:00
Glenn Maynard
0750a8ea4c
register Sprite, so we can construct sprites in XML like other objects
...
(Type="sprite") without setting a File, and then load the texture later.
2005-03-18 22:49:00 +00:00
Chris Danford
4a2499b0fb
fix Model doesn't obey m_bTextureWrapping
2005-02-27 08:31:41 +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
cd9c48d645
LuaHelpers -> LuaManager
2005-01-24 02:26:55 +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
5c5363598f
fix VC7 warnings
2005-01-10 07:04:44 +00:00
Glenn Maynard
b67e3c6ebd
wrap texture coordinates when in texture animation mode
2005-01-09 21:19:09 +00:00
Glenn Maynard
8a29cc0459
remove separate glow modes
2005-01-08 22:14:08 +00:00
Glenn Maynard
ba19b3b979
fading fixes
2005-01-03 11:21:02 +00:00
Glenn Maynard
35c718b990
Removing "fadecolor". Fading is useful, but being able to fade with a factor
...
other than #FFFFFF00 has never been useful, and it complicates the code.
Note that "diffuse" and fading do combine, so a sprite with diffuse,#FF0000
will still fade out correctly.
2005-01-01 21:59: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
6c855f0c93
"ParsedCommand" -> "ActorCommand"
2004-11-06 20:42:09 +00:00