Blender V2.61 - r43446
|
Go to the source code of this file.
Functions | |
void | free_property (struct bProperty *prop) |
void | free_properties (struct ListBase *lb) |
struct bProperty * | copy_property (struct bProperty *prop) |
void | copy_properties (struct ListBase *lbn, struct ListBase *lbo) |
void | init_property (struct bProperty *prop) |
struct bProperty * | new_property (int type) |
void | unique_property (struct bProperty *first, struct bProperty *prop, int force) |
struct bProperty * | get_ob_property (struct Object *ob, const char *name) |
void | set_ob_property (struct Object *ob, struct bProperty *propc) |
int | compare_property (struct bProperty *prop, const char *str) |
void | set_property (struct bProperty *prop, const char *str) |
void | add_property (struct bProperty *prop, const char *str) |
void | set_property_valstr (struct bProperty *prop, char *str) |
void | cp_property (struct bProperty *prop1, struct bProperty *prop2) |
Definition in file BKE_property.h.
void add_property | ( | struct bProperty * | prop, |
const char * | str | ||
) |
Definition at line 264 of file property.c.
References bProperty::data, GPROP_BOOL, GPROP_FLOAT, GPROP_INT, GPROP_STRING, GPROP_TIME, and bProperty::type.
Referenced by ply_read().
int compare_property | ( | struct bProperty * | prop, |
const char * | str | ||
) |
Definition at line 203 of file property.c.
References BLI_strcasecmp(), bProperty::data, GPROP_BOOL, GPROP_FLOAT, GPROP_INT, GPROP_STRING, GPROP_TIME, bProperty::poin, and bProperty::type.
Definition at line 79 of file property.c.
References BLI_addtail(), copy_property(), ListBase::first, free_properties(), and bProperty::next.
Referenced by copy_object(), copymenu_properties(), and game_property_copy_exec().
Definition at line 66 of file property.c.
References bProperty::data, MEM_dupallocN(), and bProperty::poin.
Referenced by copy_properties(), ply_describe_element(), ply_describe_other_properties(), ply_describe_property(), ply_get_element_description(), ply_get_other_properties(), and set_ob_property().
Definition at line 305 of file property.c.
References set_property(), set_property_valstr(), and str.
void free_properties | ( | struct ListBase * | lb | ) |
Definition at line 56 of file property.c.
References BLI_remlink(), ListBase::first, and free_property().
Referenced by copy_properties(), free_object(), and game_property_clear_exec().
void free_property | ( | struct bProperty * | prop | ) |
Definition at line 48 of file property.c.
References bProperty::data, MEM_freeN(), and bProperty::poin.
Referenced by free_properties(), game_property_remove(), and set_ob_property().
Definition at line 184 of file property.c.
References BLI_findstring(), and Object::prop.
Referenced by BL_ConvertTextProperty(), do_versions(), draw_mesh_text(), draw_mesh_textured_old(), objects_share_gameprop(), and set_ob_property().
void init_property | ( | struct bProperty * | prop | ) |
Definition at line 93 of file property.c.
References bProperty::data, GPROP_BOOL, GPROP_FLOAT, GPROP_INT, GPROP_STRING, GPROP_TIME, MAX_PROPSTRING, MEM_callocN(), MEM_freeN(), NULL, bProperty::poin, and bProperty::type.
Referenced by new_property().
struct bProperty* new_property | ( | int | type | ) | [read] |
Definition at line 116 of file property.c.
References init_property(), MEM_callocN(), bProperty::name, and bProperty::type.
Referenced by game_property_new().
Definition at line 189 of file property.c.
References BLI_addtail(), BLI_remlink(), copy_property(), free_property(), get_ob_property(), bProperty::name, and Object::prop.
Referenced by copymenu_properties(), and game_property_copy_exec().
void set_property | ( | struct bProperty * | prop, |
const char * | str | ||
) |
Definition at line 240 of file property.c.
References BLI_strcasecmp(), bProperty::data, GPROP_BOOL, GPROP_FLOAT, GPROP_INT, GPROP_STRING, GPROP_TIME, bProperty::poin, and bProperty::type.
Referenced by cp_property().
void set_property_valstr | ( | struct bProperty * | prop, |
char * | str | ||
) |
Definition at line 284 of file property.c.
References BLI_strncpy(), bProperty::data, GPROP_BOOL, GPROP_FLOAT, GPROP_INT, GPROP_STRING, GPROP_TIME, MAX_PROPSTRING, NULL, bProperty::poin, and bProperty::type.
Referenced by cp_property(), and draw_mesh_text().
Definition at line 140 of file property.c.
References BLI_snprintf(), BLI_strncpy(), get_property__internal(), i, bProperty::name, NULL, p, bProperty::prev, strlen(), and unique_property().
Referenced by game_property_new(), and unique_property().