diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/pegbox.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c index 643e793fdc..b6221448fb 100644 --- a/apps/plugins/pegbox.c +++ b/apps/plugins/pegbox.c | |||
@@ -334,8 +334,14 @@ PLUGIN_HEADER | |||
334 | 334 | ||
335 | 335 | ||
336 | /* get several sizes from the bitmaps */ | 336 | /* get several sizes from the bitmaps */ |
337 | #ifdef BMPWIDTH_pegbox_pieces | ||
337 | #define PIECE_WIDTH BMPWIDTH_pegbox_pieces | 338 | #define PIECE_WIDTH BMPWIDTH_pegbox_pieces |
338 | #define PIECE_HEIGHT (BMPHEIGHT_pegbox_pieces/7) | 339 | #define PIECE_HEIGHT (BMPHEIGHT_pegbox_pieces/7) |
340 | #else | ||
341 | /* dummy numbers to avoid #error in dependency generation */ | ||
342 | #define PIECE_WIDTH 50 | ||
343 | #define PIECE_HEIGHT 10 | ||
344 | #endif | ||
339 | #define BOARD_WIDTH (12*PIECE_WIDTH) | 345 | #define BOARD_WIDTH (12*PIECE_WIDTH) |
340 | #define BOARD_HEIGHT (8*PIECE_HEIGHT) | 346 | #define BOARD_HEIGHT (8*PIECE_HEIGHT) |
341 | 347 | ||