diff options
author | Franklin Wei <frankhwei536@gmail.com> | 2014-09-03 19:16:37 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-04-24 17:37:58 -0400 |
commit | 6efd7f8f3e4a9de578646c77c7527c54b3c8e557 (patch) | |
tree | 97bff19881dfc7db5b87801ccf74d07cc24d12cb /apps/plugins/bitmaps | |
parent | 2dbf26f11aff960ddac01fb625d857e2d1e42263 (diff) | |
download | rockbox-6efd7f8f3e4a9de578646c77c7527c54b3c8e557.tar.gz rockbox-6efd7f8f3e4a9de578646c77c7527c54b3c8e557.zip |
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
Diffstat (limited to 'apps/plugins/bitmaps')
-rw-r--r-- | apps/plugins/bitmaps/native/SOURCES | 38 | ||||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_3.3x3x1.bmp | bin | 0 -> 182 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_3.3x3x16.bmp | bin | 0 -> 414 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_3.3x3x2.bmp | bin | 0 -> 1198 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_5.5x5x1.bmp | bin | 0 -> 262 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_5.5x5x16.bmp | bin | 0 -> 854 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_5.5x5x2.bmp | bin | 0 -> 270 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_7.7x7x1.bmp | bin | 0 -> 342 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_7.7x7x16.bmp | bin | 0 -> 1734 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_7.7x7x2.bmp | bin | 0 -> 1638 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_9.9x9x1.bmp | bin | 0 -> 422 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_9.9x9x16.bmp | bin | 0 -> 2574 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/amaze_tiles_9.9x9x2.bmp | bin | 0 -> 2158 bytes |
13 files changed, 38 insertions, 0 deletions
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 | |||
27 | #endif | 27 | #endif |
28 | #undef MIN | 28 | #undef MIN |
29 | 29 | ||
30 | /* amaze */ | ||
31 | #if defined(HAVE_LCD_COLOR) | ||
32 | #if LCD_WIDTH >= 220 || LCD_HEIGHT >= 220 | ||
33 | amaze_tiles_9.9x9x16.bmp | ||
34 | amaze_tiles_7.7x7x16.bmp | ||
35 | #elif LCD_WIDTH >= 160 || LCD_HEIGHT >= 160 | ||
36 | amaze_tiles_7.7x7x16.bmp | ||
37 | amaze_tiles_5.5x5x16.bmp | ||
38 | #else | ||
39 | amaze_tiles_5.5x5x16.bmp | ||
40 | amaze_tiles_3.3x3x16.bmp | ||
41 | #endif | ||
42 | |||
43 | #elif LCD_DEPTH > 1 | ||
44 | #if LCD_WIDTH >= 220 || LCD_HEIGHT >= 220 | ||
45 | amaze_tiles_9.9x9x2.bmp | ||
46 | amaze_tiles_7.7x7x2.bmp | ||
47 | #elif LCD_WIDTH >= 160 || LCD_HEIGHT >= 160 | ||
48 | amaze_tiles_7.7x7x2.bmp | ||
49 | amaze_tiles_5.5x5x2.bmp | ||
50 | #else | ||
51 | amaze_tiles_5.5x5x2.bmp | ||
52 | amaze_tiles_3.3x3x2.bmp | ||
53 | #endif | ||
54 | |||
55 | #else /* mono */ | ||
56 | #if LCD_WIDTH >= 220 || LCD_HEIGHT >= 220 | ||
57 | amaze_tiles_9.9x9x1.bmp | ||
58 | amaze_tiles_7.7x7x1.bmp | ||
59 | #elif LCD_WIDTH >= 160 || LCD_HEIGHT >= 160 | ||
60 | amaze_tiles_7.7x7x1.bmp | ||
61 | amaze_tiles_5.5x5x1.bmp | ||
62 | #else | ||
63 | amaze_tiles_5.5x5x1.bmp | ||
64 | amaze_tiles_3.3x3x1.bmp | ||
65 | #endif | ||
66 | #endif /* amaze */ | ||
67 | |||
30 | /* Brickmania */ | 68 | /* Brickmania */ |
31 | #ifdef HAVE_LCD_COLOR | 69 | #ifdef HAVE_LCD_COLOR |
32 | #if LCD_WIDTH >= 112 | 70 | #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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x1.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x16.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_3.3x3x2.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x1.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x16.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_5.5x5x2.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x1.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x16.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_7.7x7x2.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x1.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x16.bmp | |||
Binary files 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 --- /dev/null +++ b/apps/plugins/bitmaps/native/amaze_tiles_9.9x9x2.bmp | |||
Binary files differ | |||