Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| Show All 31 Lines | |||||
| #ifndef __DNA_OBJECT_TYPES_H__ | #ifndef __DNA_OBJECT_TYPES_H__ | ||||
| #define __DNA_OBJECT_TYPES_H__ | #define __DNA_OBJECT_TYPES_H__ | ||||
| #include "DNA_defs.h" | #include "DNA_defs.h" | ||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "DNA_ID.h" | #include "DNA_ID.h" | ||||
| #include "DNA_action_types.h" /* bAnimVizSettings */ | #include "DNA_action_types.h" /* bAnimVizSettings */ | ||||
| #include "DNA_screen_types.h" /* LocalViewInfo */ | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct Object; | struct Object; | ||||
| struct AnimData; | struct AnimData; | ||||
| struct Ipo; | struct Ipo; | ||||
| ▲ Show 20 Lines • Show All 170 Lines • ▼ Show 20 Lines | typedef struct Object { | ||||
| float min_angvel; /* clamp the minimum angular velocity, 0.0 is disabled */ | float min_angvel; /* clamp the minimum angular velocity, 0.0 is disabled */ | ||||
| float obstacleRad; | float obstacleRad; | ||||
| /* "Character" physics properties */ | /* "Character" physics properties */ | ||||
| float step_height; | float step_height; | ||||
| float jump_speed; | float jump_speed; | ||||
| float fall_speed; | float fall_speed; | ||||
| unsigned char max_jumps; | unsigned char max_jumps; | ||||
| char pad2[3]; | char pad2[7]; | ||||
| LocalViewInfo localview; | |||||
| /** Collision mask settings */ | /** Collision mask settings */ | ||||
| unsigned short col_group, col_mask; | unsigned short col_group, col_mask; | ||||
| short rotmode; /* rotation mode - uses defines set out in DNA_action_types.h for PoseChannel rotations... */ | short rotmode; /* rotation mode - uses defines set out in DNA_action_types.h for PoseChannel rotations... */ | ||||
| char boundtype; /* bounding box use for drawing */ | char boundtype; /* bounding box use for drawing */ | ||||
| char collision_boundtype; /* bounding box type used for collision */ | char collision_boundtype; /* bounding box type used for collision */ | ||||
| ▲ Show 20 Lines • Show All 457 Lines • Show Last 20 Lines | |||||