ScummVM API documentation
aintern.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 AGS_LIB_ALLEGRO_AINTERN_H
23#define AGS_LIB_ALLEGRO_AINTERN_H
24
25#include "ags/lib/allegro/base.h"
26#include "ags/lib/allegro/color.h"
27
28/* default truecolor pixel format */
29#define DEFAULT_RGB_R_SHIFT_15 0
30#define DEFAULT_RGB_G_SHIFT_15 5
31#define DEFAULT_RGB_B_SHIFT_15 10
32#define DEFAULT_RGB_R_SHIFT_16 0
33#define DEFAULT_RGB_G_SHIFT_16 5
34#define DEFAULT_RGB_B_SHIFT_16 11
35#define DEFAULT_RGB_R_SHIFT_24 0
36#define DEFAULT_RGB_G_SHIFT_24 8
37#define DEFAULT_RGB_B_SHIFT_24 16
38#define DEFAULT_RGB_R_SHIFT_32 0
39#define DEFAULT_RGB_G_SHIFT_32 8
40#define DEFAULT_RGB_B_SHIFT_32 16
41#define DEFAULT_RGB_A_SHIFT_32 24
42
43namespace AGS3 {
44
45} // namespace AGS3
46
47#endif