From 986ca13bdbc90bccf8c3e7c05e5c809dea1551fc Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 28 Jan 2012 15:54:57 +0000 Subject: Added function to write savegame screenshots, moved client notification from the individual image loaders to the screenshot function. --- src/render/pngfile.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/render/pngfile.cc') diff --git a/src/render/pngfile.cc b/src/render/pngfile.cc index da786ec..70833f3 100644 --- a/src/render/pngfile.cc +++ b/src/render/pngfile.cc @@ -20,7 +20,6 @@ http://www.zarb.org/~gc/html/libpng.html #include "sys/sys.h" #include "filesystem/filesystem.h" #include "render/pngfile.h" -#include "core/application.h" namespace render { @@ -194,11 +193,6 @@ void PNG::save(const char *filename, Image & image) fclose(png_file); png_destroy_write_struct(&png_ptr, &info_ptr); - //con_print << "Wrote " << filename << std::endl; - std::string message; - message.assign("Wrote "); - message.append(filename); - core::application()->notify_message(core::Message::Info, message); } } -- cgit v1.2.3