1 | /* |
1 | /* |
2 | * static char *rcsid_define_h = |
2 | * static char *rcsid_define_h = |
3 | * "$Id: map.h,v 1.2 2006/02/21 11:00:07 root Exp $"; |
3 | * "$Id: map.h,v 1.3 2006/02/22 18:53:48 elmex Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
248 | * to be the same as name*/ |
248 | * to be the same as name*/ |
249 | const char *msg; /* the description of the region */ |
249 | const char *msg; /* the description of the region */ |
250 | uint32 counter; /* A generic counter for holding temporary data. */ |
250 | uint32 counter; /* A generic counter for holding temporary data. */ |
251 | sint8 fallback; /* whether, in the event of a region not existing, |
251 | sint8 fallback; /* whether, in the event of a region not existing, |
252 | * this should be the one we fall back on as the default */ |
252 | * this should be the one we fall back on as the default */ |
|
|
253 | char *jailmap; /*where a player that is arrested in this region should be imprisoned.*/ |
|
|
254 | sint16 jailx, jaily; /* The coodinates in jailmap to which the player should be sent. */ |
253 | } region; |
255 | } region; |
254 | |
256 | |
255 | |
257 | |
256 | typedef struct shopitem { |
258 | typedef struct shopitem { |
257 | const char *name; /* name of the item in question, null if it is the default item */ |
259 | const char *name; /* name of the item in question, null if it is the default item */ |
… | |
… | |
314 | char *shoprace; /* the preffered race of the local shopkeeper */ |
316 | char *shoprace; /* the preffered race of the local shopkeeper */ |
315 | double shopgreed; /* how much our shopkeeper overcharges */ |
317 | double shopgreed; /* how much our shopkeeper overcharges */ |
316 | uint64 shopmin; /* minimum price a shop will trade for */ |
318 | uint64 shopmin; /* minimum price a shop will trade for */ |
317 | uint64 shopmax; /* maximum price a shop will offer */ |
319 | uint64 shopmax; /* maximum price a shop will offer */ |
318 | char *msg; /* Message map creator may have left */ |
320 | char *msg; /* Message map creator may have left */ |
|
|
321 | char *maplore; /* Map lore information */ |
319 | char *tile_path[4]; /* path to adjoining maps */ |
322 | char *tile_path[4]; /* path to adjoining maps */ |
320 | struct mapdef *tile_map[4]; /* Next map, linked list */ |
323 | struct mapdef *tile_map[4]; /* Next map, linked list */ |
321 | char path[HUGE_BUF]; /* Filename of the map */ |
324 | char path[HUGE_BUF]; /* Filename of the map */ |
322 | } mapstruct; |
325 | } mapstruct; |
323 | |
326 | |