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

44 lines
911 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
2023-05-23 12:56:32 +02:00
void manif(const int);
2023-05-19 13:14:48 +02:00
// Scène du tag sur le mur
2023-05-23 12:56:32 +02:00
void tag(const int);
2023-05-19 13:14:48 +02:00
// Crédits de fin
2023-05-23 12:56:32 +02:00
void credits(const int);
2023-05-19 12:30:47 +02:00
// Initialisation des transitions
2023-05-23 13:11:34 +02:00
void transitionsInit(void);
2023-05-19 12:30:47 +02:00
2023-05-19 11:44:09 +02:00
// Transition zoom
2023-05-23 13:11:34 +02:00
void zoomIn(void (*)(int), void (*)(int), Uint32, Uint32, const int);
2023-05-19 11:44:09 +02:00
2023-05-25 10:45:21 +02:00
// Transition qui se déforme
void twisting(void (*)(int), void (*)(int), Uint32, Uint32, const int);
2023-05-25 10:29:35 +02:00
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