Maintain halo-effects for units and items. More...
#include "global.hpp"#include "animated.hpp"#include "display.hpp"#include "game_preferences.hpp"#include "halo.hpp"#include "serialization/string_utils.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | halo |
Functions | |
| int | halo::add (int x, int y, const std::string &image, const map_location &loc, ORIENTATION orientation=NORMAL, bool infinite=true) |
| Add a haloing effect using 'image centered on (x,y). | |
| void | halo::set_location (int handle, int x, int y) |
| Set the position of an existing haloing effect, according to its handle. | |
| void | halo::remove (int handle) |
| Remove the halo with the given handle. | |
| void | halo::unrender (std::set< map_location > invalidated_locations) |
| Render and unrender haloes. | |
| void | halo::render () |
Maintain halo-effects for units and items.
Examples: white mage, lighthouse.
Definition in file halo.cpp.
| ORIENTATION orientation_ |
| std::vector<map_location> overlayed_hexes_ |
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:05:21 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |