The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Enumerations
xbrz.cpp File Reference
#include "xbrz.hpp"
#include "config.hpp"
#include <cassert>
#include <cmath>
#include <algorithm>
#include "utils/functional.hpp"
Include dependency graph for xbrz.cpp:

Go to the source code of this file.

Macros

#define FORCE_INLINE   inline
 
#define DEF_GETTER(x)   template <RotationDegree rotDeg> uint32_t inline get_##x(const Kernel_3x3& ker) { return ker.x; }
 
#define DEF_GETTER(x, y)   template <> inline uint32_t get_##x<ROT_90>(const Kernel_3x3& ker) { return ker.y; }
 
#define DEF_GETTER(x, y)   template <> inline uint32_t get_##x<ROT_180>(const Kernel_3x3& ker) { return ker.y; }
 
#define DEF_GETTER(x, y)   template <> inline uint32_t get_##x<ROT_270>(const Kernel_3x3& ker) { return ker.y; }
 
#define a   get_a<rotDeg>(ker)
 
#define b   get_b<rotDeg>(ker)
 
#define c   get_c<rotDeg>(ker)
 
#define d   get_d<rotDeg>(ker)
 
#define e   get_e<rotDeg>(ker)
 
#define f   get_f<rotDeg>(ker)
 
#define g   get_g<rotDeg>(ker)
 
#define h   get_h<rotDeg>(ker)
 
#define i   get_i<rotDeg>(ker)
 

Enumerations

enum  RotationDegree
 
enum  BlendType
 

Macro Definition Documentation

typedef GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat a   get_a<rotDeg>(ker)

Definition at line 12732 of file glew.h.

typedef GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat b   get_b<rotDeg>(ker)

Definition at line 6976 of file glew.h.

typedef const GLfloat * c   get_c<rotDeg>(ker)

Definition at line 12743 of file glew.h.

Referenced by terrain_builder::add_constraints(), ai::lua_goal::add_targets(), BOOST_AUTO_TEST_CASE(), cave_map_generator::cave_map_generator_job::cave_map_generator_job(), ai::config_value_translator< terrain_filter >::cfg_to_value(), tokenizer::char_type(), characterization_distance_direction(), config::clear(), config::clear_children(), mp::chat::color_message(), help::convert_to_wml(), events::menu_handler::custom_command(), default_map_generator_job::default_generate_map(), font::escape_text(), gui2::tgame_load::evaluate_summary_string(), ai::find_component(), find_ref(), buffered_istream::get(), replay::get_data_range(), replay::get_last_real_command(), get_noise(), gamemap::get_terrain(), getcached(), GPU_GetPixel(), GPU_MakeColor(), GPU_Multiply4x4(), GPU_Rotate(), GPU_SetColor(), GPU_SetRGB(), GPU_SetRGBA(), GPU_SetTargetRGB(), GPU_SetTargetRGBA(), gui2::team_mode_controller::handle_stuff_list_selection(), campaignd::server::handle_upload(), config::hash(), intf_debug_ai(), theme::label::label(), llex(), ai_testing::log_turn(), luaF_newCclosure(), luaF_newLclosure(), luaL_loadfilex(), luaV_arith(), main(), MakeCurrent(), preferences::manager::manager(), markov_generate_name(), palette(), help::parse_text(), gui2::tformula_debugger::pre_show(), ai::component_manager::print_component_tree(), preprocessor_data::put(), rank_castle_location(), preprocessor_data::read_line(), preprocessor_data::read_rest_of_line(), read_string(), preprocessor_data::read_word(), events::map_command_handler< chat_command_handler >::register_command(), ai::typesafe_known_aspect< T >::set(), font::ttext::set_markup_helper(), team::set_objectives_changed(), editor::editor_map::set_starting_position_labels(), mp::options::manager::set_values(), events::menu_handler::show_chat_log(), skipBOM(), theme::status_item::status_item(), string2rgb(), t_translation::string_to_layer_(), attack_type::to_config(), tokenizer::tokenizer(), MD5::transform(), replay::undo_cut(), utils::urlencode(), and ai::variant_value_translator< terrain_filter >::variant_to_value().

#define d   get_d<rotDeg>(ker)
#define DEF_GETTER (   x)    template <RotationDegree rotDeg> uint32_t inline get_##x(const Kernel_3x3& ker) { return ker.x; }

Definition at line 635 of file xbrz.cpp.

#define DEF_GETTER (   x,
  y 
)    template <> inline uint32_t get_##x<ROT_90>(const Kernel_3x3& ker) { return ker.y; }

Definition at line 635 of file xbrz.cpp.

#define DEF_GETTER (   x,
  y 
)    template <> inline uint32_t get_##x<ROT_180>(const Kernel_3x3& ker) { return ker.y; }

Definition at line 635 of file xbrz.cpp.

#define DEF_GETTER (   x,
  y 
)    template <> inline uint32_t get_##x<ROT_270>(const Kernel_3x3& ker) { return ker.y; }

Definition at line 635 of file xbrz.cpp.

#define e   get_e<rotDeg>(ker)

Referenced by ai::lua_goal::add_targets(), editor::context_manager::apply_mask_dialog(), assignment(), wesnothd::async_send_doc(), wesnothd::ban_manager::ban(), wesnothd::server::bans_handler(), preferences::base_manager::base_manager(), BOOST_AUTO_TEST_CASE(), play_controller::check_time_over(), char_block_map::compress(), lua_map_generator::create_map(), editor::context_manager::create_mask_to_dialog(), ai::formula_ai::create_optional_formula(), lua_map_generator::create_scenario(), savegame::save_index_class::data(), decode(), do_gameloop(), do_interpolation(), ai::stage_unit_formulas::do_play_stage(), ai::stage_side_formulas::do_play_stage(), editor::editor_controller::do_screenshot(), wesnothd::server::dul_handler(), unit_abilities::effect::effect(), encode(), sp::enter_create_mode(), ai::formula_ai::evaluate(), game_logic::move_candidate_action::evaluate(), game_logic::attack_candidate_action::evaluate(), gui2::tlua_interpreter::lua_model::execute(), game_logic::base_candidate_action::execute_formula(), exp1(), savegame::savegame::finish_save_game(), forlist(), editor::editor_map::from_string(), game_info::game_info(), help::generate_contents(), editor::context_manager::generate_map_dialog(), get_addon_install_info(), get_addon_pbl_info(), mp::options::manager::get_component_cfg(), gui2::tminimap::get_image(), ai::register_engine_factory< ENGINE >::get_new_instance(), gmatch_aux(), GPU_PopErrorCode(), gui::scrollbar::handle_event(), wesnothd::server::handle_login(), wesnothd::server::handle_nickserv(), wesnothd::server::handle_player_in_game(), handle_preprocess_command(), ng::create_engine::init_all_levels(), ng::create_engine::init_generated_level_data(), game_launcher::init_lua_script(), basic_unit_filter_impl::internal_matches_filter(), game_launcher::launch_game(), wesnothd::ban_manager::list_bans(), wesnothd::ban_manager::list_deleted_bans(), ai::formula_ai::load_candidate_action_from_config(), font::load_font_config(), game_launcher::load_game(), game_config_manager::load_game_config(), image::load_image_sub_file(), editor::context_manager::load_map(), editor::map_context::load_scenario(), gui2::load_settings(), localstat(), lua_strx2number(), luaB_tonumber(), luaK_storevar(), luaL_findtable(), luaO_fb2int(), luaO_int2fb(), luaO_pushvfstring(), luaS_newudata(), luaW_pcall(), main(), editor::editor_controller::main_loop(), ng::depcheck::MAKE_ENUM(), editor::map_context::map_context(), side_filter::match_internal(), terrain_filter::match_internal(), matchbalance(), matches_simple_filter(), math_frexp(), gui2::tlobby_main::network_handler(), ai::formula_ai::on_create(), playsingle_controller::on_replay_end(), savegame::savegame::open_save_game(), wesnothd::handle_receive_doc< Handler, ErrorHandler >::operator()(), filesystem::ostream_file(), simple_wml::document::output(), wesnothd::ban_manager::parse_time(), campaign_controller::play_game(), game_launcher::play_multiplayer(), game_launcher::play_render_image_mode(), game_launcher::play_replay(), playsingle_controller::play_scenario(), mp::gamebrowser::populate_game_item_map_info(), wesnothd::server::process_command(), lobby_info::process_gamelist_diff(), mp::ui::process_network_data(), actions::undo_list::read(), gamemap::read(), wesnothd::ban_manager::read(), game_config::config_cache::read_cache(), wesnothd::server::read_config(), schema_validation::schema_validator::read_config_file(), savegame::read_save_file(), network::receive_data(), display::refresh_report(), retstat(), lua_kernel_base::run(), wesnothd::server::run(), campaignd::server::run(), savegame::savegame::save_game(), events::menu_handler::save_map(), editor::map_context::save_map(), wesnothd::game::save_replay(), editor::map_context::save_scenario(), scale_surface(), gui2::tlua_interpreter::input_model::search(), wesnothd::game::send_history(), wesnothd::server::send_password_request(), help::help_text_area::set_items(), ng::scenario::set_metadata(), help::show_help(), editor::start(), str_gsub(), SYNCED_COMMAND_HANDLER_FUNCTION(), gui2::tgame_version::tgame_version(), tinsert(), ai::readonly_context_impl::to_readonly_context_config(), wesnothd::ban_manager::unban(), unit::unit(), game_launcher::unit_test(), unpack(), lua_map_generator::user_config(), game_events::WML_HANDLER_FUNCTION(), editor::context_manager::write_map(), savegame::save_index_class::write_save_index(), editor::context_manager::write_scenario(), halo::halo_record::~halo_record(), save_blocker::~save_blocker(), and unit::~unit().

typedef GLfloat GLfloat GLfloat GLfloat GLfloat f   get_f<rotDeg>(ker)

Definition at line 5903 of file glew.h.

#define FORCE_INLINE   inline

Definition at line 191 of file xbrz.cpp.

typedef GLfloat GLfloat GLfloat GLfloat GLfloat g   get_g<rotDeg>(ker)
#define h   get_h<rotDeg>(ker)
#define i   get_i<rotDeg>(ker)

Enumeration Type Documentation

enum BlendType

Definition at line 546 of file xbrz.cpp.

Definition at line 195 of file xbrz.cpp.