#ifndef ANIMTOOL_PRINT_H_ #define ANIMTOOL_PRINT_H_ #include #include "scene.h" #include "lex.h" enum scene_stage { SCENE_PARSED, SCENE_BOUND, SCENE_LOADED, }; void print_token(FILE *f, struct token *tok, unsigned int indent); void print_expr(FILE *f, struct expr *expr); void print_seq(FILE *f, size_t n_inst, struct seq_inst inst[n_inst], enum scene_stage stage); void print_surface(FILE *f, struct surface *surf, enum scene_stage stage); void print_node(FILE *f, struct node *node, enum scene_stage stage, unsigned int indent); void print_scene(FILE *f, struct scene *scene, enum scene_stage stage); #endif