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

41 lines
786 B
C
Raw Normal View History

2023-05-08 13:09:58 +02:00
#ifndef DEMO_ANIMATION_H
#define DEMO_ANIMATION_H 1
#include "audio.h"
2023-05-03 21:07:59 +02:00
#include "font.h"
2023-05-08 13:10:39 +02:00
#include "utils.h"
// Dimensions de la fenêtre
extern GLuint _dims[];
2023-05-08 09:07:48 +02:00
// Scène de manifestation
void manif(int);
2023-05-19 13:14:48 +02:00
// Scène du tag sur le mur
void tag(int);
// Crédits de fin
void credits(int);
2023-05-19 12:30:47 +02:00
// Initialisation des transitions
void transitions_init(void);
2023-05-19 11:44:09 +02:00
// Transition zoom
void zoom_in(void (*)(int), void (*)(int), Uint32, Uint32, int);
2023-05-23 12:38:21 +02:00
// 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