Entropie git · main
Entropie festival game; first steps
C 88.5% Markdown 9.1% GLSL 2.3%git clone https://git.christianimmanuel.de/games/Entropie.gitwget https://git.christianimmanuel.de/games/Entropie/archive/Entropie.tar.gzentropie/src/world/guests.h raw
#ifndef WORLD_GUESTS_H
#define WORLD_GUESTS_H
/*
* The festival's guests: made up from their number (a name, how they look,
* how they are), always the same for the same number - a save only needs
* the number. Two and two share a tent at the camping beyond the strip of
* wood, above the chicken farm.
*/
#include "world/world.h"
#define GUESTS 36 /* how many come */
#define GUEST_SPOTS (GUESTS / 2)
/* Guest number k (1 .. GUESTS) standing at at. */
Object *Guest_create(int k, Vec3 at);
/* The tent spot of guest k's pair (on the ground's height: y 0), the way its door looks. */
Vec3 Guest_campSpot(int k);
Vec3 Guest_campDoor(void);
/* Where they come in on foot (they parked in the chicken farm's yard) and go again. */
Vec3 Guest_gate(void);
/* The other one of the pair (shares the tent): its number. */
int Guest_mate(int k);
#endif /* WORLD_GUESTS_H */