hills
This commit is contained in:
@@ -11,6 +11,10 @@ find_package(SDL2 CONFIG REQUIRED)
|
||||
find_package(SDL2_ttf CONFIG REQUIRED)
|
||||
find_package(CURL REQUIRED)
|
||||
|
||||
|
||||
file(GLOB KULLE_SRC src/data/kulle_*_png.cpp)
|
||||
file(GLOB KULLE_HEADER src/data/kulle_*_png.hpp)
|
||||
|
||||
add_executable(hang_man src/main.cpp
|
||||
src/Game.cpp
|
||||
src/Game.hpp
|
||||
@@ -22,6 +26,10 @@ add_executable(hang_man src/main.cpp
|
||||
src/GuessCorrector.hpp
|
||||
src/default_font.cpp
|
||||
src/default_font.hpp
|
||||
${KULLE_SRC}
|
||||
${KULLE_HEADER}
|
||||
src/data/hills.cpp
|
||||
src/data/hills.hpp
|
||||
)
|
||||
|
||||
target_link_libraries(hang_man PRIVATE
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#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"
|
||||
|
||||
|
||||
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,
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
extern unsigned const char *hills[];
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
extern const unsigned char kulle_0_png[];
|
||||
extern const size_t kulle_0_png_length;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
extern const unsigned char kulle_1_png[];
|
||||
extern const size_t kulle_1_png_length;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
extern const unsigned char kulle_2_png[];
|
||||
extern const size_t kulle_2_png_length;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
extern const unsigned char kulle_3_png[];
|
||||
extern const size_t kulle_3_png_length;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
extern const unsigned char kulle_4_png[];
|
||||
extern const size_t kulle_4_png_length;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
extern const unsigned char kulle_5_png[];
|
||||
extern const size_t kulle_5_png_length;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
extern const unsigned char kulle_6_png[];
|
||||
extern const size_t kulle_6_png_length;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
extern const unsigned char kulle_7_png[];
|
||||
extern const size_t kulle_7_png_length;
|
||||
Reference in New Issue
Block a user