halo.hpp File Reference

#include "map.hpp"
#include <set>
#include <string>

Include dependency graph for halo.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  halo

Classes

struct  halo::manager
struct  halo::remover

Enumerations

enum  halo::ORIENTATION { halo::NORMAL, halo::HREVERSE, halo::VREVERSE, halo::HVREVERSE }

Functions

int halo::add (int x, int y, const std::string &image, const gamemap::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< gamemap::location > invalidated_locations)
 Render and unrender haloes.
void halo::render ()

Variables

const int halo::NO_HALO = 0


Detailed Description

Definition in file halo.hpp.


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