|
Blender
V2.59
|
00001 /* 00002 * $Id: BKE_main.h 34962 2011-02-18 13:05:18Z jesterking $ 00003 * 00004 * ***** BEGIN GPL LICENSE BLOCK ***** 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software Foundation, 00018 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00019 * 00020 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. 00021 * All rights reserved. 00022 * 00023 * The Original Code is: all of this file. 00024 * 00025 * Contributor(s): none yet. 00026 * 00027 * ***** END GPL LICENSE BLOCK ***** 00028 */ 00029 #ifndef BKE_MAIN_H 00030 #define BKE_MAIN_H 00031 00045 #include "DNA_listBase.h" 00046 00047 #ifdef __cplusplus 00048 extern "C" { 00049 #endif 00050 00051 struct Library; 00052 00053 typedef struct Main { 00054 struct Main *next, *prev; 00055 char name[240]; 00056 short versionfile, subversionfile; 00057 short minversionfile, minsubversionfile; 00058 int revision; /* svn revision of binary that saved file */ 00059 00060 struct Library *curlib; 00061 ListBase scene; 00062 ListBase library; 00063 ListBase object; 00064 ListBase mesh; 00065 ListBase curve; 00066 ListBase mball; 00067 ListBase mat; 00068 ListBase tex; 00069 ListBase image; 00070 ListBase latt; 00071 ListBase lamp; 00072 ListBase camera; 00073 ListBase ipo; // XXX depreceated 00074 ListBase key; 00075 ListBase world; 00076 ListBase screen; 00077 ListBase script; 00078 ListBase vfont; 00079 ListBase text; 00080 ListBase sound; 00081 ListBase group; 00082 ListBase armature; 00083 ListBase action; 00084 ListBase nodetree; 00085 ListBase brush; 00086 ListBase particle; 00087 ListBase wm; 00088 ListBase gpencil; 00089 00090 char id_tag_update[256]; 00091 } Main; 00092 00093 00094 #ifdef __cplusplus 00095 } 00096 #endif 00097 00098 #endif 00099