ScummVM API documentation
cursor.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 CHAMBER_CURSOR_H
23
#define CHAMBER_CURSOR_H
24
25
namespace
Chamber {
26
27
#define CURSOR_WIDTH 16
28
#define CURSOR_HEIGHT 16
29
#define CURSOR_WIDTH_SPR 20
30
31
enum
Cursors {
32
CURSOR_FINGER,
33
CURSOR_TARGET,
34
CURSOR_FLY,
35
CURSOR_SNAKE,
36
CURSOR_GRAB,
37
CURSOR_POUR,
38
CURSOR_BODY,
39
CURSOR_ARROWS,
40
CURSOR_CROSSHAIR,
41
CURSOR_MAX
42
};
43
44
extern
uint16 cursor_x;
45
extern
byte
cursor_y;
46
extern
byte
cursor_color;
47
extern
byte
*cursor_shape;
48
extern
byte
cursor_anim_ticks;
49
extern
byte
cursor_anim_phase;
50
51
void
updateCursor(
void
);
52
void
drawCursor(
byte
*target);
53
void
undrawCursor(
byte
*target);
54
void
updateUndrawCursor(
byte
*target);
55
void
hideMouseCursor(
void
);
56
57
}
// End of namespace Chamber
58
59
#endif
engines
chamber
cursor.h
Generated on Sun Nov 22 2026 09:14:45 for ScummVM API documentation by
1.9.4