minimap.hpp

Go to the documentation of this file.
00001 /* $Id: minimap.hpp 23842 2008-02-16 08:47:16Z mordante $ */
00002 /*
00003    Copyright (C) 2003 - 2008 by David White <dave@whitevine.net>
00004    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License version 2
00008    or at your option any later version.
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY.
00011 
00012    See the COPYING file for more details.
00013 */
00014 #ifndef MINIMAP_HPP_INCLUDED
00015 #define MINIMAP_HPP_INCLUDED
00016 
00017 #include "map.hpp"
00018 #include "sdl_utils.hpp"
00019 
00020 
00021 class team;
00022 
00023 namespace image {
00024     ///function to create the minimap for a given map
00025     ///the surface returned must be freed by the user
00026     surface getMinimap(int w, int h, const gamemap& map_, const viewpoint* vm=NULL);
00027 }
00028 
00029 #endif

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs