From 6efd7f8f3e4a9de578646c77c7527c54b3c8e557 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Wed, 3 Sep 2014 19:16:37 -0400 Subject: FS#8647: Amaze - 3D maze game plugin - update to build against latest Git - cleanup (whitespace, indentation) - fixed old PLA handling - update indentation/curly brace style - improve load/save mechanism - enable marking ground with "select" button - add compass view - improve display on 1-bit-targets (floor pattern) - graphics update: add 3x3 and 5x5 tiles, rework 7x7 and 9x9 tiles, load tiles dependant of screen size - fix: on some targets (Fuze+) division by 0 could occur. Fix by calculating the exact view depth on all targets. - fix: duplicate error checks when saving prefs - Fully translate it - Add a simple manual entry (including screenshots for some platforms) Change-Id: Ic84d98650c1152ab0ad268b51bd060f714ace288 --- apps/plugins/bitmaps/native/SOURCES | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'apps/plugins/bitmaps/native/SOURCES') diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index 814845dc5b..cfc9ebcf6a 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES @@ -27,6 +27,44 @@ _2048_background.56x56x24.bmp #endif #undef MIN +/* amaze */ +#if defined(HAVE_LCD_COLOR) +#if LCD_WIDTH >= 220 || LCD_HEIGHT >= 220 +amaze_tiles_9.9x9x16.bmp +amaze_tiles_7.7x7x16.bmp +#elif LCD_WIDTH >= 160 || LCD_HEIGHT >= 160 +amaze_tiles_7.7x7x16.bmp +amaze_tiles_5.5x5x16.bmp +#else +amaze_tiles_5.5x5x16.bmp +amaze_tiles_3.3x3x16.bmp +#endif + +#elif LCD_DEPTH > 1 +#if LCD_WIDTH >= 220 || LCD_HEIGHT >= 220 +amaze_tiles_9.9x9x2.bmp +amaze_tiles_7.7x7x2.bmp +#elif LCD_WIDTH >= 160 || LCD_HEIGHT >= 160 +amaze_tiles_7.7x7x2.bmp +amaze_tiles_5.5x5x2.bmp +#else +amaze_tiles_5.5x5x2.bmp +amaze_tiles_3.3x3x2.bmp +#endif + +#else /* mono */ +#if LCD_WIDTH >= 220 || LCD_HEIGHT >= 220 +amaze_tiles_9.9x9x1.bmp +amaze_tiles_7.7x7x1.bmp +#elif LCD_WIDTH >= 160 || LCD_HEIGHT >= 160 +amaze_tiles_7.7x7x1.bmp +amaze_tiles_5.5x5x1.bmp +#else +amaze_tiles_5.5x5x1.bmp +amaze_tiles_3.3x3x1.bmp +#endif +#endif /* amaze */ + /* Brickmania */ #ifdef HAVE_LCD_COLOR #if LCD_WIDTH >= 112 -- cgit v1.2.3