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 +++++++++++++++++++++ .../plugins/bitmaps/native/amaze_tiles_3.3x3x1.bmp | Bin 0 -> 182 bytes .../bitmaps/native/amaze_tiles_3.3x3x16.bmp | Bin 0 -> 414 bytes .../plugins/bitmaps/native/amaze_tiles_3.3x3x2.bmp | Bin 0 -> 1198 bytes .../plugins/bitmaps/native/amaze_tiles_5.5x5x1.bmp | Bin 0 -> 262 bytes .../bitmaps/native/amaze_tiles_5.5x5x16.bmp | Bin 0 -> 854 bytes .../plugins/bitmaps/native/amaze_tiles_5.5x5x2.bmp | Bin 0 -> 270 bytes .../plugins/bitmaps/native/amaze_tiles_7.7x7x1.bmp | Bin 0 -> 342 bytes .../bitmaps/native/amaze_tiles_7.7x7x16.bmp | Bin 0 -> 1734 bytes .../plugins/bitmaps/native/amaze_tiles_7.7x7x2.bmp | Bin 0 -> 1638 bytes .../plugins/bitmaps/native/amaze_tiles_9.9x9x1.bmp | Bin 0 -> 422 bytes .../bitmaps/native/amaze_tiles_9.9x9x16.bmp | Bin 0 -> 2574 bytes .../plugins/bitmaps/native/amaze_tiles_9.9x9x2.bmp | Bin 0 -> 2158 bytes 13 files changed, 38 insertions(+) create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_3.3x3x1.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_3.3x3x16.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_3.3x3x2.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_5.5x5x1.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_5.5x5x16.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_5.5x5x2.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_7.7x7x1.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_7.7x7x16.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_7.7x7x2.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_9.9x9x1.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_9.9x9x16.bmp create mode 100644 apps/plugins/bitmaps/native/amaze_tiles_9.9x9x2.bmp (limited to 'apps/plugins/bitmaps/native') 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 diff --git a/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x1.bmp b/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x1.bmp new file mode 100644 index 0000000000..66418779de Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x1.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x16.bmp b/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x16.bmp new file mode 100644 index 0000000000..930d4c62fc Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x16.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x2.bmp b/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x2.bmp new file mode 100644 index 0000000000..504525b7f4 Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x2.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x1.bmp b/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x1.bmp new file mode 100644 index 0000000000..d5973cfc5e Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x1.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x16.bmp b/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x16.bmp new file mode 100644 index 0000000000..7ec316df6a Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x16.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x2.bmp b/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x2.bmp new file mode 100644 index 0000000000..e06075310e Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x2.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x1.bmp b/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x1.bmp new file mode 100644 index 0000000000..820f5a873b Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x1.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x16.bmp b/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x16.bmp new file mode 100644 index 0000000000..e9d6bc5086 Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x16.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x2.bmp b/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x2.bmp new file mode 100644 index 0000000000..2e8e76593b Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x2.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x1.bmp b/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x1.bmp new file mode 100644 index 0000000000..0f2212e7e5 Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x1.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x16.bmp b/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x16.bmp new file mode 100644 index 0000000000..0188dd9726 Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x16.bmp differ diff --git a/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x2.bmp b/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x2.bmp new file mode 100644 index 0000000000..f095368d30 Binary files /dev/null and b/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x2.bmp differ -- cgit v1.2.3