ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
main_loop.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 CINE_MAINLOOP_H
23 #define CINE_MAINLOOP_H
24 
25 namespace Cine {
26 
27 enum CallSource {
35 };
36 
48 };
49 
50 void mainLoop(int bootScriptIdx);
51 void manageEvents(CallSource callSource, EventTarget eventTarget, bool useMaxMouseButtonState = false, Common::Array<Common::Rect> rects = Common::Array<Common::Rect>());
52 
53 } // End of namespace Cine
54 
55 #endif
Called from makeMenuChoice function.
Definition: main_loop.h:30
Called from makeSystemMenu function.
Definition: main_loop.h:31
Definition: anim.h:29
CallSource
Definition: main_loop.h:27
Wait until first at least one mouse button down, finally all up.
Definition: main_loop.h:39
Called from mainLoop function&#39;s waiting for player click section.
Definition: main_loop.h:29
Wait until at least one mouse button down or a key pressed.
Definition: main_loop.h:45
Wait until at least one mouse button down, up key pressed, down key pressed or mouse position in at l...
Definition: main_loop.h:44
Called from processInventory function.
Definition: main_loop.h:33
Wait until first all mouse buttons up, finally at least one down.
Definition: main_loop.h:42
Wait until all mouse buttons up.
Definition: main_loop.h:40
Wait until first mouse buttons all up, then at least one down, finally all up.
Definition: main_loop.h:38
Wait until wait period (getTimerDelay()) ended.
Definition: main_loop.h:46
Called from executePlayerInput function.
Definition: main_loop.h:28
Empty the event queue.
Definition: main_loop.h:47
EventTarget
Definition: main_loop.h:37
Wait until all mouse buttons up and wait period (getTimerDelay()) ended.
Definition: main_loop.h:41
Called from waitPlayerInput function.
Definition: main_loop.h:34
Called from makeTextEntryMenu function.
Definition: main_loop.h:32
Wait until at least one mouse button down.
Definition: main_loop.h:43