コード例 #1
0
ファイル: display.hpp プロジェクト: gb056/wesnoth
	bool show_everything() const { return !dont_show_all_ && !is_blindfolded(); }
コード例 #2
0
ファイル: display.hpp プロジェクト: gaconkzk/wesnoth
	bool show_everything() const { return !viewpoint_ && !is_blindfolded(); }
コード例 #3
0
ファイル: display.hpp プロジェクト: gb056/wesnoth
	/** Returns true if location (x,y) is covered in fog. */
	bool fogged(const map_location& loc) const {
		return is_blindfolded() || (dont_show_all_ && dc_->teams()[currentTeam_].fogged(loc));
	}
コード例 #4
0
ファイル: display.hpp プロジェクト: gaconkzk/wesnoth
	/** Returns true if location (x,y) is covered in fog. */
	bool fogged(const map_location& loc) const {
		return is_blindfolded() || (viewpoint_ && viewpoint_->fogged(loc));
	}