ScummVM API documentation
scalpel_3do_screen.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef SHERLOCK_SCALPEL_3DO_SCREEN_H
23 #define SHERLOCK_SCALPEL_3DO_SCREEN_H
24 
25 #include "sherlock/scalpel/scalpel_screen.h"
26 
27 namespace Sherlock {
28 
29 class SherlockEngine;
30 
31 namespace Scalpel {
32 
34 protected:
38  virtual void transBlitFromUnscaled(const Graphics::Surface &src, const Common::Point &pt, bool flipped,
39  int overrideColor);
40 public:
42  ~Scalpel3DOScreen() override {}
43 
47  void rawBlitFrom(const Graphics::Surface &src, const Common::Point &pt);
48 
52  void fadeIntoScreen3DO(int speed);
53 
54  void blitFrom3DOcolorLimit(uint16 color);
55 
59  void SHblitFrom(const Graphics::Surface &src) override;
60 
64  void SHblitFrom(const Graphics::Surface &src, const Common::Point &destPos) override;
65 
69  void SHblitFrom(const Graphics::Surface &src, const Common::Point &destPos, const Common::Rect &srcBounds) override;
70 
74  void SHtransBlitFrom(const ImageFrame &src, const Common::Point &pt,
75  bool flipped = false, int overrideColor = 0, int scaleVal = SCALE_THRESHOLD) override;
76 
80  void SHtransBlitFrom(const Graphics::Surface &src, const Common::Point &pt,
81  bool flipped = false, int overrideColor = 0, int scaleVal = SCALE_THRESHOLD) override;
82 
86  void SHfillRect(const Common::Rect &r, uint color) override;
87 
88  uint16 width() const override;
89  uint16 height() const override;
90 };
91 
92 } // End of namespace Scalpel
93 
94 } // End of namespace Sherlock
95 
96 #endif
Definition: surface.h:67
uint16 height() const override
Definition: animation.h:29
Definition: rect.h:144
Definition: scalpel_screen.h:33
void SHtransBlitFrom(const ImageFrame &src, const Common::Point &pt, bool flipped=false, int overrideColor=0, int scaleVal=SCALE_THRESHOLD) override
Definition: scalpel_3do_screen.h:33
Definition: image_file.h:36
Definition: sherlock.h:76
void SHblitFrom(const Graphics::Surface &src) override
Definition: rect.h:45
virtual void transBlitFromUnscaled(const Graphics::Surface &src, const Common::Point &pt, bool flipped, int overrideColor)
void rawBlitFrom(const Graphics::Surface &src, const Common::Point &pt)
uint16 width() const override
void SHfillRect(const Common::Rect &r, uint color) override