Files
@ r16844:e7ca1d797e7d
Branch filter:
Location: cpp/openttd-patchpack/source/src/blitter/32bpp_simple.hpp - annotation
r16844:e7ca1d797e7d
1.5 KiB
text/x-c++hdr
(svn r21588) -Update from WebTranslator v3.0:
croatian - 56 changes by VoyagerOne
czech - 62 changes by SmatZ
english_US - 57 changes by Rubidium
finnish - 57 changes by USephiroth, jpx_
french - 57 changes by glx
german - 57 changes by planetmaker
hungarian - 54 changes by IPG
indonesian - 7 changes by fanioz
russian - 56 changes by Lone_Wolf
spanish - 57 changes by Terkhen
swedish - 142 changes by Zuu
croatian - 56 changes by VoyagerOne
czech - 62 changes by SmatZ
english_US - 57 changes by Rubidium
finnish - 57 changes by USephiroth, jpx_
french - 57 changes by glx
german - 57 changes by planetmaker
hungarian - 54 changes by IPG
indonesian - 7 changes by fanioz
russian - 56 changes by Lone_Wolf
spanish - 57 changes by Terkhen
swedish - 142 changes by Zuu
r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r9111:983de9c5a848 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6937:bea726150bf3 r6937:bea726150bf3 r6889:9eefa1ce35c6 r6937:bea726150bf3 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r14310:91a5cd71c4e6 r6889:9eefa1ce35c6 r6989:10bbdd3aad14 r6989:10bbdd3aad14 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file 32bpp_simple.hpp Simple 32 bpp blitter. */
#ifndef BLITTER_32BPP_SIMPLE_HPP
#define BLITTER_32BPP_SIMPLE_HPP
#include "32bpp_base.hpp"
#include "factory.hpp"
class Blitter_32bppSimple : public Blitter_32bppBase {
public:
/* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
/* virtual */ void DrawColourMappingRect(void *dst, int width, int height, PaletteID pal);
/* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
/* virtual */ const char *GetName() { return "32bpp-simple"; }
};
class FBlitter_32bppSimple: public BlitterFactory<FBlitter_32bppSimple> {
public:
/* virtual */ const char *GetName() { return "32bpp-simple"; }
/* virtual */ const char *GetDescription() { return "32bpp Simple Blitter (no palette animation)"; }
/* virtual */ Blitter *CreateInstance() { return new Blitter_32bppSimple(); }
};
#endif /* BLITTER_32BPP_SIMPLE_HPP */
|