--- deliantra/server/include/map.h 2006/02/03 07:12:49 1.1 +++ deliantra/server/include/map.h 2006/03/07 13:44:43 1.5 @@ -250,6 +250,8 @@ uint32 counter; /* A generic counter for holding temporary data. */ sint8 fallback; /* whether, in the event of a region not existing, * this should be the one we fall back on as the default */ + char *jailmap; /*where a player that is arrested in this region should be imprisoned.*/ + sint16 jailx, jaily; /* The coodinates in jailmap to which the player should be sent. */ } region; @@ -272,7 +274,6 @@ */ typedef struct mapdef { struct mapdef *next; /* Next map, linked list */ - char path[HUGE_BUF]; /* Filename of the map */ char *tmpname; /* Name of temporary file */ char *name; /* Name of map as given by its creator */ region *region; /* What jurisdiction in the game world this map is ruled by @@ -317,8 +318,10 @@ uint64 shopmin; /* minimum price a shop will trade for */ uint64 shopmax; /* maximum price a shop will offer */ char *msg; /* Message map creator may have left */ + char *maplore; /* Map lore information */ char *tile_path[4]; /* path to adjoining maps */ struct mapdef *tile_map[4]; /* Next map, linked list */ + char path[HUGE_BUF]; /* Filename of the map */ } mapstruct; /* This is used by get_rangevector to determine where the other @@ -338,4 +341,8 @@ object *part; } rv_vector; +extern void (*load_original_map_callback)(mapstruct *map); +extern void (*load_temporary_map_callback)(mapstruct *map); +extern void (*clean_temporary_map_callback)(mapstruct *map); + #endif