00001 /* Global defines. 00002 * Copyright (C) 2010 Francois Galea <fgalea@free.fr> 00003 * 00004 * This file is part of Freezer. 00005 * 00006 * Freezer is free software: you can redistribute it and/or modify it under 00007 * the terms of the GNU Lesser General Public License as published by the 00008 * Free Software Foundation, either version 3 of the License, or (at your 00009 * option) any later version. 00010 * 00011 * Freezer is distributed in the hope that it will be useful, but WITHOUT 00012 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00013 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 00014 * License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public License 00017 * along with Freezer. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 #ifndef _FRZ_DEFS_H_ 00021 #define _FRZ_DEFS_H_ 00022 00023 #define MAX_OBJ 128 00024 00025 /* shading types */ 00026 #define SH_CONST 1 00027 #define SH_FLAT 2 00028 #define SH_SMOOTH 3 00029 #define SH_RGBSMOOTH 4 00030 00031 /* engine object types */ 00032 #define OB_TRIANGLE 1 00033 #define OB_QUAD 2 00034 00035 /* engine object flags */ 00036 #define FL_DS 1 /* Double sided poly */ 00037 #define FL_FLATN 2 /* Generate flat normals */ 00038 #define FL_EXTR 4 /* Perform extrusion */ 00039 00040 #endif
1.6.3