This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
api8/includes/animations.h

40 lines
786 B
C

#ifndef DEMO_ANIMATION_H
#define DEMO_ANIMATION_H 1
#include "audio.h"
#include "font.h"
#include "utils.h"
// Dimensions de la fenêtre
extern GLuint _dims[];
// Scène de manifestation
void manif(int);
// Scène du tag sur le mur
void tag(int);
// Crédits de fin
void credits(int);
// Initialisation des transitions
void transitions_init(void);
// Transition zoom
void zoom_in(void (*)(int), void (*)(int), Uint32, Uint32, int);
// Personnage
struct manifestant {
GLuint corps, tete, jambe_g, jambe_d, bras_g, bras_d;
// Offsets
GLfloat ox, oz;
};
// Génère un manifestant
void genManifestant(struct manifestant *);
// Dessine un manifestant
void drawManifestant(const char *, const struct manifestant *, const float,
const GLboolean);
#endif