Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-01-28 15:54:57 +0000
committerStijn Buys <ingar@osirion.org>2012-01-28 15:54:57 +0000
commit986ca13bdbc90bccf8c3e7c05e5c809dea1551fc (patch)
treeaa91eb5678fd8b63d50cb23c904e4ada3f24a888 /src/render/tgafile.cc
parent47c565443b9a09344f58a0639d0de5693fbaec31 (diff)
Added function to write savegame screenshots,
moved client notification from the individual image loaders to the screenshot function.
Diffstat (limited to 'src/render/tgafile.cc')
-rw-r--r--src/render/tgafile.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/render/tgafile.cc b/src/render/tgafile.cc
index efb86e9..15447df 100644
--- a/src/render/tgafile.cc
+++ b/src/render/tgafile.cc
@@ -34,7 +34,6 @@
#include "sys/sys.h"
#include "filesystem/filesystem.h"
#include "render/tgafile.h"
-#include "core/application.h"
const unsigned char TGA_NONE = 0;
const unsigned char TGA_TRUECOLOR = 2;
@@ -361,12 +360,6 @@ void TGA::save(const char *filename, Image & image)
// close file
ofs.close();
-
- //con_print << "Wrote " << filename << std::endl;
- std::string message;
- message.assign("Wrote ");
- message.append(filename);
- core::application()->notify_message(core::Message::Info, message);
}
}