25 #include "common/scummsys.h" 29 #define MAX_STRING_LEN 144 30 #define MAX_FILENAME_SIZE 144 33 #define MAX_VIDEO_X 639 34 #define MAX_VIDEO_Y 479 50 TRIG_INV_CLICK = 32000,
57 uint8 *data =
nullptr;
61 constexpr
Buffer() =
default;
62 constexpr
Buffer(int32 _w, int32 _h, uint8 *_data, uint8 _encoding, int32 _stride) : w(_w), h(_h), data(_data), encoding(_encoding), stride(_stride) {}
64 uint8 *getBasePtr(
int x,
int y) {
65 return data + y * w + x;
67 const uint8 *getBasePtr(
int x,
int y)
const {
68 return data + y * w + x;
73 char *sym_name =
nullptr;
77 #include "common/pack-start.h" 79 byte r = 0, g = 0, b = 0;
81 constexpr
RGB8() =
default;
82 constexpr
RGB8(
const byte red,
const byte green,
const byte blue) : r(red), g(green), b(blue) {}
84 #include "common/pack-end.h" 86 typedef void (*FuncPtr_v_vv)(
void *,
void *);
88 typedef FuncPtr_v_vv M4CALLBACK;
intptr frac16
Definition: m4_types.h:45
Definition: m4_types.h:78
Definition: m4_types.h:54
Definition: database.h:28
Definition: m4_types.h:72