~ubuntu-branches/ubuntu/utopic/xbill/utopic

« back to all changes in this revision

Viewing changes to Computer.h

  • Committer: Bazaar Package Importer
  • Author(s): Adrian Bridgett
  • Date: 2001-06-24 22:44:40 UTC
  • Revision ID: james.westby@ubuntu.com-20010624224440-r8kbgt5ae7q1230g
Tags: upstream-2.0
ImportĀ upstreamĀ versionĀ 2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef COMPUTER_H
 
2
#define COMPUTER_H
 
3
 
 
4
class Computer {        /*structure for Computers*/
 
5
public:
 
6
        int type;               /*CPU type*/
 
7
        int os;                 /*current OS*/
 
8
        int x, y;               /*location*/
 
9
        int busy;               /*is the computer being used?*/
 
10
        int setup(int i);
 
11
        void draw();
 
12
        int find_stray();
 
13
        int oncomputer (int locx, int locy);
 
14
        int compatible(int system);
 
15
        int determineOS();
 
16
        static const int TOASTER = 0;   /* computer 0 is a toaster */
 
17
        static const int PC = 5;        /* type>=PC means the computer is a PC*/
 
18
        static const int OFFSET = 4;    /* offset of screen from 0,0 */
 
19
        static const int BORDER = 50;   /* BORDER pixels free on all sides*/
 
20
};
 
21
 
 
22
#endif