home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / programming / stuff / Ants / h / antdata
Encoding:
Text File  |  1996-08-08  |  614 b   |  33 lines

  1. /*  Data for Ants  */
  2.  
  3. #define CHANGE_SCREEN_MODE 278
  4. #define CHANGE_COLOUR 274
  5. #define DEFAULT_NUMBER_OF_ANTS 25
  6. #define BLACK 0
  7. #define WHITE 3
  8. #define CIRCLESIZE 5
  9.  
  10. /*  Display variables */
  11.  
  12. int     screen_mode = 34
  13.        ,screen_width = 768
  14.        ,screen_height = 288
  15.        ,x_factor = 2
  16.        ,y_factor = 4;
  17.  
  18.  
  19. /*  Global  data */
  20.  
  21. enum directiontype            /*  Define an enumerated list for the direction  */
  22.      {up = 0
  23.      ,right
  24.      ,down
  25.      ,left} antd[1000];
  26.  
  27. int numants
  28.    ,antx[1000]                /*  Ooooer, should be using malloc()!!!  */
  29.    ,anty[1000];
  30.  
  31. _kernel_swi_regs   in,out;
  32.  
  33.