Functions

tools/exploder_utils.cpp File Reference

#include "exploder_utils.hpp"
#include "game_config.hpp"
#include "serialization/string_utils.hpp"
#include <png.h>
#include <zlib.h>
Include dependency graph for exploder_utils.cpp:

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)

Function Documentation

std::string get_exploder_dir (  ) 

Definition at line 54 of file exploder_utils.cpp.

References game_config::path.

Referenced by cutter::find_configuration().

Here is the caller graph for this function:

std::string get_mask_dir (  ) 

Definition at line 48 of file exploder_utils.cpp.

References game_config::path.

Referenced by cutter::load_masks().

Here is the caller graph for this function:

bool image_empty ( surface  surf  ) 

Definition at line 137 of file exploder_utils.cpp.

References surface_lock::pixels().

Referenced by composer::compose().

Here is the call graph for this function:

Here is the caller graph for this function:

void masked_overwrite_surface ( surface  dest,
surface  src,
surface  mask,
int  x,
int  y 
)

Definition at line 63 of file exploder_utils.cpp.

References surface_lock::pixels().

Referenced by composer::compose(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

void save_image ( surface  surf,
const std::string &  filename 
)

Definition at line 170 of file exploder_utils.cpp.

References surface_lock::pixels(), and pos.

Referenced by create_image_base(), create_image_blend_functor(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:11:55 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs