22 #ifndef SCI_GRAPHICS_TRANSITIONS32_H 23 #define SCI_GRAPHICS_TRANSITIONS32_H 25 #include "common/list.h" 26 #include "common/scummsys.h" 27 #include "sci/engine/vm_types.h" 32 kShowStyleHShutterOut = 1,
33 kShowStyleHShutterIn = 2,
34 kShowStyleVShutterOut = 3,
35 kShowStyleVShutterIn = 4,
36 kShowStyleWipeLeft = 5,
37 kShowStyleWipeRight = 6,
39 kShowStyleWipeDown = 8,
40 kShowStyleIrisOut = 9,
41 kShowStyleIrisIn = 10,
42 kShowStyleDissolveNoMorph = 11,
43 kShowStyleDissolve = 12,
44 kShowStyleFadeOut = 13,
45 kShowStyleFadeIn = 14,
237 void throttle(
const uint32 ms = 10);
239 void clearShowRects();
241 void sendShowRects();
244 #pragma mark Show styles 246 inline bool hasShowStyles()
const {
return !_showStyles.empty(); }
251 void processShowStyles();
259 void kernelSetShowStyle(
const reg_t planeObj,
const ShowStyleType
type,
const int16 seconds,
260 const int16 direction,
const int16 priority,
const int16
animate,
const int16 frameOutNow,
261 const reg_t pFadeArray,
const int16
divisions,
const int16 blackScreen);
267 void kernelSetPalStyleRange(
const uint8 fromColor,
const uint8 toColor);
272 int8 _styleRanges[256];
278 int *_dissolveSequenceSeeds;
284 int16 *_defaultDivisions;
289 ShowStyleList _showStyles;
311 void configure21EarlyHorizontalWipe(
PlaneShowStyle &showStyle,
const int16 priority);
317 void configure21EarlyHorizontalShutter(
PlaneShowStyle &showStyle,
const int16 priority);
323 void configure21EarlyIris(
PlaneShowStyle &showStyle,
const int16 priority);
422 bool processFade(
const int8 direction,
PlaneShowStyle &showStyle);
433 bool processWipe(
const int8 direction,
PlaneShowStyle &showStyle);
438 inline bool hasScrolls()
const {
return !_scrolls.empty(); }
443 void processScrolls();
445 void kernelSetScroll(
const reg_t plane,
const int16 deltaX,
const int16 deltaY,
const GuiResourceId pictureId,
const bool animate,
const bool mirrorX);
461 #endif // SCI_GRAPHICS_TRANSITIONS32_H
uint32 pixel
Definition: transitions32.h:154
uint32 nextTick
Definition: transitions32.h:96
ScreenItem * bitmapScreenItem
Definition: transitions32.h:133
int currentStep
Definition: transitions32.h:101
uint8 numEdges
Definition: transitions32.h:122
int delay
Definition: transitions32.h:84
ShowStyleType type
Definition: transitions32.h:62
bool animate
Definition: transitions32.h:91
reg_t bitmap
Definition: transitions32.h:138
uint32 dissolveMask
Definition: transitions32.h:143
Common::Array< ScreenItem * > screenItems
Definition: transitions32.h:116
reg_t plane
Definition: transitions32.h:57
Definition: seg_manager.h:48
int16 divisions
Definition: transitions32.h:73
Definition: transitions32.h:215
uint32 firstPixel
Definition: transitions32.h:148
Definition: transitions32.h:53
Common::Array< uint16 > fadeColorRanges
Definition: transitions32.h:164
Definition: list_intern.h:51
Definition: screen_item32.h:53
bool processed
Definition: transitions32.h:106
bool fadeUp
Definition: transitions32.h:68
int16 color
Definition: transitions32.h:79
Definition: vm_types.h:39
int16 width
Definition: transitions32.h:127