15 #define GETTEXT_DOMAIN "wesnoth-test"
25 #include <boost/make_shared.hpp>
71 dummy_tod_(dummy_cfg_),
72 main_event_context_(),
73 disp_(dummy_board_, video_,
boost::shared_ptr<
wb::manager> (), dummy_reports, dummy_tod_,
74 dummy_cfg_, dummy_cfg_)
88 if(width >= 0 && height >= 0) {
game_display & get_display()
game_display & get_fake_display(const int width, const int height)
Gets a fake test display.
static fake_display_manager * get_manager()
Unit and team statistics.
static fake_display_manager * manager_
GLint GLint GLint GLint GLint GLint GLsizei GLsizei height
CVideo & video()
Gets the underlying screen object.
void make_test_fake(const unsigned width=1024, const unsigned height=768, const unsigned bpp=DefaultBpp)
Creates a fake frame buffer for the unit tests.
GLint GLint GLint GLint GLint GLint GLsizei width
const events::event_context main_event_context_
A config object defines a single node in a WML file, with access to child nodes.