home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 42 / af042b.adf / BULL5.LHA / structs.i < prev    next >
Text File  |  1992-11-19  |  1KB  |  33 lines

  1.  
  2. ********************************************************************************
  3. *                   oo                              oo                           *
  4. *                 \(  )/      Bullfrog Demo      \(  )/                           *
  5. *                 ^ ^^ ^        Structures        ^ ^^ ^                           *
  6. ********************************************************************************
  7.  
  8. *COLLECTABLE OBJECTS
  9.  
  10. OBJ_ON            equ    0            ;does the object exist
  11. OBJ_STATUS        equ    0            ;what state is it in
  12. OBJ_TO_DRAW        equ    2            ;Where to get all the x y and frame in one move
  13. OBJ_X            equ    2            ;where on the screen is it
  14. OBJ_Y            equ    4            ;y version of above
  15. OBJ_FRAME        equ    6            ;what is the frame being displayed
  16. OBJ_SIZE        equ    8            ;how big is each object.
  17.  
  18. ********************************************************************************
  19.  
  20. *Bad Guys
  21.  
  22. BAD_ON            equ     0            ;does the bad guy exist
  23. BAD_STATE        equ     0            ;and if so what type of guy is he
  24. BAD_TO_DRAW        equ     2            ;get x,y and frame is one easy go
  25. BAD_XY            equ     2            ;so we can get x and y together
  26. BAD_X            equ     2            ;bad guys x position
  27. BAD_Y            equ     4            ;bad guys y position
  28. BAD_FRAME        equ     6            ;current animation frame
  29. BAD_DELAY        equ     8            ;delay between changes in animation
  30. BAD_SIZE        equ    10            ;how much memory each bad guy takes
  31.  
  32. ********************************************************************************
  33.