mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-11-19 11:31:13 +00:00
41 lines
818 B
C
41 lines
818 B
C
/*
|
|
* Apple // emulator for *nix
|
|
*
|
|
* This software package is subject to the GNU General Public License
|
|
* version 2 or later (your choice) as published by the Free Software
|
|
* Foundation.
|
|
*
|
|
* THERE ARE NO WARRANTIES WHATSOEVER.
|
|
*
|
|
*/
|
|
|
|
#include "common.h"
|
|
|
|
#ifndef _GLANIMATION_H_
|
|
#define _GLANIMATION_H_
|
|
|
|
typedef struct glanim_t {
|
|
void (*ctor)(void);
|
|
void (*dtor)(void);
|
|
void (*render)(void);
|
|
void (*reshape)(int w, int h);
|
|
} glanim_t;
|
|
|
|
// register an animation
|
|
void gldriver_register_animation(glanim_t *anim);
|
|
|
|
// initialize animations module
|
|
void gldriver_animation_init(void);
|
|
|
|
// destroy animations module
|
|
void gldriver_animation_destroy(void);
|
|
|
|
// renders the animation
|
|
void gldriver_animation_render(void);
|
|
|
|
// renders the animation
|
|
void gldriver_animation_reshape(int w, int h);
|
|
|
|
#endif
|
|
|