diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-06-17 23:20:31 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-06-17 23:20:31 +0300 |
commit | 682c9d8e7d05ca7462eda7fee9b07fb6ad94d860 (patch) | |
tree | f3bda59d590598729992dea75a84b22f55ab3648 /src/content_mapblock.h | |
parent | df5affe836080d35a0e89d2799cb1b525fcdd6ce (diff) | |
download | minetest-682c9d8e7d05ca7462eda7fee9b07fb6ad94d860.tar.gz minetest-682c9d8e7d05ca7462eda7fee9b07fb6ad94d860.tar.bz2 minetest-682c9d8e7d05ca7462eda7fee9b07fb6ad94d860.zip |
Moved stuff from mapblock{h,cpp} to mapblock_mesh.{h,cpp} and content_mapblock.{h,cpp}
Diffstat (limited to 'src/content_mapblock.h')
-rw-r--r-- | src/content_mapblock.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/content_mapblock.h b/src/content_mapblock.h new file mode 100644 index 000000000..438422014 --- /dev/null +++ b/src/content_mapblock.h @@ -0,0 +1,31 @@ +/* +Minetest-c55 +Copyright (C) 2010-2011 celeron55, Perttu Ahola <celeron55@gmail.com> + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#ifndef CONTENT_MAPBLOCK_HEADER +#define CONTENT_MAPBLOCK_HEADER + +#ifndef SERVER + #include "mapblock_mesh.h" + #include "utility.h" +void mapblock_mesh_generate_special(MeshMakeData *data, + MeshCollector &collector); +#endif + +#endif + |