35 namespace halo {
class manager; }
52 const std::vector<team> &
teams;
70 void redraw_unit(
const unit & u)
const;
74 void draw_bar(
const std::string&
image,
int xpos,
int ypos,
75 const map_location& loc, std::size_t height,
double filled,
83 const SDL_Rect& calculate_energy_bar(
surface surf)
const;
This class represents a single unit of a specific type.
const team & playing_team_ref
This class stores all the data for a single 'side' (in game nomenclature).
Encapsulates the map of the game.
General math utility functions.
const std::vector< team > & teams
std::set< map_location > units_that_can_reach_goal
Encapsulates the map of the game.
const team & viewing_team_ref
const display_context & dc
Functions to load and save images from/to disk.