~netrek-developers/netrek-client-cow/trunk

« back to all changes in this revision

Viewing changes to map.h

  • Committer: Collin Pruitt
  • Date: 2009-05-12 04:30:09 UTC
  • Revision ID: collinp111@gmail.com-20090512043009-3jsjojoyrk16oass
Initial upload - updated from http://james.tooraweenah.com/darcs/netrek-client-cow/ using darcs (hince the existnace of _darcs), fully patched.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * map.h
 
3
 *
 
4
 * Functions to maintain the galactic map.  This file is a merger
 
5
 * of code from redraw.c, which was too big before, and planets.c,
 
6
 * which was too small.
 
7
 *
 
8
 */
 
9
 
 
10
#ifndef h_map
 
11
#define h_map
 
12
        
 
13
 
 
14
/*
 
15
 *  Global Variables:
 
16
 *
 
17
 *  redrawall           -- Erase and redraw the galactic?
 
18
 *  redrawPlayer[]      -- Flag for each player on whether their position
 
19
 *                              on the galactic is not out of date.
 
20
 */
 
21
 
 
22
extern int redrawall;
 
23
extern unsigned char redrawPlayer[];
 
24
 
 
25
 
 
26
/* Global Functions */
 
27
 
 
28
void
 
29
initPlanets(void);
 
30
/*
 
31
 *  Make a rough map of the location of all the planets to help decide
 
32
 *  whether a ship is possibly overlapping a planet.
 
33
 */
 
34
 
 
35
 
 
36
void map(void);
 
37
/*
 
38
 *  Update the 'galactic' map.
 
39
 */
 
40
 
 
41
 
 
42
#endif /*defined h_map */
 
43