callrb.h 524 B

123456789101112131415161718192021222324252627282930
  1. #ifndef collide_H_INCLUDED
  2. #define collide_H_INCLUDED
  3. #include "thing.h"
  4. #include "state.h"
  5. enum CollisionKinds_ {
  6. COLLIDE_BEGIN = 1,
  7. COLLIDE_COLLIDING = 2,
  8. COLLIDE_END = 3
  9. };
  10. int callrb_collide_things(Thing * t1, Thing * t2, int kind, void * data);
  11. int callrb_collide_hulls(BumpHull * h1, BumpHull * h2, int kind, void * data);
  12. int callrb_sprite_event(SpriteState * spritestate, int kind, void * data);
  13. int callrb_on_start();
  14. int callrb_on_reload();
  15. int callrb_on_update(State * self);
  16. #endif