9628
|
1 |
/* $Id$ */
|
|
2 |
|
|
3 |
/** @file 8bpp_base.hpp */
|
|
4 |
|
|
5 |
#ifndef BLITTER_8BPP_BASE_HPP
|
|
6 |
#define BLITTER_8BPP_BASE_HPP
|
|
7 |
|
|
8 |
#include "base.hpp"
|
|
9 |
|
|
10 |
class Blitter_8bppBase : public Blitter {
|
|
11 |
public:
|
|
12 |
/* virtual */ uint8 GetScreenDepth() { return 8; }
|
|
13 |
// /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
|
|
14 |
/* virtual */ void DrawColorMappingRect(void *dst, int width, int height, int pal);
|
|
15 |
// /* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
|
|
16 |
/* virtual */ void *MoveTo(const void *video, int x, int y);
|
|
17 |
/* virtual */ void SetPixel(void *video, int x, int y, uint8 color);
|
|
18 |
/* virtual */ void SetPixelIfEmpty(void *video, int x, int y, uint8 color);
|
|
19 |
/* virtual */ void SetHorizontalLine(void *video, int width, uint8 color);
|
|
20 |
/* virtual */ void CopyFromBuffer(void *video, const void *src, int width, int height, int src_pitch);
|
|
21 |
/* virtual */ void CopyToBuffer(const void *video, void *dst, int width, int height, int dst_pitch);
|
|
22 |
/* virtual */ void MoveBuffer(void *video_dst, const void *video_src, int width, int height);
|
|
23 |
/* virtual */ int BufferSize(int width, int height);
|
|
24 |
};
|
|
25 |
|
|
26 |
#endif /* BLITTER_8BPP_BASE_HPP */
|