summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
commit24c4d5b06d231785db01500360c26815d8fe4d15 (patch)
tree757477dbdc02025cc29690a4e66e40f872cab02b /src/gfx.cpp
parent36bb92ae241403d61dc7a3e5a1696b615be61395 (diff)
downloadopenttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 9340134be..3f0a72a55 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -44,11 +44,11 @@ int _pal_last_dirty;
Colour _cur_palette[256];
byte _stringwidth_table[FS_END][224];
-typedef enum BlitterModes {
+enum BlitterMode {
BM_NORMAL,
BM_COLOUR_REMAP,
BM_TRANSPARENT,
-} BlitterMode;
+};
static void GfxMainBlitter(const Sprite *sprite, int x, int y, BlitterMode mode);
@@ -718,7 +718,7 @@ void DrawSprite(SpriteID img, SpriteID pal, int x, int y)
}
}
-typedef struct BlitterParams {
+struct BlitterParams {
int start_x, start_y;
const byte *sprite;
Pixel *dst;
@@ -726,7 +726,7 @@ typedef struct BlitterParams {
int width, height;
int width_org;
int pitch;
-} BlitterParams;
+};
static void GfxBlitTileZoomIn(BlitterParams *bp)
{