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/dog.h raw
#ifndef PEOPLE_DOG_H
#define PEOPLE_DOG_H
/*
* Alice, the dachshund.
*
* She trots after you when you walk off, sniffs around, begs from anyone
* holding a sausage, comes when called (R), wags her tail when petted
* (click on her) and lies down by a burning fire. A woof now and then.
*/
#include "world/object.h"
#include "render/renderer.h"
void Dog_update(Object *dog, Object *const *objects, int count, float dt);
/* Called by name: she comes running. */
void Dog_call(Object *dog, const Object *player);
/* Petted: tail wagging, happy noises. */
void Dog_pet(Object *dog);
/* Body, legs and tail. */
void Dog_draw(Renderer *r, const Object *dog);
/* Frees the shared leg and tail meshes. */
void Dog_shutdown(void);
#endif /* PEOPLE_DOG_H */