mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 01:47:13 +00:00

These are mostly useless and outdated/wrong, but apparently it's probably illegal to remove them.
33 lines
949 B
C++
33 lines
949 B
C++
/*
|
|
Copyright (C) 2003 - 2021
|
|
by David White <dave@whitevine.net>
|
|
Part of the Battle for Wesnoth Project https://www.wesnoth.org/
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY.
|
|
|
|
See the COPYING file for more details.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <map>
|
|
|
|
class gamemap;
|
|
class surface;
|
|
class team;
|
|
struct map_location;
|
|
|
|
namespace image {
|
|
/**
|
|
* function to create the minimap for a given map
|
|
* the surface returned must be freed by the user
|
|
*/
|
|
surface getMinimap(int w, int h, const gamemap &map_, const team *vm = nullptr, const std::map<map_location,unsigned int> *reach_map = nullptr, bool ignore_terrain_disabled = false);
|
|
}
|