27 #define _DEFAULT_WIDTH 160 28 #define _DEFAULT_HEIGHT 168 53 int16 getResourceNr()
const {
return _resourceNr; };
56 virtual byte getInitialPriorityColor()
const {
return 4; }
58 void putVirtPixel(int16 x, int16 y);
59 void xCorner(
bool skipOtherCoords =
false);
60 void yCorner(
bool skipOtherCoords =
false);
61 virtual void plotPattern(byte x, byte y);
62 virtual void plotBrush();
65 bool getNextParamByte(byte &b);
68 virtual bool getNextXCoordinate(byte &x);
69 virtual bool getNextYCoordinate(byte &y);
70 bool getNextCoordinates(byte &x, byte &y);
72 virtual bool getGraphicsCoordinates(int16 &x, int16 &y);
75 void decodePicture(int16 resourceNr,
bool clearScreen,
bool agi256 =
false, int16 width = _DEFAULT_WIDTH, int16 height = _DEFAULT_HEIGHT);
76 void decodePictureFromBuffer(byte *data, uint32 length,
bool clearScreen, int16 width = _DEFAULT_WIDTH, int16 height = _DEFAULT_HEIGHT);
79 virtual void drawPicture();
80 void drawPicture_AGI256();
83 void draw_SetPriority();
84 void draw_SetNibbleColor();
85 void draw_SetNibblePriority();
87 virtual void draw_Line(int16 x1, int16 y1, int16 x2, int16 y2);
88 void draw_LineShort();
89 void draw_LineAbsolute();
91 virtual bool draw_FillCheck(int16 x, int16 y,
bool horizontalCheck);
92 virtual void draw_Fill(int16 x, int16 y);
93 virtual void draw_Fill();
96 void showPicture(int16 x = 0, int16 y = 0, int16 width = _DEFAULT_WIDTH, int16 height = _DEFAULT_HEIGHT);
97 void showPictureWithTransition();
107 bool _dataOffsetNibble;
uint8 * rdata
Definition: picture.h:35
Definition: graphics.h:58
uint32 flen
Definition: picture.h:34