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 ILLUSIONS_CURSOR_H
23 #define ILLUSIONS_CURSOR_H
24 
25 namespace Illusions {
26 
27 class Control;
28 class IllusionsEngine;
29 
30 class Cursor {
31 public:
33  void place(Control *control, uint32 sequenceId);
34  void setActorIndex(int actorIndex, int a, int b);
35  void setControl(Control *control);
36  void show();
37  void hide();
38  void cursorControlRoutine(Control *control, uint32 deltaTime);
39 //protected:
40 public:
41  IllusionsEngine *_vm;
42  Control *_control;
43  uint32 _sequenceId;
44  int _status;
45  int _cursorNum;
46  int _field_10;
47  int _visibleCtr;
48  int16 _x, _y;
49 };
50 
51 } // End of namespace Illusions
52 
53 #endif // ILLUSIONS_CURSOR_H
Definition: cursor.h:30
Definition: actor.h:34
Definition: actor.h:180
Definition: illusions.h:80