hilldata
This commit is contained in:
parent
97d2e1913f
commit
5e728417aa
@ -9,14 +9,14 @@
|
|||||||
#include "kulle_7_png.hpp"
|
#include "kulle_7_png.hpp"
|
||||||
|
|
||||||
|
|
||||||
unsigned const char *hills[] = {
|
const HillData hills[] = {
|
||||||
kulle_0_png,
|
{kulle_0_png, kulle_0_png_length},
|
||||||
kulle_1_png,
|
{kulle_1_png, kulle_1_png_length},
|
||||||
kulle_2_png,
|
{kulle_2_png, kulle_2_png_length},
|
||||||
kulle_3_png,
|
{kulle_3_png, kulle_3_png_length},
|
||||||
kulle_4_png,
|
{kulle_4_png, kulle_4_png_length},
|
||||||
kulle_5_png,
|
{kulle_5_png, kulle_5_png_length},
|
||||||
kulle_6_png,
|
{kulle_6_png, kulle_6_png_length},
|
||||||
kulle_7_png,
|
{kulle_7_png, kulle_7_png_length},
|
||||||
};
|
};
|
||||||
extern const size_t hills_length = 8;
|
extern const size_t hills_length = 8;
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern unsigned const char *hills[];
|
|
||||||
|
struct HillData {
|
||||||
|
unsigned const char *data;
|
||||||
|
const size_t length;
|
||||||
|
};
|
||||||
|
extern const HillData hills[];
|
||||||
extern const size_t hills_length;
|
extern const size_t hills_length;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user