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/people/condition.h raw
#ifndef PEOPLE_CONDITION_H
#define PEOPLE_CONDITION_H
/*
* How a person is doing, and how it shows: drunkenness (wobbly steps,
* burps, passing out and sleeping it off), and the mood their body shows
* (their temperament, nudged by drink and by who is near).
*/
struct Object;
/* Before the hands and the body are animated. */
/* The cell grid to ask for who's around (or NULL: everyone is looked at). */
struct Grid;
void Condition_useGrid(struct Grid *grid);
void Condition_update(struct Object *self, struct Object *const *objects, int count,
float dt, float game_dt);
/* How heavy what they hold in their arms is for them: its weight over what
they can carry well (body weight, strength, fitness); 0.08 and less: light. */
float Condition_load(const struct Object *self);
#endif /* PEOPLE_CONDITION_H */