ScummVM API documentation
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 TSAGE_SCREEN_H
23#define TSAGE_SCREEN_H
24
25#include "common/scummsys.h"
26#include "common/array.h"
27#include "graphics/screen.h"
28#include "tsage/graphics.h"
29
30namespace TsAGE {
31
32#define SCREEN_WIDTH 320
33#define SCREEN_HEIGHT 200
34#define SCREEN_CENTER_X 160
35#define SCREEN_CENTER_Y 100
36#define UI_INTERFACE_Y 168
37
38class Screen : public GfxSurface {
43 void addDirtyRect(const Common::Rect &r) override {
45 }
46public:
51
55 ~Screen() override;
56
60 void update() override;
61};
62
63} // End of namespace TsAGE
64
65#endif /* MADS_SCREEN_H */
void addDirtyRect(const Common::Rect &r) override
Definition: graphics.h:79
Definition: screen.h:38
~Screen() override
void update() override
Definition: rect.h:536