Finished the node type definition cleanup started in r34682. All static node types should now use the node_type_* definition helpers to initialize their bNodeType structs.
This commit is contained in:
@@ -208,12 +208,12 @@ void nodeCopyGroup(struct bNode *gnode);
|
||||
/* ************** COMMON NODES *************** */
|
||||
|
||||
/* Init a new node type struct with default values and callbacks */
|
||||
void node_type_init(struct bNodeType *ntype, int type, const char *name, short nclass, short flag,
|
||||
void node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass, short flag,
|
||||
struct bNodeSocketType *inputs, struct bNodeSocketType *outputs);
|
||||
void node_type_size(struct bNodeType *ntype, int width, int minwidth, int maxwidth);
|
||||
void node_type_init(struct bNodeType *ntype, void (*initfunc)(struct bNode *));
|
||||
void node_type_storage(struct bNodeType *ntype,
|
||||
const char *storagename,
|
||||
void (*initfunc)(struct bNode *),
|
||||
void (*freestoragefunc)(struct bNode *),
|
||||
void (*copystoragefunc)(struct bNode *, struct bNode *));
|
||||
void node_type_exec(struct bNodeType *ntype, void (*execfunc)(void *data, struct bNode *, struct bNodeStack **, struct bNodeStack **));
|
||||
|
Reference in New Issue
Block a user