From 0a15ccc3550fc0016671846d445cbe37a40273ca Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Tue, 17 May 2016 10:51:37 +0200 Subject: [PATCH] Make construction_markers extern --- src/paint/paint.c | 5 +++++ src/paint/paint.h | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/paint/paint.c b/src/paint/paint.c index 1fdb6a2058..e8208d061d 100644 --- a/src/paint/paint.c +++ b/src/paint/paint.c @@ -23,6 +23,11 @@ #include "sprite/sprite.h" #include "../addresses.h" +const uint32 construction_markers[] = { + COLOUR_DARK_GREEN << 19 | COLOUR_GREY << 24 | IMAGE_TYPE_USE_PALETTE << 28, // White + 2 << 19 | 0b110000 << 19 | IMAGE_TYPE_MIX_BACKGROUND << 28, // Translucent +}; + /** * * rct2: 0x0068615B diff --git a/src/paint/paint.h b/src/paint/paint.h index 067e467a04..be0cd713a7 100644 --- a/src/paint/paint.h +++ b/src/paint/paint.h @@ -88,10 +88,7 @@ enum PAINT_STRUCT_FLAGS { }; /** rct2: 0x00993CC4 */ -const uint32 construction_markers[] = { - COLOUR_DARK_GREEN << 19 | COLOUR_GREY << 24 | IMAGE_TYPE_USE_PALETTE << 28, // White - 2 << 19 | 0b110000 << 19 | IMAGE_TYPE_MIX_BACKGROUND << 28, // Translucent -}; +extern const uint32 construction_markers[]; void painter_setup();