summaryrefslogtreecommitdiff
path: root/gfx.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-15 14:16:14 +0000
committertron <tron@openttd.org>2005-07-15 14:16:14 +0000
commit8f71864bef912a9cd8b8f649c5acbe638d48fc24 (patch)
tree37a7c3272357635a96d29652c78fbc738b0c782d /gfx.h
parentb21ee889fec9b8d197692969855cb54675edfa6d (diff)
downloadopenttd-8f71864bef912a9cd8b8f649c5acbe638d48fc24.tar.xz
(svn r2571) Add explicit type Pixel for ... Pixels
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx.h b/gfx.h
index 9b8bd8814..8c44123c9 100644
--- a/gfx.h
+++ b/gfx.h
@@ -1,6 +1,7 @@
#ifndef GFX_H
#define GFX_H
+typedef byte Pixel;
typedef struct ColorList {
byte unk0, unk1, unk2;
@@ -10,7 +11,7 @@ typedef struct ColorList {
} ColorList;
struct DrawPixelInfo {
- byte *dst_ptr;
+ Pixel *dst_ptr;
int left, top, width, height;
int pitch;
uint16 zoom;