reports.hpp File Reference

#include <set>
#include <string>
#include <vector>
#include "image.hpp"
#include "team.hpp"

Include dependency graph for reports.hpp:

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

Go to the source code of this file.

Namespaces

namespace  reports

Classes

struct  reports::element
struct  reports::report

Enumerations

enum  reports::TYPE {
  reports::UNIT_NAME, reports::UNIT_TYPE, reports::UNIT_RACE, reports::UNIT_LEVEL,
  reports::UNIT_SIDE, reports::UNIT_AMLA, reports::UNIT_TRAITS, reports::UNIT_STATUS,
  reports::UNIT_ALIGNMENT, reports::UNIT_ABILITIES, reports::UNIT_HP, reports::UNIT_XP,
  reports::UNIT_ADVANCEMENT_OPTIONS, reports::UNIT_MOVES, reports::UNIT_WEAPONS, reports::UNIT_IMAGE,
  reports::UNIT_PROFILE, reports::TIME_OF_DAY, reports::TURN, reports::GOLD,
  reports::VILLAGES, reports::NUM_UNITS, reports::UPKEEP, reports::EXPENSES,
  reports::INCOME, reports::TERRAIN, reports::POSITION, reports::SIDE_PLAYING,
  reports::OBSERVERS, reports::REPORT_COUNTDOWN, reports::REPORT_CLOCK, reports::SELECTED_TERRAIN,
  reports::EDIT_LEFT_BUTTON_FUNCTION, reports::NUM_REPORTS
}
enum  { reports::UNIT_REPORTS_BEGIN = UNIT_NAME, reports::UNIT_REPORTS_END = UNIT_PROFILE+1 }
enum  { reports::STATUS_REPORTS_BEGIN = TIME_OF_DAY, reports::STATUS_REPORTS_END = NUM_REPORTS }

Functions

const std::string & reports::report_name (TYPE type)
report reports::generate_report (TYPE type, std::map< reports::TYPE, std::string > report_contents, const gamemap &map, unit_map &units, const std::vector< team > &teams, const team &current_team, unsigned int current_side, int unsigned active_side, const gamemap::location &loc, const gamemap::location &mouseover, const gamemap::location &displayed_unit_hex, const gamestatus &status, const std::set< std::string > &observers, const config &level)


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