Go to the source code of this file.
Classes | |
struct | exploder_failure |
struct | exploder_point |
struct | exploder_rect |
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 53 of file exploder_utils.cpp.
References game_config::path.
Referenced by cutter::find_configuration().
std::string get_mask_dir | ( | ) |
Definition at line 47 of file exploder_utils.cpp.
References game_config::path.
Referenced by cutter::load_masks().
bool image_empty | ( | surface | surf | ) |
Definition at line 136 of file exploder_utils.cpp.
References surface_lock::pixels().
Referenced by composer::compose().
Definition at line 62 of file exploder_utils.cpp.
References i, and surface_lock::pixels().
Referenced by composer::compose(), and main().
void save_image | ( | surface | surf, |
const std::string & | filename | ||
) |
Definition at line 169 of file exploder_utils.cpp.
References surface_lock::pixels(), and pos.