ScummVM API documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
ags_plugin_evts.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
//=============================================================================
23
//
24
// AGS Plugin interface header file.
25
// Engine events definition.
26
//
27
// If you are writing a plugin, include agsplugin.h instead.
28
//
29
//=============================================================================
30
31
#ifndef AGS_PLUGINS_AGS_PLUGIN_EVTS_H
32
#define AGS_PLUGINS_AGS_PLUGIN_EVTS_H
33
34
namespace
AGS3
{
35
36
// Below are interface 3 and later
37
#define AGSE_KEYPRESS 1
38
#define AGSE_MOUSECLICK 2
39
#define AGSE_POSTSCREENDRAW 4
40
// Below are interface 4 and later
41
#define AGSE_PRESCREENDRAW 8
42
// Below are interface 5 and later
43
#define AGSE_SAVEGAME 0x10
44
#define AGSE_RESTOREGAME 0x20
45
// Below are interface 6 and later
46
#define AGSE_PREGUIDRAW 0x40
47
#define AGSE_LEAVEROOM 0x80
48
#define AGSE_ENTERROOM 0x100
49
#define AGSE_TRANSITIONIN 0x200
50
#define AGSE_TRANSITIONOUT 0x400
51
// Below are interface 12 and later
52
#define AGSE_FINALSCREENDRAW 0x800
53
#define AGSE_TRANSLATETEXT 0x1000
54
// Below are interface 13 and later
55
#define AGSE_SCRIPTDEBUG 0x2000
56
#define AGSE_AUDIODECODE 0x4000 // obsolete, no longer supported
57
// Below are interface 18 and later
58
#define AGSE_SPRITELOAD 0x8000
59
// Below are interface 21 and later
60
#define AGSE_PRERENDER 0x10000
61
// Below are interface 24 and later
62
#define AGSE_PRESAVEGAME 0x20000
63
#define AGSE_POSTRESTOREGAME 0x40000
64
// Below are interface 26 and later
65
#define AGSE_POSTROOMDRAW 0x80000
66
#define AGSE_TOOHIGH 0x100000
67
68
}
// namespace AGS3
69
70
#endif
AGS3
Definition:
ags.h:40
engines
ags
plugins
ags_plugin_evts.h
Generated on Wed Apr 9 2025 09:10:22 for ScummVM API documentation by
1.8.13