|
std::ostream & | image::operator<< (std::ostream &s, const locator &l) |
|
light_string | image::get_light_string (int op, int r, int g, int b) |
| Returns the light_string for one light operation. More...
|
|
void | image::flush_cache () |
| Purges all image caches. More...
|
|
void | image::set_color_adjustment (int r, int g, int b) |
| Changes Time of Day color tint for all applicable image types. More...
|
|
surface | image::get_surface (const locator &i_locator, TYPE type=UNSCALED, bool skip_cache=false) |
| Returns an image surface suitable for software manipulation. More...
|
|
texture | image::get_texture (const locator &i_locator, TYPE type=UNSCALED, bool skip_cache=false) |
| Returns an image texture suitable for hardware-accelerated rendering. More...
|
|
texture | image::get_texture (const image::locator &i_locator, scale_quality quality, TYPE type, bool skip_cache) |
| Returns a texture for the corresponding image. More...
|
|
surface | image::get_lighted_image (const image::locator &i_locator, const light_string &ls) |
| Caches and returns an image with a lightmap applied to it. More...
|
|
texture | image::get_lighted_texture (const image::locator &i_locator, const light_string &ls) |
|
surface | image::get_hexmask () |
| Retrieves the standard hexagonal tile mask. More...
|
|
point | image::get_size (const locator &i_locator, bool skip_cache=false) |
| Returns the width and height of an image. More...
|
|
bool | image::is_in_hex (const locator &i_locator) |
| Checks if an image fits into a single hex. More...
|
|
bool | image::is_empty_hex (const locator &i_locator) |
| Checks if an image is empty after hex masking. More...
|
|
bool | image::exists (const locator &i_locator) |
| Returns true if the given image actually exists, without loading it. More...
|
|
void | image::precache_file_existence (const std::string &subdir="") |
| Precache the existence of files in a binary path subdirectory (e.g. More...
|
|
bool | image::precached_file_exists (const std::string &file) |
|
save_result | image::save_image (const locator &i_locator, const std::string &filename) |
|
save_result | image::save_image (const surface &surf, const std::string &filename) |
|