Glenn Maynard
4ae883a5c6
cleanup
2005-09-27 07:34:45 +00:00
Glenn Maynard
cc737b0835
fix message
2005-09-27 03:32:14 +00:00
Glenn Maynard
71ad5179b4
Don't scroll by default; do it in OnCommand.
2005-09-27 03:20:07 +00:00
Glenn Maynard
e1cf2c5484
add lua bindings
2005-09-27 03:18:57 +00:00
Glenn Maynard
2436ef26db
simplify
2005-09-26 23:01:24 +00:00
Glenn Maynard
e3d5437031
fix up names
2005-09-26 21:04:02 +00:00
Glenn Maynard
5ca840d259
simplify algebraically; nudge both cases to look the same
2005-09-26 21:03:09 +00:00
Glenn Maynard
9110303bff
equivalent and easier to understand: fCurrentItem is simply centered
2005-09-26 20:43:45 +00:00
Glenn Maynard
e24e9d8c99
cleanup
2005-09-26 19:53:11 +00:00
Glenn Maynard
1178d1df75
cleanup
2005-09-26 19:52:04 +00:00
Glenn Maynard
a1d9d49d6c
simplify: an ActorScroller is always an ActorScroller
2005-09-26 19:35:15 +00:00
Glenn Maynard
b389ded342
Remove UseScroller; it's a holdover from when ActorScroller was part of
...
ActorFrame. Now, if the class is ActorScroller, we always want a scroller.
2005-09-24 23:25:25 +00:00
Glenn Maynard
718cf1787a
simplify
2005-09-24 04:04:01 +00:00
Glenn Maynard
dbbe3c8af1
Fix mask. Traditionally, quads have been a little unusual: they have a size
...
of 1x1, and are sized by zooming. That's unintuitive, commonly causes
problems when used in conjunction with other stretch effects, and all we have
to do is SetHeight/SetWidth to set the actual size, which will make it behave
exactly like any other sprite. This one didn't work because m_exprTransformFunction
overrides the zoom, usually resetting it to 1x1.
2005-09-24 04:02:27 +00:00
Glenn Maynard
f9258c60b9
fix div/0 in LuaExpressionTransform::PositionItem
2005-09-24 03:29:02 +00:00
Glenn Maynard
40251903ec
legacy: bPosition is always true
2005-09-24 02:35:53 +00:00
Glenn Maynard
c27ba8ca2f
Don't SetZ masks; it breaks things in 3d. It's up to the renderer to activate
...
z-bias in BLEND_NO_EFFECT.
2005-09-24 02:31:55 +00:00
Glenn Maynard
7dce50ffbc
simplify, don't store extra state
2005-09-24 02:18:09 +00:00
Glenn Maynard
615c470354
cleanup
2005-09-24 00:54:31 +00:00
Glenn Maynard
0581e0b3d0
const fix
...
hide implementation
2005-09-24 00:51:35 +00:00
Glenn Maynard
fb49d6a41a
optimize, simplify
2005-09-22 00:08:59 +00:00
Chris Danford
65d71a4f23
expermienting with DEFINE_METHOD macro for Lua methods
2005-09-10 02:47:04 +00:00
Chris Danford
24440aa3bf
move Trasform caching out of ActorScroller and into LuaExpressionTransform so that ScreenOptions can use it too.
...
add RowOn/OffCommand to ScreenOptions
2005-09-03 17:37:42 +00:00
Chris Danford
f55e8a54e6
Don't evaluate the ActorScroller transform function every time though Draw.
...
Cache TweenState values at a provided interval, then interpolate between the TweenStates.
TODO: Precalculate these TweenStates in Init?
2005-09-02 21:42:34 +00:00
Chris Danford
dda9f61179
add metric SSMaster::LoopScroller
2005-07-26 19:55:00 +00:00
Glenn Maynard
55d6382c49
add virtual Copy() to Actor
2005-07-18 22:00:19 +00:00
Glenn Maynard
9d7f835609
no need to template Luna specializations
2005-06-20 05:02:03 +00:00
Glenn Maynard
c998564adf
update registration for various types
2005-06-20 04:17:02 +00:00
Glenn Maynard
c0a65b3503
lua locking
2005-06-16 22:10:24 +00:00
Chris Danford
98784d3fb5
Split Update into Update and UpdateInternal so that every class doesn't need to early abort in Update when hibernating
2005-06-11 10:32:58 +00:00
Chris Danford
f3624f27c6
fix ranking tweens off before animation ends
2005-05-06 12:59:32 +00:00
Chris Danford
f6850473bb
fix ScoreWheel scrolling
2005-05-05 00:22:36 +00:00
Chris Danford
2f1e7a7cd3
fix ranking scroll
2005-05-04 18:58:57 +00:00
Chris Danford
d4515d7095
fix uninitialized variable
2005-05-04 18:57:05 +00:00
Chris Danford
ab543597cd
add SSMaster::WrapScroller and ScrollerFastCatchup
2005-05-03 23:12:29 +00:00
Chris Danford
bd29df486f
fix bad Lua param name
2005-05-03 10:57:00 +00:00
Chris Danford
8eaf93a23d
position Scroller items with a Lua function
...
add ActorFrame::m_bDrawByZPosition
2005-05-03 09:29:54 +00:00
Chris Danford
64dbc29fb0
no popping of scores on wheel
2005-04-29 06:16:51 +00:00
Chris Danford
07e55a4e65
fix uninitialized m_fQuantizePixels
2005-04-25 06:02:47 +00:00
Chris Danford
cb168f791a
add optional QuantizePixels
2005-04-19 19:17:03 +00:00
Chris Danford
b26768eafe
fix ActorScroller draws a longer distance than it used to. Clean this up later.
2005-04-12 12:39:39 +00:00
Chris Danford
8e6637dd0d
merge ListDisplay into ActorScroller
2005-04-10 23:42:47 +00:00
Chris Danford
cb542836d1
add Lua ActorScroller
2005-03-31 12:57:21 +00:00
Chris Danford
02d18e9c7b
require all ActorScroller values
2005-03-18 04:05:23 +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
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
4267a5f942
ActorScroller::LoadFromIni -> ActorScroller::LoadFromNode
2005-01-15 13:47:02 +00:00
Chris Danford
77e1c2fee8
fix VC7 warnings
2005-01-08 02:06:22 +00:00
Chris Danford
cc0f4e7c6f
allow float value for NumItemsToDraw
2005-01-06 21:24:32 +00:00