Commit Graph

40 Commits

Author SHA1 Message Date
Chris Danford f04098518b add TransformItemDirect for places (StreamDisplay) that don't want to cache the transforms and also want to do non-TweenState things to an item (GetWidth,SetState) 2008-03-22 02:53:35 +00:00
Chris Danford 5e49768a2d simplify wheel item positioning metrics - use LuaExpressionTransform 2008-02-15 10:13:33 +00:00
Steve Checkoway 76040c2280 Simplify. 2007-02-17 13:20:14 +00:00
Chris Danford f7fc9ceaa5 remove Set/GetHidden, leave *Visible
remove hidden from ActorCommands eventually
2007-02-13 06:32:26 +00:00
Chris Danford 99765bfb0a play Init command on wheel items 2007-02-13 03:44:10 +00:00
Glenn Maynard 80f2507399 Remove WheelIndex. Bind the m_WheelBaseItems instead. To tween
each wheel item separately, do it in eg. WheelOnCommand, and
iterate over the items.
2007-02-03 23:00:16 +00:00
Chris Danford 33835ee478 pass a GameCommand to each wheel item bar (experimental) 2006-12-07 11:34:42 +00:00
Glenn Maynard f2e89da415 cleanups 2006-10-20 00:22:16 +00:00
Glenn Maynard 30b6f2cdfc Prefer a->PlayCommand(b) to COMMAND(a,b). COMMAND tries
to load commands from metrics if they don't exist.  That's
a leftover from older code, before we could load all commands
at load time.  Now it's a bit confusing, causes us to
spend time loading things after we're already rendering,
and causes error dialogs that should happen during load
to happen later.
2006-08-31 19:47:56 +00:00
Glenn Maynard 27718a78f2 still an ugly cast 2006-08-15 18:58:54 +00:00
Steve Checkoway eab503d3f2 Always do downcasts through dynamic_cast. 2006-08-12 23:50:47 +00:00
Glenn Maynard 3d85b7a02b update, fix, simplify ... 2006-08-10 17:42:28 +00:00
Glenn Maynard 208c5b0061 Make wheel items regular children (no special update/drawing);
remove "staggered tween" hack and set the offset in the
context so this can be done in commands; fix sections;
do OnCommand/OffCommand normally and rename TweenOn/OffScreen
to TweenOn/OffScreenForSort; other fixes/cleanups (metric
updates to come in a bit)
2006-08-10 06:27:47 +00:00
Glenn Maynard 16e51def6e update 2006-08-10 05:08:45 +00:00
Glenn Maynard ded811325c remove WheelItemOffDelayCenter 2006-08-09 22:36:06 +00:00
Glenn Maynard ebfb855334 remove WheelItemOnDelayCenter 2006-08-09 22:35:01 +00:00
Chris Danford 61955f3266 make wheel item locked color a metric 2006-04-25 08:46:43 +00:00
Glenn Maynard 9e53044d00 remove Actor:: qualifier 2006-01-23 04:42:12 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 49bdcb8936 unused 2006-01-15 08:10:26 +00:00
Glenn Maynard 1178d1df75 cleanup 2005-09-26 19:52:04 +00:00
Glenn Maynard be73671d02 cleanup 2005-09-19 09:55:05 +00:00
Glenn Maynard 075b132f89 nudge RebuildWheelItems and RebuildMusicWheelItems together 2005-09-19 09:48:41 +00:00
Glenn Maynard d2616b08d9 nudge RebuildWheelItems and RebuildMusicWheelItems together 2005-09-19 09:37:47 +00:00
Glenn Maynard 3dac531b1d nudge RebuildWheelItems and RebuildMusicWheelItems together 2005-09-19 09:36:21 +00:00
Glenn Maynard 6a0c91e07e STATE_SELECTING_GENERIC -> STATE_SELECTING 2005-09-19 09:27:43 +00:00
Glenn Maynard 97ddf1ca86 cleanup 2005-09-19 09:20:57 +00:00
Glenn Maynard 3876bc1a2c quick style pass 2005-09-19 09:19:54 +00:00
Glenn Maynard 142fc408ab fix "holding left and pressing right ignores wheel lock" 2005-09-19 09:01:21 +00:00
Glenn Maynard 5f9c33fd01 cleanup 2005-09-19 08:49:09 +00:00
Glenn Maynard 0532a3db79 cleanup 2005-07-07 10:48:02 +00:00
Chris Danford 12d8415e4a don't play FinishOff twice 2005-06-11 10:27:56 +00:00
Glenn Maynard 036114533b cleanup 2005-05-05 02:24:03 +00:00
Josh Allen 531b4731a8 Updates 2005-05-03 01:05:11 +00:00
Chris Danford b6ba3caf84 fix warnings 2005-05-01 07:51:41 +00:00
Josh Allen 63d86682c3 Updated for abstraction and changes to origional MusicWheel operation 2005-04-29 02:42:31 +00:00
Josh Allen 2369bd337c Remove unused headers
Reorganize portions of code for easier reuse
2005-04-24 05:52:35 +00:00
Josh Allen 69779f76e8 Fix definition of CircularShift 2005-04-16 04:23:46 +00:00
Josh Allen 58c45a9fbf fix to work with new AutoScreenMessages
better adding, removing, or selecting elements when or resulting in an empty wheel
style changes in regards to some curly brackets
2005-04-06 00:17:25 +00:00
Josh Allen 9c6ca1381b Very basic and generic selection wheel using code from existing MusicWheel and MusicWheelItems. MusicWheel and MusicWheelItems will abstract from this eventually. 2005-03-27 03:56:10 +00:00