Crossfire Server, Trunk
|
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | AVG_PT -10 |
#define | BASE_ALT -100 |
#define | MAP_FORMAT "world_%03d_%03d" |
#define | MAP_SIZE 50 |
#define | MAX(x, y) ((x)>(y)?(x):(y)) |
#define | MAX_SIZE 3000 |
#define | NUM_PASSES 3 |
Enumerations | |
enum | Terrain_Types { None =0, DeepWater =1, MediumWater =2, ShallowWater =3, Swamp =4, DeepSwamp =5, Grass =6, Desert =7, Brush =8, EverGreens =9, Jungle =10, Tree1 =11, Tree2 =12, Woods1 =13, Woods2 =14, Woods3 =15, Hills =16, HillsRocky =17, Steppe =18, Mountain =19, HighMountain =20, WasteLand =21, Beach = 22, VeryHighMountain =23 } |
Functions | |
main (int argc, char *argv) | |
void | write_crossfire_maps (int mapy, int mapx) |
Variables | |
int | altitude [MAX_SIZE][MAX_SIZE] |
int | startx =100 |
int | starty =100 |
char * | Terrain_Names [][2] |
#define AVG_PT -10 |
#define NUM_PASSES 3 |
enum Terrain_Types |
main | ( | int | argc, |
char * | argv | ||
) |
Definition at line 277 of file land.c.
References disinfect::a, altitude, AVG_PT, BASE_ALT, c, banquet::l, MAX_SIZE, NUM_PASSES, ring_occidental_mages::r, startx, starty, write_crossfire_maps(), diamondslots::x, diamondslots::y, and Moving_Fog::z.
void write_crossfire_maps | ( | int | mapy, |
int | mapx | ||
) |
Definition at line 97 of file land.c.
References altitude, Beach, DeepWater, EverGreens, Grass, HighMountain, Hills, MAP_FORMAT, MAP_SIZE, MediumWater, Mountain, give::name, None, item::q, ShallowWater, startx, starty, Swamp, Terrain_Names, VeryHighMountain, WasteLand, diamondslots::x, and diamondslots::y.
Referenced by main().
Definition at line 10 of file land.c.
Referenced by main(), and write_crossfire_maps().
int startx =100 |
Definition at line 34 of file land.c.
Referenced by main(), and write_crossfire_maps().
int starty =100 |
Definition at line 34 of file land.c.
Referenced by main(), and write_crossfire_maps().
char* Terrain_Names[][2] |
Definition at line 63 of file land.c.
Referenced by write_crossfire_maps().