Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. #ifndef PUMPKIN_H
  2. #define PUMPKIN_H
  3.  
  4. typedef struct {
  5.         int id;
  6.         int hp;
  7.         int blink;
  8.         double x, y;
  9.         int dir;
  10.         double imageIndex;
  11.         int state, timer;
  12. } Pumpkinenemy;
  13.  
  14. void createPumpkinenemy(int x, int y);
  15.  
  16. typedef struct {
  17.         int id;
  18.         int dir;
  19.         double x, y;
  20.         double vsp;
  21.         double imageIndex;
  22.         int state, timer;
  23. } Pumpkinhead;
  24.  
  25. void createPumpkinhead(int x, int y, int dir);
  26.  
  27. #endif