Merge pull request #13 from Bahamada/upstream_merge
[oweals/minetest.git] / src / content_mapnode.h
1 /*
2 Minetest-c55
3 Copyright (C) 2010-2011 celeron55, Perttu Ahola <celeron55@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 2 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 along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20 #ifndef CONTENT_MAPNODE_HEADER
21 #define CONTENT_MAPNODE_HEADER
22
23 void content_mapnode_init();
24
25 /*
26         Node content type IDs
27 */
28 #define CONTENT_STONE 0
29 #define CONTENT_GRASS 1
30 #define CONTENT_WATER 2
31 #define CONTENT_TORCH 3
32 #define CONTENT_TREE 4
33 #define CONTENT_LEAVES 5
34 #define CONTENT_GRASS_FOOTSTEPS 6
35 #define CONTENT_MESE 7
36 #define CONTENT_MUD 8
37 #define CONTENT_WATERSOURCE 9
38 // Pretty much useless, clouds won't be drawn this way
39 #define CONTENT_CLOUD 10
40 #define CONTENT_COALSTONE 11
41 #define CONTENT_WOOD 12
42 #define CONTENT_SAND 13
43 #define CONTENT_SIGN_WALL 14
44 #define CONTENT_CHEST 15
45 #define CONTENT_FURNACE 16
46 //#define CONTENT_WORKBENCH 17
47 #define CONTENT_COBBLE 18
48 #define CONTENT_STEEL 19
49 #define CONTENT_GLASS 20
50 #define CONTENT_FENCE 21
51 #define CONTENT_MOSSYCOBBLE 22
52 #define CONTENT_GRAVEL 23
53 #define CONTENT_SANDSTONE 24
54 #define CONTENT_CACTUS 25
55 #define CONTENT_BRICK 26
56 #define CONTENT_CLAY 27
57 #define CONTENT_PAPYRUS 28
58 #define CONTENT_BOOKSHELF 29
59 #define CONTENT_RAIL 30
60
61 #endif
62