Blender  V2.93
DNA_fileglobal_types.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17  * All rights reserved.
18  */
19 
24 #pragma once
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
34 typedef struct FileGlobal {
36  char subvstr[4];
37 
38  short subversion;
40  char _pad[6];
41  struct bScreen *curscreen;
42  struct Scene *curscene;
44  void *_pad1;
45 
46  int fileflags;
47  int globalf;
51  char build_hash[16];
53  char filename[1024];
55 
56 /* minversion: in file, the oldest past blender version you can use compliant */
57 /* example: if in 2.43 the meshes lose mesh data, minversion is 2.43 then too */
58 /* or: in 2.42, subversion 1, same as above, minversion then is 2.42, min subversion 1 */
59 /* (defines for version are in the BKE_blender_version.h file, for historic reasons) */
60 
61 #ifdef __cplusplus
62 }
63 #endif
struct FileGlobal FileGlobal
unsigned __int64 uint64_t
Definition: stdint.h:93
struct ViewLayer * cur_view_layer
struct Scene * curscene
uint64_t build_commit_timestamp
struct bScreen * curscreen
char filename[1024]