You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
555 B

  1. #ifndef COMPUTER_H
  2. #define COMPUTER_H
  3. struct Computer {
  4. int type; /* CPU type */
  5. int os; /* current OS */
  6. int x, y; /* location */
  7. int busy; /* is the computer being used? */
  8. Bill *stray;
  9. };
  10. int Computer_setup(Computer *computer, int i);
  11. void Computer_draw(Computer *computer);
  12. int Computer_on (Computer *computer, int locx, int locy);
  13. int Computer_compatible(Computer *computer, int system);
  14. void Computer_load_pix(void);
  15. int Computer_width(void);
  16. int Computer_height(void);
  17. #define COMPUTER_TOASTER 0 /* computer 0 is a toaster */
  18. #endif