22 #ifndef BACKENDS_GRAPHICS_ATARI_SCREEN_H 23 #define BACKENDS_GRAPHICS_ATARI_SCREEN_H 25 #include <unordered_set> 26 #include <mint/ostruct.h> 28 #include "common/rect.h" 29 #include "graphics/surface.h" 31 #include "atari-cursor.h" 36 std::size_t operator()(
Common::Rect const& rect)
const noexcept
38 return 31 * (31 * (31 * rect.
left + rect.top) + rect.
right) + rect.bottom;
47 memset(data, 0,
sizeof(data));
51 uint16 *
const tt =
reinterpret_cast<uint16*
>(data);
52 _RGB *
const falcon =
reinterpret_cast<_RGB*
>(data);
57 byte data[256*4] = {};
66 void reset(
int width,
int height,
int bitsPerPixel,
bool resetCursorPosition);
70 void clearDirtyRects() {
78 bool fullRedraw =
false;
87 static constexpr
size_t ALIGN = 16;
103 #endif // BACKENDS_GRAPHICS_ATARI_SCREEN_H
int16 right
Definition: rect.h:146
Definition: atari-screen.h:60
Definition: atari-cursor.h:38
Definition: algorithm.h:29
int16 left
Definition: rect.h:145
Definition: atari-graphics.h:39
Definition: atari-screen.h:44