1// SuperTux
2// Copyright (C) 2006 Matthias Braun <matze@braunis.de>
3// 2018 Ingo Ruhnke <grumbel@gmail.com>
4//
5// This program is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18#ifndef HEADER_SUPERTUX_VIDEO_LAYER_HPP
19#define HEADER_SUPERTUX_VIDEO_LAYER_HPP
20
21// some constants for predefined layer values
22enum {
23 // Image/gradient backgrounds (should cover entire screen)
24 LAYER_BACKGROUND0 = -300,
25 // Particle backgrounds
26 LAYER_BACKGROUND1 = -200,
27 // Tilemap backgrounds
28 LAYER_BACKGROUNDTILES = -100,
29 // Solid tilemaps
30 LAYER_TILES = 0,
31 // Ordinary objects
32 LAYER_OBJECTS = 50,
33 // Objects that pass through walls
34 LAYER_FLOATINGOBJECTS = 150,
35 //
36 LAYER_FOREGROUNDTILES = 200,
37 //
38 LAYER_FOREGROUND0 = 300,
39 //
40 LAYER_FOREGROUND1 = 400,
41
42 LAYER_LIGHTMAP = 450,
43
44 // Hitpoints, time, coins, etc.
45 LAYER_HUD = 500,
46 // Menus, mouse, console etc.
47 LAYER_GUI = 600,
48
49 //make sure all get_light requests are handled last.
50 LAYER_GETPIXEL = LAYER_GUI
51};
52
53#endif
54
55/* EOF */
56