Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_fileglobal_types.h
| Show All 26 Lines | |||||
| /** \file DNA_fileglobal_types.h | /** \file DNA_fileglobal_types.h | ||||
| * \ingroup DNA | * \ingroup DNA | ||||
| */ | */ | ||||
| #ifndef __DNA_FILEGLOBAL_TYPES_H__ | #ifndef __DNA_FILEGLOBAL_TYPES_H__ | ||||
| #define __DNA_FILEGLOBAL_TYPES_H__ | #define __DNA_FILEGLOBAL_TYPES_H__ | ||||
| struct bScreen; | |||||
| struct Scene; | |||||
| /** | /** | ||||
| * FileGlobal stores a part of the current user-interface settings at | * FileGlobal stores a part of the current user-interface settings at | ||||
| * the moment of saving, and the file-specific settings. | * the moment of saving, and the file-specific settings. | ||||
| */ | */ | ||||
| typedef struct FileGlobal { | typedef struct FileGlobal { | ||||
| char subvstr[4]; /* needs to be here, for human fileformat recognition */ | char subvstr[4]; /* needs to be here, for human fileformat recognition */ | ||||
| short subversion; | short subversion; | ||||
| short minversion, minsubversion; | short minversion, minsubversion; | ||||
| char pad[6]; | char pad[6]; | ||||
| struct bScreen *curscreen; | struct bScreen *curscreen; | ||||
| struct Scene *curscene; | struct Scene *curscene; | ||||
| struct SceneLayer *cur_render_layer; | |||||
| void *pad1; | |||||
| int fileflags; | int fileflags; | ||||
| int globalf; | int globalf; | ||||
| uint64_t build_commit_timestamp; /* commit timestamp from buildinfo */ | uint64_t build_commit_timestamp; /* commit timestamp from buildinfo */ | ||||
| char build_hash[16]; /* hash from buildinfo */ | char build_hash[16]; /* hash from buildinfo */ | ||||
| /* file path where this was saved, for recover */ | /* file path where this was saved, for recover */ | ||||
| char filename[1024]; /* 1024 = FILE_MAX */ | char filename[1024]; /* 1024 = FILE_MAX */ | ||||
| } FileGlobal; | } FileGlobal; | ||||
| Show All 9 Lines | |||||