Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Computer.h

Go to the documentation of this file.
00001 #ifndef COMPUTER_H
00002 #define COMPUTER_H
00003 
00004 class Computer {        /*structure for Computers*/
00005 public:
00006         int type;               /*CPU type*/
00007         int os;                 /*current OS*/
00008         int x, y;               /*location*/
00009         int busy;               /*is the computer being used?*/
00010         int setup(int i);
00011         void draw();
00012         int find_stray();
00013         int oncomputer (int locx, int locy);
00014         int compatible(int system);
00015         int determineOS();
00016         static const int TOASTER = 0;   /* computer 0 is a toaster */
00017         static const int PC = 5;        /* type>=PC means the computer is a PC*/
00018         static const int OFFSET = 4;    /* offset of screen from 0,0 */
00019         static const int BORDER = 50;   /* BORDER pixels free on all sides*/
00020 };
00021 
00022 #endif

Generated on Sat Nov 5 16:17:19 2005 for OPIE by  doxygen 1.4.2