Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. #ifndef SKELETON_H
  2. #define SKELETON_H
  3.  
  4. #include "../collision.h"
  5.  
  6. typedef struct {
  7.         int id;
  8.         double x, y;
  9.         double hsp;
  10.         double imageIndex;
  11.         int dir;
  12.         int hp;
  13.         int state, timer, invincible;
  14.        
  15.         Mask mask;
  16. } Skeleton;
  17.  
  18. void createSkeleton(int x, int y, int dir);
  19.  
  20. typedef struct {
  21.         int id;
  22.         double x, y;
  23.         double hsp, vsp, grav;
  24.         double imageIndex;
  25.        
  26.         Mask mask;
  27. } Bone;
  28.  
  29. void createBone(int x, int y, int dir);
  30.  
  31. #endif