71 lines
4.2 KiB
C++
71 lines
4.2 KiB
C++
#ifndef HOLESOME_LEVELS_HPP
|
|
#define HOLESOME_LEVELS_HPP
|
|
|
|
#include <string>
|
|
#include <map>
|
|
#include "game/level/level_config.hpp"
|
|
|
|
#define INITIAL_LEVEL "default"
|
|
|
|
std::map<std::string, LevelConfig> const all_levels = {
|
|
{"default", LevelConfig("Default",
|
|
30,
|
|
{
|
|
{0, 0},
|
|
{18, 18},
|
|
{0, 18},
|
|
{18, 0}
|
|
}, {
|
|
CollectableInLevel("rose", {3, 5}),
|
|
CollectableInLevel("rosebush", {4, 5}),
|
|
CollectableInLevel("stone", {10, 6}),
|
|
CollectableInLevel("bike", {2, 8}),
|
|
CollectableInLevel("rose", {1, 2}),
|
|
CollectableInLevel("small-tree", {4, 3}),
|
|
CollectableInLevel("rose", {8, 3}),
|
|
CollectableInLevel("lantern", {6, 7}),
|
|
CollectableInLevel("rose", {5, 5}),
|
|
CollectableInLevel("tram", {9, 5}),
|
|
CollectableInLevel("rose", {0, 1})
|
|
},
|
|
{
|
|
// Blues
|
|
sf::Color(2, 100, 234),
|
|
sf::Color(2, 100, 234),
|
|
sf::Color(2, 100, 234),
|
|
sf::Color(2, 195, 234),
|
|
|
|
// Neutral
|
|
sf::Color::White,
|
|
|
|
// Browns
|
|
sf::Color(163, 128, 68),
|
|
sf::Color(100, 80, 40),
|
|
sf::Color(20, 18, 11),
|
|
sf::Color::Black
|
|
},
|
|
TileMapConfig("iso-tiles", {
|
|
{4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
|
|
{4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
|
|
{4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
|
|
{4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
|
|
{4, 4, 4,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