hilldata
This commit is contained in:
		@@ -9,14 +9,14 @@
 | 
			
		||||
#include "kulle_7_png.hpp"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
unsigned const char *hills[] = {
 | 
			
		||||
        kulle_0_png,
 | 
			
		||||
        kulle_1_png,
 | 
			
		||||
        kulle_2_png,
 | 
			
		||||
        kulle_3_png,
 | 
			
		||||
        kulle_4_png,
 | 
			
		||||
        kulle_5_png,
 | 
			
		||||
        kulle_6_png,
 | 
			
		||||
        kulle_7_png,
 | 
			
		||||
const HillData hills[] = {
 | 
			
		||||
        {kulle_0_png, kulle_0_png_length},
 | 
			
		||||
        {kulle_1_png, kulle_1_png_length},
 | 
			
		||||
        {kulle_2_png, kulle_2_png_length},
 | 
			
		||||
        {kulle_3_png, kulle_3_png_length},
 | 
			
		||||
        {kulle_4_png, kulle_4_png_length},
 | 
			
		||||
        {kulle_5_png, kulle_5_png_length},
 | 
			
		||||
        {kulle_6_png, kulle_6_png_length},
 | 
			
		||||
        {kulle_7_png, kulle_7_png_length},
 | 
			
		||||
};
 | 
			
		||||
extern const size_t hills_length = 8;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,9 @@
 | 
			
		||||
#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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user