Files
@ r6920:0747f80d0e33
Branch filter:
Location: cpp/openttd-patchpack/source/src/blitter/null.cpp - annotation
r6920:0747f80d0e33
686 B
text/x-c
(svn r10173) -Add: Translations: added new language "Pig Latin". Already "pre-translated", only needs checking. Idea of Piglatin language was from Adam M-W
r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6889:9eefa1ce35c6 r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f r6878:61440e99046f | #include "../stdafx.h"
#include "../zoom.hpp"
#include "../gfx.h"
#include "../functions.h"
#include "null.hpp"
static FBlitter_Null iFBlitter_Null;
void Blitter_Null::Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom)
{
}
void Blitter_Null::DrawColorMappingRect(void *dst, int width, int height, int pal)
{
}
Sprite *Blitter_Null::Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator)
{
Sprite *dest_sprite;
dest_sprite = (Sprite *)allocator(sizeof(*dest_sprite));
dest_sprite->height = sprite->height;
dest_sprite->width = sprite->width;
dest_sprite->x_offs = sprite->x_offs;
dest_sprite->y_offs = sprite->y_offs;
return dest_sprite;
}
|