30 #include "common/serializer.h" 31 #include "common/events.h" 32 #include "graphics/surface.h" 33 #include "cge/general.h" 34 #include "cge/bitmap.h" 35 #include "cge/snail.h" 41 #define kVgaColDark 207 42 #define kVgaColDarkGray 225 43 #define kVgaColGray 231 44 #define kVgaColLightGray 237 45 #define kPixelTransp 0xFE 47 #define kNoPtr ((uint8)-1) 48 #define kSprExt ".SPR" 50 #define kPalSize (kPalCount * 3) 78 _shpList(NULL), _seq(NULL),
79 _name(NULL), _near(NULL), _take(NULL)
117 char _file[kMaxFile];
123 inline bool active() {
133 Sprite *backShow(
bool fast =
false);
134 void setName(
char *newName);
135 inline char *name() {
136 return (_ext) ? _ext->_name : NULL;
138 void gotoxy(
int x,
int y);
143 void show(uint16 pg);
144 void makeXlat(uint8 *x);
146 void step(
int nr = -1);
149 virtual void touch(uint16 mask,
int x,
int y);
190 uint8 closest(
Dac *pal,
const uint8 colR,
const uint8 colG,
const uint8 colB);
203 uint8 *glass(
Dac *pal,
const uint8 colR,
const uint8 colG,
const uint8 colB);
204 void getColors(
Dac *tab);
205 void setColors(
Dac *tab,
int lum);
206 void clear(uint8 color);
207 void copyPage(uint16 d, uint16 s);
208 void sunrise(
Dac *tab);
213 void palToDac(
const byte *palData,
Dac *tab);
214 void dacToPal(
const Dac *tab, byte *palData);
Definition: serializer.h:79