Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/intern/makesdna.c
| Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
| #include <string.h> | #include <string.h> | ||||
| #include <stdlib.h> | #include <stdlib.h> | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "../blenlib/BLI_sys_types.h" // for intptr_t support | #include "../blenlib/BLI_sys_types.h" // for intptr_t support | ||||
| /* Allow includinsg DNA files for specially guarded namespaces */ | |||||
| #define DNA_NAMESPACE | |||||
| #define SDNA_MAX_FILENAME_LENGTH 255 | #define SDNA_MAX_FILENAME_LENGTH 255 | ||||
| /* Included the path relative from /source/blender/ here, so we can move */ | /* Included the path relative from /source/blender/ here, so we can move */ | ||||
| /* headers around with more freedom. */ | /* headers around with more freedom. */ | ||||
| static const char *includefiles[] = { | static const char *includefiles[] = { | ||||
| /* if you add files here, please add them at the end | /* if you add files here, please add them at the end | ||||
| ▲ Show 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | static const char *includefiles[] = { | ||||
| "DNA_tracking_types.h", | "DNA_tracking_types.h", | ||||
| "DNA_dynamicpaint_types.h", | "DNA_dynamicpaint_types.h", | ||||
| "DNA_mask_types.h", | "DNA_mask_types.h", | ||||
| "DNA_rigidbody_types.h", | "DNA_rigidbody_types.h", | ||||
| "DNA_freestyle_types.h", | "DNA_freestyle_types.h", | ||||
| "DNA_linestyle_types.h", | "DNA_linestyle_types.h", | ||||
| "DNA_cachefile_types.h", | "DNA_cachefile_types.h", | ||||
| "DNA_layer_types.h", | "DNA_layer_types.h", | ||||
| "dna_workspace_types.h", | |||||
| /* see comment above before editing! */ | /* see comment above before editing! */ | ||||
| /* empty string to indicate end of includefiles */ | /* empty string to indicate end of includefiles */ | ||||
| "" | "" | ||||
| }; | }; | ||||
| static int maxdata = 500000, maxnr = 50000; | static int maxdata = 500000, maxnr = 50000; | ||||
| static int nr_names = 0; | static int nr_names = 0; | ||||
| ▲ Show 20 Lines • Show All 1,198 Lines • ▼ Show 20 Lines | |||||
| #include "DNA_tracking_types.h" | #include "DNA_tracking_types.h" | ||||
| #include "DNA_dynamicpaint_types.h" | #include "DNA_dynamicpaint_types.h" | ||||
| #include "DNA_mask_types.h" | #include "DNA_mask_types.h" | ||||
| #include "DNA_rigidbody_types.h" | #include "DNA_rigidbody_types.h" | ||||
| #include "DNA_freestyle_types.h" | #include "DNA_freestyle_types.h" | ||||
| #include "DNA_linestyle_types.h" | #include "DNA_linestyle_types.h" | ||||
| #include "DNA_cachefile_types.h" | #include "DNA_cachefile_types.h" | ||||
| #include "DNA_layer_types.h" | #include "DNA_layer_types.h" | ||||
| #include "dna_workspace_types.h" | |||||
| /* end of list */ | /* end of list */ | ||||