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
This commit is contained in:
Franklin Wei 2014-09-03 19:16:37 -04:00 committed by Solomon Peachy
parent 2dbf26f11a
commit 6efd7f8f3e
26 changed files with 1893 additions and 0 deletions

View file

@ -2,6 +2,7 @@
alpine_cdc,apps
alarmclock,apps
announce_status,demos
amaze,games
autostart,apps
battery_bench,apps
bench_scaler,apps

View file

@ -112,6 +112,7 @@ pictureflow.c
metronome.c
2048.c
amaze.c
/* Lua needs at least 160 KB to work in */
#if PLUGIN_BUFFER_SIZE >= 0x80000

1620
apps/plugins/amaze.c Normal file

File diff suppressed because it is too large Load diff

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB