Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. #ifndef DEVIL_H
  2. #define DEVIL_H
  3.  
  4. typedef struct {
  5.         int id;
  6.         double x, y;
  7.         double ystart, newystart;
  8.         double hsp;
  9.         int hp;
  10.         int state, timer;
  11.         int blink;
  12.         int boblen, bobspd;
  13.         double tailangle, bobcounter, rotcounter, rotspd;
  14.         double imageIndex;
  15. } Devil;
  16.  
  17. void createDevil(int x, int y);
  18.  
  19. typedef struct {
  20.         int id;
  21.         double x, y;
  22.         double dir;
  23.         double imageIndex;
  24. } Orb;
  25.  
  26. void createOrb(int x, int y, double dir);
  27.  
  28. #endif