#include "exploder_utils.hpp"
#include "game_config.hpp"
#include "serialization/string_utils.hpp"
#include <png.h>
Go to the source code of this file.
Functions | |
std::string | get_mask_dir () |
std::string | get_exploder_dir () |
void | masked_overwrite_surface (surface dest, surface src, surface mask, int x, int y) |
bool | image_empty (surface surf) |
void | save_image (surface surf, const std::string &filename) |
std::string get_exploder_dir | ( | ) |
Definition at line 50 of file exploder_utils.cpp.
References game_config::path.
Referenced by cutter::find_configuration().
std::string get_mask_dir | ( | ) |
Definition at line 44 of file exploder_utils.cpp.
References game_config::path.
Referenced by cutter::load_masks().
bool image_empty | ( | surface | surf | ) |
Definition at line 133 of file exploder_utils.cpp.
References boost::foreach_detail_::end(), and surface_lock::pixels().
Referenced by composer::compose().
Definition at line 59 of file exploder_utils.cpp.
References surface_lock::pixels().
Referenced by composer::compose(), and main().
void save_image | ( | surface | surf, | |
const std::string & | filename | |||
) |
Definition at line 166 of file exploder_utils.cpp.
References file, surface_lock::pixels(), pos, exploder_rect::x, and exploder_rect::y.
Referenced by main().
Uint8 a |
Definition at line 161 of file exploder_utils.cpp.
Uint8 b |
Definition at line 160 of file exploder_utils.cpp.
Uint8 g |
Definition at line 159 of file exploder_utils.cpp.
Referenced by a_star_explore_neighbours(), adjust_surface_alpha(), adjust_surface_alpha_add(), adjust_surface_colour(), playsingle_controller::before_human_turn(), blend_surface(), brighten_image(), unit_type::build_help_index(), create_cursor(), darken_image(), server::delete_game(), ai::do_move(), greyscale_image(), theme::label::label(), mask_surface(), server::process_command(), server::process_data_game(), server::process_data_lobby(), server::process_login(), server::process_whisper(), server::run(), scale_surface(), scale_surface_blended(), and theme::status_item::status_item().
Uint8 r |
Definition at line 158 of file exploder_utils.cpp.
Referenced by game_config::add_color_info(), add_font_to_fontlist(), add_relation(), adjust_surface_alpha(), adjust_surface_alpha_add(), adjust_surface_colour(), blend_surface(), brighten_image(), terrain_builder::build_terrains(), cave_map_generator::cave_map_generator(), create_cursor(), darken_image(), default_generate_map(), draw_centered_on_background(), game_display::draw_game_status(), game_display::draw_minimap_units(), game_display::draw_sidebar(), dfool::arithmetic_evaluator::evaluate_tokens(), fill_rect_alpha(), display::flip(), display::get_visible_hex_bounds(), image::getMinimap(), greyscale_image(), game_display::highlight_another_reach(), gui::scrollarea::inner_location(), theme::label::label(), mask_surface(), events::menu_handler::redo(), events::map_command_handler< events::console_handler >::register_command(), remove_relation(), scale_surface(), scale_surface_blended(), display::scroll(), display::scroll_to_tiles(), gui::slider::set_location(), theme::status_item::status_item(), map_editor::update_l_button_palette(), gui::scrollbar::update_location(), and gui::scrollarea::update_location().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |