|
| Redraw (TwinEEngine *engine) |
|
void | setRenderText (const Common::String &text) |
|
int32 | addOverlay (OverlayType type, int16 info0, int16 x, int16 y, int16 info1, OverlayPosType posType, int16 lifeTime) |
|
void | posObjIncrust (OverlayListStruct *ptrdisp, int32 num) |
|
void | addRedrawArea (int32 left, int32 top, int32 right, int32 bottom) |
|
void | addPhysBox (const Common::Rect &rect) |
|
void | flipBoxes () |
|
void | clsBoxes () |
|
void | drawScene (bool bgRedraw) |
|
void | drawBubble (int32 actorIdx) |
|
void | sortDrawingList (DrawListStruct *list, int32 listSize) const |
|
◆ addRedrawArea()
void TwinE::Redraw::addRedrawArea |
( |
int32 |
left, |
|
|
int32 |
top, |
|
|
int32 |
right, |
|
|
int32 |
bottom |
|
) |
| |
Add a certain region to redraw list array
- Parameters
-
left | start width to redraw the region |
top | start height to redraw the region |
right | end width to redraw the region |
bottom | end height to redraw the region |
◆ flipBoxes()
void TwinE::Redraw::flipBoxes |
( |
| ) |
|
Flip currentRedrawList regions in the screen This only updates small areas in the screen so few CPU processor is used
◆ clsBoxes()
void TwinE::Redraw::clsBoxes |
( |
| ) |
|
Blit/Update all screen regions in the currentRedrawList
◆ drawScene()
void TwinE::Redraw::drawScene |
( |
bool |
bgRedraw | ) |
|
This is responsible for the entire game screen redraw
- Parameters
-
bgRedraw | true if we want to redraw background grid, false if we want to update certain screen areas |
◆ drawBubble()
void TwinE::Redraw::drawBubble |
( |
int32 |
actorIdx | ) |
|
Draw dialogue sprite image
◆ sortDrawingList()
void TwinE::Redraw::sortDrawingList |
( |
DrawListStruct * |
list, |
|
|
int32 |
listSize |
|
) |
| const |
Sort drawing list struct ordered as the first objects appear in the top left corner of the screen
- Parameters
-
list | drawing list variable which contains information of the drawing objects |
listSize | number of drawing objects in the list |
◆ _firstTime
bool TwinE::Redraw::_firstTime = false |
Request background redraw
◆ _nbPhysBox
int32 TwinE::Redraw::_nbPhysBox = 0 |
Current number of redraw regions in the screen
◆ _nbOptPhysBox
int32 TwinE::Redraw::_nbOptPhysBox = 0 |
Number of redraw regions in the screen
The documentation for this class was generated from the following file: