mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-15 18:56:41 -04:00
allow to leave PC in other map
This commit is contained in:
parent
5c4cfaf314
commit
33fa026576
23 changed files with 515 additions and 319 deletions
|
@ -613,6 +613,7 @@ extern int bgr_handle; //cislo handle k obrazku pozadi;
|
|||
extern char enable_glmap; //povoluje globalni mapu;
|
||||
extern int charmin;
|
||||
extern int charmax;
|
||||
extern uint32_t current_map_hash;
|
||||
|
||||
extern int autoopenaction;
|
||||
extern int autoopendata;
|
||||
|
@ -971,6 +972,7 @@ typedef struct thuman
|
|||
int jidlo; //max 25000 //pocet kol o hladu zbyvajicich
|
||||
int voda; //max 20000 //pocet kol o zizny zbyvajicich
|
||||
struct thuman *demon_save; //ukazatel na postavu ulozenou behem kouzla demon
|
||||
uint32_t inmaphash; //hash nazvu mapy, kde se postavy nachazi
|
||||
}THUMAN;
|
||||
|
||||
extern TITEM *glob_items; //tabulka predmetu
|
||||
|
@ -1792,5 +1794,11 @@ void draw_console_window(void);
|
|||
void console_show(char show);
|
||||
char console_is_visible(void);
|
||||
|
||||
char *map_hash_to_string_impl(char *c, uint32_t h, int sz);
|
||||
#define map_hash_to_string(h) (map_hash_to_string_impl((char *)alloca(31), h, 30))
|
||||
const char *find_map_from_hash_impl(char *c, uint32_t h, int sz);
|
||||
#define find_map_from_hash(h) (find_map_from_hash_impl((char *)alloca(31), h, 30))
|
||||
char can_select_player(THUMAN *p, char select_dead, char select_far);
|
||||
|
||||
//extras
|
||||
#include "extras.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue