2 * blenlib/BKE_blender.h (mar-2001 nzc)
8 * ***** BEGIN GPL LICENSE BLOCK *****
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software Foundation,
22 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
25 * All rights reserved.
27 * The Original Code is: all of this file.
29 * Contributor(s): none yet.
31 * ***** END GPL LICENSE BLOCK *****
43 #define BLENDER_VERSION 248
44 #define BLENDER_SUBVERSION 4
46 #define BLENDER_MINVERSION 245
47 #define BLENDER_MINSUBVERSION 15
49 int BKE_read_file(char *dir, void *type_r);
50 int BKE_read_file_from_memory(char* filebuf, int filelength, void *type_r);
51 int BKE_read_file_from_memfile(struct MemFile *memfile);
53 void duplicatelist(struct ListBase *list1, struct ListBase *list2);
54 void free_blender(void);
55 void initglobals(void);
57 void pushdata(void *data, int len);
58 void popfirst(void *data);
59 void poplast(void *data);
60 void free_pushpop(void);
61 void pushpop_test(void);
64 extern void BKE_write_undo(char *name);
65 extern void BKE_undo_step(int step);
66 extern void BKE_reset_undo(void);
67 extern char *BKE_undo_menu_string(void);
68 extern void BKE_undo_number(int nr);
69 extern void BKE_undo_save_quit(void);