diff options
author | Matthew Stewart | 2018-07-23 22:06:24 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | 0e85e19ee7530b4d41668982e0b10f04d6f29741 (patch) | |
tree | 4ef9ad91daeffd899e3e4f4ecf27be32f53aaa67 /engines/startrek/bitmap.h | |
parent | c2dd39a6c2f1f9356110dcfe0cb36607373b19e3 (diff) | |
download | scummvm-rg350-0e85e19ee7530b4d41668982e0b10f04d6f29741.tar.gz scummvm-rg350-0e85e19ee7530b4d41668982e0b10f04d6f29741.tar.bz2 scummvm-rg350-0e85e19ee7530b4d41668982e0b10f04d6f29741.zip |
STARTREK: Move function descriptions to headers
Diffstat (limited to 'engines/startrek/bitmap.h')
-rw-r--r-- | engines/startrek/bitmap.h | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/engines/startrek/bitmap.h b/engines/startrek/bitmap.h index 8bc9cd2952..4ff285cbab 100644 --- a/engines/startrek/bitmap.h +++ b/engines/startrek/bitmap.h @@ -22,23 +22,27 @@ struct Bitmap { protected: int32 pixelsArraySize; - Bitmap() : xoffset(0),yoffset(0),width(0),height(0),pixels(nullptr),pixelsArraySize(0) {} + Bitmap() : xoffset(0), yoffset(0), width(0), height(0), pixels(nullptr), pixelsArraySize(0) {} }; -// TextBitmap is the same as Bitmap, except it stores character indices in its "pixels" -// array instead of actual pixels. -// A consequence of this is that the pixels array is smaller than otherwise expected -// (since width/height still reflect the actual size when drawn). +/** + * TextBitmap is the same as Bitmap, except it stores character indices in its "pixels" + * array instead of actual pixels. + * A consequence of this is that the pixels array is smaller than otherwise expected + * (since width/height still reflect the actual size when drawn). + */ struct TextBitmap : Bitmap { TextBitmap(int w, int h); }; -// StubBitmap is a bitmap without any actual pixel data. Used as a stub for the -// "starfield" sprite, which is always in draw mode 1 (invisible), so it never gets drawn; -// however, it does trigger refreshes on the background in that area, so the game can draw -// on the background layer manually. +/** + * StubBitmap is a bitmap without any actual pixel data. Used as a stub for the + * "starfield" sprite, which is always in draw mode 1 (invisible), so it never gets drawn; + * however, it does trigger refreshes on the background in that area, so the game can draw + * on the background layer manually. + */ struct StubBitmap : Bitmap { StubBitmap(int w, int h); }; |