restructure

This commit is contained in:
Love 2024-08-04 15:33:41 +02:00
parent 5e728417aa
commit 5e9082b327
18 changed files with 36 additions and 66 deletions

View File

@ -1,13 +1,4 @@
#include "hills.hpp"
#include "kulle_0_png.hpp"
#include "kulle_1_png.hpp"
#include "kulle_2_png.hpp"
#include "kulle_3_png.hpp"
#include "kulle_4_png.hpp"
#include "kulle_5_png.hpp"
#include "kulle_6_png.hpp"
#include "kulle_7_png.hpp"
const HillData hills[] = {
{kulle_0_png, kulle_0_png_length},

View File

@ -1,9 +1,37 @@
#pragma once
#include <cstddef>
extern const unsigned char kulle_0_png[];
extern const size_t kulle_0_png_length;
extern const unsigned char kulle_1_png[];
extern const size_t kulle_1_png_length;
extern const unsigned char kulle_2_png[];
extern const size_t kulle_2_png_length;
extern const unsigned char kulle_3_png[];
extern const size_t kulle_3_png_length;
extern const unsigned char kulle_4_png[];
extern const size_t kulle_4_png_length;
extern const unsigned char kulle_5_png[];
extern const size_t kulle_5_png_length;
extern const unsigned char kulle_6_png[];
extern const size_t kulle_6_png_length;
extern const unsigned char kulle_7_png[];
extern const size_t kulle_7_png_length;
struct HillData {
unsigned const char *data;
const size_t length;
};
extern const HillData hills[];
extern const size_t hills_length;

View File

@ -1,4 +1,4 @@
#include "kulle_0_png.hpp"
#include "hills.hpp"
const unsigned char kulle_0_png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -1,6 +0,0 @@
#pragma once
#include <cstddef>
extern const unsigned char kulle_0_png[];
extern const size_t kulle_0_png_length;

View File

@ -1,4 +1,4 @@
#include "kulle_1_png.hpp"
#include "hills.hpp"
const unsigned char kulle_1_png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -1,6 +0,0 @@
#pragma once
#include <cstddef>
extern const unsigned char kulle_1_png[];
extern const size_t kulle_1_png_length;

View File

@ -1,4 +1,4 @@
#include "kulle_2_png.hpp"
#include "hills.hpp"
const unsigned char kulle_2_png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -1,6 +0,0 @@
#pragma once
#include <cstddef>
extern const unsigned char kulle_2_png[];
extern const size_t kulle_2_png_length;

View File

@ -1,5 +1,4 @@
// This is the bytes of .\Kulle3.png
#include "kulle_3_png.hpp"
#include "hills.hpp"
const unsigned char kulle_3_png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -1,6 +0,0 @@
#pragma once
#include <cstddef>
extern const unsigned char kulle_3_png[];
extern const size_t kulle_3_png_length;

View File

@ -1,4 +1,4 @@
#include "kulle_4_png.hpp"
#include "hills.hpp"
const unsigned char kulle_4_png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -1,6 +0,0 @@
#pragma once
#include <cstddef>
extern const unsigned char kulle_4_png[];
extern const size_t kulle_4_png_length;

View File

@ -1,4 +1,4 @@
#include "kulle_5_png.hpp"
#include "hills.hpp"
const unsigned char kulle_5_png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -1,6 +0,0 @@
#pragma once
#include <cstddef>
extern const unsigned char kulle_5_png[];
extern const size_t kulle_5_png_length;

View File

@ -1,4 +1,4 @@
#include "kulle_6_png.hpp"
#include "hills.hpp"
const unsigned char kulle_6_png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -1,6 +0,0 @@
#pragma once
#include <cstddef>
extern const unsigned char kulle_6_png[];
extern const size_t kulle_6_png_length;

View File

@ -1,4 +1,4 @@
#include "kulle_7_png.hpp"
#include "hills.hpp"
const unsigned char kulle_7_png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -1,6 +0,0 @@
#pragma once
#include <cstddef>
extern const unsigned char kulle_7_png[];
extern const size_t kulle_7_png_length;