summaryrefslogtreecommitdiff
path: root/src/blitter/null.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-09 02:57:15 +0000
committerrubidium <rubidium@openttd.org>2009-02-09 02:57:15 +0000
commit89e1afdaa0bfea874d86a8dc2590d49c257ec611 (patch)
tree211b57e3a81eed5791f5b6b9709252af6f7d8503 /src/blitter/null.hpp
parentc7f3daacbf57e8213550f5bca3226565cbafe5e3 (diff)
downloadopenttd-89e1afdaa0bfea874d86a8dc2590d49c257ec611.tar.xz
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
Diffstat (limited to 'src/blitter/null.hpp')
-rw-r--r--src/blitter/null.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/blitter/null.hpp b/src/blitter/null.hpp
index aae238fc3..2f01f5a8a 100644
--- a/src/blitter/null.hpp
+++ b/src/blitter/null.hpp
@@ -12,13 +12,13 @@ class Blitter_Null : public Blitter {
public:
/* virtual */ uint8 GetScreenDepth() { return 0; }
/* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom) {};
- /* virtual */ void DrawColorMappingRect(void *dst, int width, int height, int pal) {};
+ /* virtual */ void DrawColourMappingRect(void *dst, int width, int height, int pal) {};
/* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
/* virtual */ void *MoveTo(const void *video, int x, int y) { return NULL; };
- /* virtual */ void SetPixel(void *video, int x, int y, uint8 color) {};
- /* virtual */ void SetPixelIfEmpty(void *video, int x, int y, uint8 color) {};
- /* virtual */ void DrawRect(void *video, int width, int height, uint8 color) {};
- /* virtual */ void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 color) {};
+ /* virtual */ void SetPixel(void *video, int x, int y, uint8 colour) {};
+ /* virtual */ void SetPixelIfEmpty(void *video, int x, int y, uint8 colour) {};
+ /* virtual */ void DrawRect(void *video, int width, int height, uint8 colour) {};
+ /* virtual */ void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour) {};
/* virtual */ void CopyFromBuffer(void *video, const void *src, int width, int height) {};
/* virtual */ void CopyToBuffer(const void *video, void *dst, int width, int height) {};
/* virtual */ void CopyImageToBuffer(const void *video, void *dst, int width, int height, int dst_pitch) {};