Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

typedefs.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int word
typedef unsigned short vect
typedef unsigned char byte

Enumerations

enum  bool {
  False, True, No = 0, Yes,
  Off = 0, On
}
enum  mode { Taxi, Bus, Subway }

Functions

bool between (int node, int min, int max)
int max (int a, int b)


Typedef Documentation

typedef unsigned char byte
 

Definition at line 15 of file typedefs.h.

Referenced by UserInterface::GetPlayerMove(), PushButton::name_button(), ComputerDetective::NumNodeTypes(), PopUpWin::PrepScreen(), and UserInterface::TransPop().

typedef unsigned short vect
 

Definition at line 14 of file typedefs.h.

Referenced by MapNode::find_vector(), and Map::vehicle().

typedef unsigned int word
 

Definition at line 13 of file typedefs.h.


Enumeration Type Documentation

enum bool
 

Enumeration values:
False 
True 
No 
Yes 
Off 
On 

Definition at line 17 of file typedefs.h.

Referenced by Rules::NoTurnsLeft().

00017 { False, True, No=0, Yes, Off=0, On };

enum mode
 

Enumeration values:
Taxi 
Bus 
Subway 

Definition at line 18 of file typedefs.h.

Referenced by Map::get_field(), MapNode::get_link(), MapNode::is_link(), and Video::Video().

00018 { Taxi, Bus, Subway };


Function Documentation

bool between int    node,
int    min,
int    max
[inline]
 

Definition at line 20 of file typedefs.h.

References False, max(), and True.

Referenced by Map::connected_to(), Route::find_join(), MapNode::find_link(), and Map::num_connections().

00021   { return ( (node >= min) && (node <= max) ) ? True : False; }

int max int    a,
int    b
[inline]
 

Definition at line 23 of file typedefs.h.

Referenced by between(), TextWin::CalcDim(), and Rules::RandomPos().

00024 {
00025   return (a>b)? a : b;
00026 }


Generated on Sun Jul 6 23:07:16 2003 for Scotland Yard by doxygen1.2.15