Initialize Seduce

seduce_init

void seduce_init(void);

Description: Initializes Seduce

seduce_viewport_set

void seduce_viewport_set(float x_start, float y_start, float x_end, float y_end);

seduce_element_endframe

void seduce_element_endframe(BInputState *input, boolean debug);

Description: seduce_element_endframe needs to be called at the end of each frame. It will draw mouse pointers and other overlay items and consloidate input. By turning on "debug" Seduce will draw an overlay indication the position of all hit areas of screem created by seduce's colission system

seduce_animate

void seduce_animate(BInputState *input, float *timer, boolean active, float speed);

Description: Animates a value between 0.0 and 1.0. If "active" is TRUE "timer" will go from 0.0 to 1.0 in "speed" seconds, If "active" is FALSE "timer" will go from 1.0 to 0.0 in "speed" seconds