Blender V2.61 - r43446

BKE_main.h

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