polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

update.h (347B)


      1 
      2 #ifndef PA_UPDATE_H
      3 #define PA_UPDATE_H
      4 
      5 #include "engine.h"
      6 
      7 void update(struct engine *game);
      8 void gravity(struct entity *ent, float dt);
      9 void resize_fbos(struct entity *player, struct fbo *shadow_buffer,
     10                  float *mat4_ortho, int width, int height);
     11 
     12 void entity_jump(struct entity *ent, float amount);
     13 
     14 #endif /* PA_UPDATE_H */