icon is only needed when menu is used, so moved it accordingly into the
conditional compiled block
This commit is contained in:
parent
44a69a04af
commit
f9f0ac3ec2
|
@ -1,11 +1,10 @@
|
|||
|
||||
#include "../../menu/menu.h"
|
||||
|
||||
#ifdef MENU_SUPPORT
|
||||
static uint8_t icon[8] PROGMEM =
|
||||
{0x03, 0x03, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00}; /* our Icon */
|
||||
|
||||
|
||||
#ifdef MENU_SUPPORT
|
||||
game_descriptor_t invaders_game_descriptor __attribute__((section(".game_descriptors"))) ={
|
||||
&borg_breakout,
|
||||
icon,
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
// up, snake goes up, etc.
|
||||
#define GAME_SNAKE_NEWCONTROL
|
||||
|
||||
// MSB is leftmost pixel
|
||||
static uint8_t icon[8] PROGMEM =
|
||||
{0xff, 0x81, 0xbd, 0xa5, 0xa5, 0xad, 0xa1, 0xbf}; // Snake icon
|
||||
|
||||
void snake_game();
|
||||
|
||||
#ifdef MENU_SUPPORT
|
||||
// MSB is leftmost pixel
|
||||
static uint8_t icon[8] PROGMEM =
|
||||
{0xff, 0x81, 0xbd, 0xa5, 0xa5, 0xad, 0xa1, 0xbf}; // Snake icon
|
||||
|
||||
game_descriptor_t snake_game_descriptor __attribute__((section(".game_descriptors"))) ={
|
||||
&snake_game,
|
||||
icon,
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
//#include <stdio.h>
|
||||
|
||||
void borg_invaders();
|
||||
|
||||
#ifdef MENU_SUPPORT
|
||||
// MSB is leftmost pixel
|
||||
static uint8_t icon[8] PROGMEM =
|
||||
{0x66, 0x18, 0x3c, 0x5a, 0xff, 0xbd, 0xa5, 0x18}; // Invaders icon
|
||||
|
||||
void borg_invaders();
|
||||
|
||||
#ifdef MENU_SUPPORT
|
||||
game_descriptor_t invaders_game_descriptor __attribute__((section(".game_descriptors"))) ={
|
||||
&borg_invaders,
|
||||
icon,
|
||||
|
|
Loading…
Reference in New Issue