aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/image/renderedimage.h
diff options
context:
space:
mode:
authorMax Horn2011-03-25 14:56:31 +0100
committerMax Horn2011-03-25 15:00:41 +0100
commitbb6a5c3685ef555ab63ee1fd39173dbdad9a2a13 (patch)
tree52615764f0ed1eb97d1a3f9da1bbac6d5ccc3092 /engines/sword25/gfx/image/renderedimage.h
parent0e6cdfd67580f75e912c5e92abb26821d032f74b (diff)
downloadscummvm-rg350-bb6a5c3685ef555ab63ee1fd39173dbdad9a2a13.tar.gz
scummvm-rg350-bb6a5c3685ef555ab63ee1fd39173dbdad9a2a13.tar.bz2
scummvm-rg350-bb6a5c3685ef555ab63ee1fd39173dbdad9a2a13.zip
SWORD25: more translated comments from gfx/image (patch #3238507)
Plus some extra white space changes by myself.
Diffstat (limited to 'engines/sword25/gfx/image/renderedimage.h')
-rw-r--r--engines/sword25/gfx/image/renderedimage.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/sword25/gfx/image/renderedimage.h b/engines/sword25/gfx/image/renderedimage.h
index 0375c7acbe..e3f23747da 100644
--- a/engines/sword25/gfx/image/renderedimage.h
+++ b/engines/sword25/gfx/image/renderedimage.h
@@ -50,12 +50,12 @@ public:
RenderedImage(const Common::String &filename, bool &result);
/**
- @brief Erzeugt ein leeres BS_RenderedImage
+ @brief Creates an empty BS_RenderedImage
- @param Width die Breite des zu erzeugenden Bildes.
- @param Height die Höhe des zu erzeugenden Bildes
- @param Result gibt dem Aufrufer bekannt, ob der Konstruktor erfolgreich ausgeführt wurde. Wenn es nach dem Aufruf false enthalten sollte,
- dürfen keine Methoden am Objekt aufgerufen werden und das Objekt ist sofort zu zerstören.
+ @param Width The width of the image to be created.
+ @param Height The height of the image to be created
+ @param Result Informs the caller, whether the constructor is executed successfully. If it contains false
+ after the call, do not call methods on the object and destroy the object immediately.
*/
RenderedImage(uint width, uint height, bool &result);
RenderedImage();
@@ -84,25 +84,25 @@ public:
void replaceContent(byte *pixeldata, int width, int height);
virtual uint getPixel(int x, int y);
- virtual bool isBlitSource() const {
+ virtual bool isBlitSource() const {
return true;
}
- virtual bool isBlitTarget() const {
+ virtual bool isBlitTarget() const {
return false;
}
- virtual bool isScalingAllowed() const {
+ virtual bool isScalingAllowed() const {
return true;
}
- virtual bool isFillingAllowed() const {
+ virtual bool isFillingAllowed() const {
return false;
}
- virtual bool isAlphaAllowed() const {
+ virtual bool isAlphaAllowed() const {
return true;
}
- virtual bool isColorModulationAllowed() const {
+ virtual bool isColorModulationAllowed() const {
return true;
}
- virtual bool isSetContentAllowed() const {
+ virtual bool isSetContentAllowed() const {
return true;
}