Commit Graph

17504 Commits

Author SHA1 Message Date
Glenn Maynard 18f40a2b8f Separate "number of Actors" from "number of items": allow having more items than
actors.  Derived classes do this by overriding ShiftSubActors and setting m_iNumItems
to something other than m_SubActors.size().
2005-09-27 07:49:12 +00:00
Glenn Maynard 384e26cbec ActorScroller doesn't SetDestinationItem anymore, but we still want this here and not in ActorScroller. 2005-09-27 07:40:34 +00:00
Glenn Maynard 4ae883a5c6 cleanup 2005-09-27 07:34:45 +00:00
Glenn Maynard 75484e193f cleanup: add children before calling Load 2005-09-27 05:40:09 +00:00
Glenn Maynard 71931135a3 implement BitmapText::operator= 2005-09-27 05:38:14 +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 45c50c854d BGAnimation is no longer used for scrollers; use XML. 2005-09-26 19:34:07 +00:00
Glenn Maynard d3ecba30a0 cleanup test 2005-09-26 19:08:45 +00:00
Glenn Maynard 163aa1366a cleanup 2005-09-26 19:08:15 +00:00
Steve Checkoway 186ed0f0ac It compiles but crashes with: Crash reason: ScreenNameEntry, ScreenMusicScroll, during ScreenNameEntry. 2005-09-26 08:10:04 +00:00
Josh Allen 0d6ae492e0 Update for InfoBbox move 2005-09-25 19:00:00 +00:00
Josh Allen 909c8e078a Move all the InfoBox code into the RoomWheel 2005-09-25 18:58:01 +00:00
Josh Allen 4440d57ef6 Virtual and constant 2005-09-25 18:47:24 +00:00
Chris Danford f78cee8988 add sound driver selection and logging toggle 2005-09-25 04:52:01 +00:00
Glenn Maynard d504a9f798 update 2005-09-25 02:30:29 +00:00
Glenn Maynard b6c84d5abb do credits screen in XML (can almost remove this; just the announcer ...) 2005-09-25 01:45:37 +00:00
Glenn Maynard a0da988918 GetRandomSongBackground 2005-09-25 01:41:26 +00:00
Glenn Maynard 3aa06cdf34 simplify 2005-09-24 23:54:24 +00:00
Glenn Maynard 3a185cc977 yuck. ActorScroller doesn't need UseScroller, but BGAnimation does. Move
the hack into BGAnimation, which is on its way out anyway.
2005-09-24 23:43:06 +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
Chris Danford 878c73d3c2 Write Catalog.xml even if FastLoad is on.
FastLoad just means "don't check files for changes", not "only use cache".  New files that aren't already in cache are still loaded normally.
2005-09-24 20:39:48 +00:00
Chris Danford 790d3f2c65 add dialog to switch graphics API 2005-09-24 20:36:25 +00:00
Chris Danford 45cc63b84f fix assert when parsing a line that contains only whitespace 2005-09-24 20:26:30 +00:00
Chris Danford 682f9aa379 fix Reverse for RTL can be applied multiple times to the same string 2005-09-24 20:23:15 +00:00
Glenn Maynard a3bdc2e5ff move SetSize to Actor 2005-09-24 06:57:03 +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 4722e1ca2e fix comment 2005-09-24 03:48:30 +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 05514ab59e unused 2005-09-24 02:34:34 +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
Chris Danford 155007bd3e don't write CatalogXml if FastLoad 2005-09-24 01:05:16 +00:00
Chris Danford 6926b8c811 more complete text descriptions 2005-09-24 00:58:58 +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 8b9f7c2889 sLine is a string, not a vector 2005-09-23 02:27:23 +00:00
Glenn Maynard 6ea2f37a36 Change MenuUp(pn,type) overrides to MenuUp(IEP), so info like DeviceI.ts is always accessible. 2005-09-23 00:44:52 +00:00
Glenn Maynard df8153cf7b cleanup 2005-09-23 00:13:04 +00:00
Glenn Maynard 2f3905325d style cleanup 2005-09-23 00:12:32 +00:00