Files @ r10232:40f71efe145b
Branch filter:

Location: cpp/openttd-patchpack/source/src/blitter/8bpp_simple.hpp

translators
(svn r14460) -Update: WebTranslator2 update to 2008-10-12 17:43:44
bulgarian - 6 fixed, 1 changed by kokobongo (7)
english_US - 6 fixed by WhiteRabbit (6)
ido - 43 fixed by Cecile (43)
italian - 6 changed by lorenzodv (6)
korean - 41 changed by dlunch (41)
latvian - 54 changed by v3rb0 (54)
persian - 66 fixed by ali sattari (66)
/* $Id$ */

/** @file 8bpp_simple.hpp Simple (and slow) 8 bpp blitter. */

#ifndef BLITTER_8BPP_SIMPLE_HPP
#define BLITTER_8BPP_SIMPLE_HPP

#include "8bpp_base.hpp"
#include "factory.hpp"

class Blitter_8bppSimple : public Blitter_8bppBase {
public:
	/* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
	/* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);

	/* virtual */ const char *GetName() { return "8bpp-simple"; }
};

class FBlitter_8bppSimple: public BlitterFactory<FBlitter_8bppSimple> {
public:
	/* virtual */ const char *GetName() { return "8bpp-simple"; }
	/* virtual */ const char *GetDescription() { return "8bpp Simple Blitter (relative slow, but never wrong)"; }
	/* virtual */ Blitter *CreateInstance() { return new Blitter_8bppSimple(); }
};

#endif /* BLITTER_8BPP_SIMPLE_HPP */