~ubuntu-branches/ubuntu/maverick/blender/maverick

« back to all changes in this revision

Viewing changes to source/blender/include/BIF_editarmature.h

  • Committer: Bazaar Package Importer
  • Author(s): Khashayar Naderehvandi, Khashayar Naderehvandi, Alessio Treglia
  • Date: 2009-01-22 16:53:59 UTC
  • mfrom: (14.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090122165359-v0996tn7fbit64ni
Tags: 2.48a+dfsg-1ubuntu1
[ Khashayar Naderehvandi ]
* Merge from debian experimental (LP: #320045), Ubuntu remaining changes:
  - Add patch correcting header file locations.
  - Add libvorbis-dev and libgsm1-dev to Build-Depends.
  - Use avcodec_decode_audio2() in source/blender/src/hddaudio.c

[ Alessio Treglia ]
* Add missing previous changelog entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: BIF_editarmature.h 14444 2008-04-16 22:40:48Z hos $
 
2
 * $Id: BIF_editarmature.h 16742 2008-09-26 08:51:05Z aligorith $
3
3
 *
4
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
80
80
void    delete_armature(void);
81
81
void    deselectall_armature(int toggle, int doundo);
82
82
void    deselectall_posearmature (struct Object *ob, int test, int doundo);
83
 
int             draw_armature(struct Base *base, int dt);
 
83
int             draw_armature(struct Base *base, int dt, int flag);
84
84
 
85
85
void    extrude_armature(int forked);
86
86
void    subdivide_armature(int numcuts);
91
91
 
92
92
int             join_armature(void);
93
93
void    separate_armature(void);
 
94
void    apply_armature_pose2bones(void);
94
95
void    load_editArmature(void);
95
96
 
96
97
void    make_bone_parent(void);
99
100
 
100
101
void    make_editArmature(void);
101
102
void    make_trans_bones (char mode);
 
103
void    remake_editArmature(void);
 
104
void    editbones_to_armature(struct ListBase *list, struct Object *ob);
102
105
 
103
106
int             do_pose_selectbuffer(struct Base *base, unsigned int *buffer, short hits);
104
107
 
105
108
void generateSkeleton(void);
106
109
 
107
110
void    mouse_armature(void);
108
 
void    remake_editArmature(void);
109
111
void    selectconnected_armature(void);
110
112
void    selectconnected_posearmature(void);
111
 
void    select_bone_parent(void);
 
113
void    armature_select_hierarchy(short direction, short add_to_sel);
 
114
 
112
115
void    setflag_armature(short mode);
113
116
void    unique_editbone_name (struct ListBase *ebones, char *name);
114
117
 
115
118
void    auto_align_armature(short mode);
 
119
void    switch_direction_armature(void);
116
120
 
117
121
void    create_vgroups_from_armature(struct Object *ob, struct Object *par);
118
122
void    add_verts_to_dgroups(struct Object *ob, struct Object *par, int heat, int mirror);
135
139
void    hide_unselected_armature_bones(void);
136
140
void    show_all_armature_bones(void);
137
141
 
 
142
void    align_selected_bones(void);
 
143
 
138
144
#define BONESEL_ROOT    0x10000000
139
145
#define BONESEL_TIP             0x20000000
140
146
#define BONESEL_BONE    0x40000000
142
148
 
143
149
#define BONESEL_NOSEL   0x80000000      /* Indicates a negative number */
144
150
 
 
151
/* useful macros */
 
152
#define EBONE_VISIBLE(arm, ebone) ((arm->layer & ebone->layer) && !(ebone->flag & BONE_HIDDEN_A))
 
153
#define EBONE_EDITABLE(ebone) ((ebone->flag & BONE_SELECTED) && !(ebone->flag & BONE_EDITMODE_LOCKED)) 
 
154
 
 
155
/* used in bone_select_hierachy() */
 
156
#define BONE_SELECT_PARENT      0
 
157
#define BONE_SELECT_CHILD       1
 
158
 
145
159
#endif
146
160
 
147
161
 
 
162