Main Page | Data Structures | Directories | File List | Data Fields | Globals

lcsvga.h File Reference

Go to the source code of this file.

Data Structures

struct  _disp

Typedefs

typedef _disp disp

Functions

void HandleError (char *, int)
int lc_get_keystroke (void)
void init_mouse (void)
void mouse_set_range (int width, int height)

Variables

unsigned char mouse_pointer []
unsigned char under_mouse_pointer []
disp display
int pix_double


Typedef Documentation

typedef struct _disp disp
 


Function Documentation

void HandleError char *  ,
int 
 

Definition at line 240 of file lcsvga.c.

00241 {
00242   fprintf (stderr,
00243            _("An error has occurred.  The description is below...\n"));
00244   fprintf (stderr, "%s\n", description);
00245 
00246   if (degree == FATAL) {
00247       fprintf (stderr, _("Program aborting...\n"));
00248       exit (-1);
00249     }
00250 }

void init_mouse void   ) 
 

Definition at line 253 of file lcsvga.c.

00254 {
00255     mouse_setup ();
00256 }

int lc_get_keystroke void   ) 
 

Definition at line 196 of file lcsvga.c.

00197 {
00198     return vga_getkey ();
00199 }

void mouse_set_range int  width,
int  height
 

Definition at line 111 of file lcsvga.c.

00112 {
00113     debug_printf ("setting mouse range: %d %d\n", width, height);
00114     mouse_setxrange(0, width - 1);
00115     mouse_setyrange(0, height - 1);
00116     cs_mouse_xmax = width - 1;
00117     cs_mouse_ymax = height - 1;
00118 }


Variable Documentation

disp display
 

Definition at line 122 of file cliglobs.c.

unsigned char mouse_pointer[]
 

Definition at line 21 of file lcsvga.c.

int pix_double
 

Definition at line 19 of file shrglobs.c.

unsigned char under_mouse_pointer[]
 

Definition at line 31 of file lcsvga.c.


Generated on Sun Dec 26 11:23:30 2004 for lincity by  doxygen 1.3.9.1