Split game code and tests into focused modules
This commit is contained in:
20 files changed
+2611
-2431
No files matched your search
@@ -2,7 +2,7 @@
|
||||
#define WILD_CREATURES_H
|
||||
|
||||
/* Original 24x24 pixel art. Dots are transparent; digits select colors. */
|
||||
static const char *const fernfox_art[] = {
|
||||
TEST_INTERNAL const char *const fernfox_art[] = {
|
||||
"........................",
|
||||
"....1.............1.....",
|
||||
"...131...........131....",
|
||||
@@ -29,7 +29,7 @@ static const char *const fernfox_art[] = {
|
||||
".......1...1...1........"
|
||||
};
|
||||
|
||||
static const char *const emberwing_art[] = {
|
||||
TEST_INTERNAL const char *const emberwing_art[] = {
|
||||
".......11.......11......",
|
||||
"......1411.....1141.....",
|
||||
"....1121111...111211....",
|
||||
@@ -56,7 +56,7 @@ static const char *const emberwing_art[] = {
|
||||
"........................"
|
||||
};
|
||||
|
||||
static const char *const pebblit_art[] = {
|
||||
TEST_INTERNAL const char *const pebblit_art[] = {
|
||||
"........................",
|
||||
"..............1.........",
|
||||
".......1.....161........",
|
||||
@@ -96,8 +96,7 @@ static const u16 pebblit_palette[] = {
|
||||
RGB(9, 23, 26), RGB(26, 31, 30), RGB(11, 11, 15), RGB(18, 25, 28)
|
||||
};
|
||||
|
||||
struct WildArt { const char *const *rows; const u16 *palette; };
|
||||
static const struct WildArt wild_art[] = {
|
||||
TEST_INTERNAL const struct WildArt wild_art[] = {
|
||||
{fernfox_art, fernfox_palette},
|
||||
{emberwing_art, emberwing_palette},
|
||||
{pebblit_art, pebblit_palette}
|
||||
|
||||
Reference in new issue
Block a user