22 #ifndef CRYO_EDEN_GRAPHICS_H 23 #define CRYO_EDEN_GRAPHICS_H 25 #include "cryo/defs.h" 38 void drawSprite(int16 index, int16 x, int16 y,
bool withBlack =
false,
bool onSubtitle =
false);
41 void displaySubtitles();
46 void sundcurs(int16 x, int16 y);
52 void glow(int16 index);
54 void setGlowX(int16 value);
56 void setGlowY(int16 value);
73 void displayEffect1();
76 void displayEffect2();
78 void setShowBlackBars(
bool value);
80 bool getShowBlackBars();
84 void cursbuftopanel();
86 void langbuftopanel();
88 View *getSubtitlesView();
92 byte *getHnmViewBuf();
96 void setPaletteColor(byte *buffer);
99 void saveMouthBackground();
102 void restoreMouthBackground();
106 bool _savedUnderSubtitles;
108 void setSavedUnderSubtitles(
bool value);
110 byte *getSubtitlesViewBuf();
112 View *getUnderBarsView();
114 void SendPalette2Screen(int16 value);
116 void setFade(
bool value);
121 void displayEffect3();
123 void setDestRect(int16 sx, int16 sy, int16 ex, int16 ey);
125 void setSrcRect(int16 sx, int16 sy, int16 ex, int16 ey);
127 void fadeToBlack(
int delay);
130 void fadeToBlackLowPalette(
int delay);
133 void fadeFromBlackLowPalette(
int delay);
137 void playHNM(int16 num);
139 void setCursKeepPos(int16 x, int16 y);
141 void restoreUnderSubtitles();
147 void saveTopFrieze(int16 x);
149 void saveBottomFrieze();
151 void restoreTopFrieze();
153 void restoreBottomFrieze();
163 bool _showVideoSubtitle;
168 View *_underSubtitlesView;
169 View *_subtitlesView;
170 View *_underBarsView;
180 byte *_underSubtitlesViewBuf;
196 bool _videoCanceledFlag;
200 byte *_subtitlesViewBuf;
212 void saveUnderSubtitles(int16 y);
216 void displayHNMSubtitle();
218 void readPalette(byte *ptr);
220 void getglow(int16 x, int16 y, int16 w, int16 h);
222 void loadMouthRectFromCurChar();
225 void displaySingleRoom(
Room *room);
228 void displayEffect4();
230 void colimacon(
const int16 pattern[]);
237 void showMovie(int16 num,
char arg1);
240 void handleHNMSubtitles();
245 #endif // CRYO_EDEN_GRAPHICS_H
Definition: eden_graphics.h:32