17 #ifndef HALO_HPP_INCLUDED
18 #define HALO_HPP_INCLUDED
24 #include <boost/noncopyable.hpp>
25 #include <boost/shared_ptr.hpp>
26 #include <boost/weak_ptr.hpp>
63 void remove(
const handle &
h);
71 void unrender(std::set<map_location> invalidated_locations);
GLint GLint GLint GLint GLint GLint y
halo_record()
halo::halo_record implementation
boost::weak_ptr< halo_impl > my_manager_
boost::shared_ptr< halo_impl > impl_
handle add(int x, int y, const std::string &image, const map_location &loc, halo::ORIENTATION orientation=NORMAL, bool infinite=true)
Add a haloing effect using 'image centered on (x,y).
Encapsulates the map of the game.
GLfloat GLfloat GLfloat GLfloat h
void unrender(std::set< map_location > invalidated_locations)
Render and unrender haloes.
GLint GLint GLint GLint GLint x
void set_location(const handle &h, int x, int y)
Set the position of an existing haloing effect, according to its handle.
this module manages the cache of images.
RAII object which manages a halo.
GLsizei const GLcharARB ** string
boost::shared_ptr< halo_record > handle