1#ifndef MXTRANSITIONMANAGER_H
2#define MXTRANSITIONMANAGER_H
33 return "MxTransitionManager";
76 void EndTransition(
MxBool p_notifyWorld);
82 void DissolveTransition();
85 void MosaicTransition();
88 void WipeDownTransition();
91 void WindowsTransition();
94 void BrokenTransition();
114 MxU16 m_animationTimer;
115 MxU16 m_columnOrder[640];
116 MxU16 m_randomShift[480];
118 MxS32 m_animationSpeed;
[AI] Base virtual class for all Mindscape engine (Mx) objects.
virtual MxBool IsA(const char *p_name) const
[AI] Checks whether this object's class type or parents match the given name.
[AI] Handles screen transitions and animations (such as dissolve, mosaic, wipe, etc....
MxResult Tickle() override
[AI] Performs per-frame advancement of the current transition animation, advancing its state if neces...
MxResult StartTransition(TransitionType p_animationType, MxS32 p_speed, MxBool p_doCopy, MxBool p_playMusicInAnim)
[AI] Begins a new transition animation of type p_animationType at the specified speed,...
TransitionType
[AI] Enumerates all supported transition effect types.
@ e_idle
[AI] No transition is active.
@ e_dissolve
[AI] Black "pixels" dissolve across the screen in random order.
@ e_mosaic
[AI] Complex mosaic block-out effect.
@ e_wipeDown
[AI] Vertical wipe (top-down) fill.
@ e_windows
[AI] Animated shrinking "window" effect from full screen edges inward.
@ e_broken
[AI] Invalid/buggy mode, causes hang, used for diagnostics or internal testing.
@ e_noAnimation
[AI] Instant clear/fill screen, no animated effect.
TransitionType GetTransitionType()
[AI] Returns the currently active transition type.
MxBool IsA(const char *p_name) const override
[AI] Determines if the class name matches with this type or its parents.
MxTransitionManager()
[AI] Initializes MxTransitionManager and resets all transition states and working buffers.
virtual MxResult GetDDrawSurfaceFromVideoManager()
[AI] Retrieves the primary DirectDraw surface to render transitions onto, querying via the video mana...
const char * ClassName() const override
[AI] Returns the class name of this object.
~MxTransitionManager() override
[AI] Cleans up resources for the transition manager, deletes animation memory, notifies tickle manage...
void SetWaitIndicator(MxVideoPresenter *p_waitIndicator)
[AI] Sets or resets the visual wait indicator presented during blocking transitions.
Derived video presenter responsible for displaying video frames using DirectDraw surfaces.
struct _DDSURFACEDESC FAR * LPDDSURFACEDESC
struct IDirectDrawSurface FAR * LPDIRECTDRAWSURFACE
[AI] Union that provides a convenient bit field view of a byte for flag manipulation.