#include "exploder_utils.hpp"
#include "game_config.hpp"
#include "serialization/string_utils.hpp"
#include <png.h>
#include <zlib.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 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.