12 void AnimCmd(
unsigned char *data,
int len);
13 void SmoothCmd(
unsigned char *data,
int len);
18 void StatsCmd(
unsigned char *data,
int len);
21 void PlayerCmd(
unsigned char *data,
int len);
23 void Item2Cmd(
unsigned char *data,
int len);
30 void NewmapCmd(
unsigned char *data,
int len);
31 void Map2Cmd(
unsigned char *data,
int len);
33 int ExtSmooth(
unsigned char *data,
int len,
int x,
int y,
int layer);
36 void SinkCmd(
unsigned char *data,
int len);
72 void update_item(
int tag,
int loc,
char *
name,
int weight,
int face,
int flags,
int anim,
int animspeed,
uint32 nrof,
int type);
115 void LOG(
LogLevel level,
const char *origin,
const char *format, ...);
149 int send_command(
const char *command,
int repeat,
int must_send);
151 void command_take(
const char *command,
const char *cpnext);
short GetShort_String(const unsigned char *data)
void metaserver_show(int show_selection)
void CompleteCmd(unsigned char *data, int len)
void animate_objects(void)
void mapdata_set_size(int viewx, int viewy)
void MapExtendedCmd(unsigned char *data, int len)
void update_item(int tag, int loc, char *name, int weight, int face, int flags, int anim, int animspeed, uint32 nrof, int type)
int setLogListener(LogListener li)
void mapdata_animation(void)
void script_lua_list(const char *param)
int script_lua_command(const char *command, const char *param)
int SockList_ReadPacket(int fd, SockList *sl, int len)
void mapdata_scroll(int dx, int dy)
item * create_new_item(item *env, sint32 tag)
void set_item_values(item *op, char *name, sint32 weight, uint16 face, uint16 flags, uint16 anim, uint16 animspeed, uint32 nrof, uint16 type)
void AddspellCmd(unsigned char *data, int len)
void mapdata_clear_old(int x, int y)
void logChildPipe(ChildProcess *child, LogLevel level, int flag)
int metaserver_select(char *sel)
void DrawExtInfoCmd(char *data, int len)
void clear_fire_run(void)
void logPipe(ChildProcess *child, LogLevel level, int pipe)
void SockList_AddChar(SockList *sl, char c)
void finish_face_cmd(int pnum, uint32 checksum, int has_sum, char *face, int faceset)
void script_lua_kill(const char *param)
void UpdateItemCmd(unsigned char *data, int len)
int make_path_to_dir(char *directory)
int ExtSmooth(unsigned char *data, int len, int x, int y, int layer)
void SendSetFaceMode(ClientSocket csock, int mode)
void ExtendedInfoSetCmd(char *data, int len)
void StatsCmd(unsigned char *data, int len)
void SmoothCmd(unsigned char *data, int len)
void client_send_apply(int tag)
void mapdata_newmap(void)
void DrawInfoCmd(char *data, int len)
char * getLogTextRaw(LogLevel level, const char *origin, const char *message)
int mapdata_is_inside(int x, int y)
void Item2Cmd(unsigned char *data, int len)
void(* ExtTextManager)(int flag, int type, int subtype, char *message)
void SockList_AddString(SockList *sl, const char *str)
void get_image_sums(char *data, int len)
sint64 GetInt64_String(const unsigned char *data)
void UpdspellCmd(unsigned char *data, int len)
void TickCmd(uint8 *data, int len)
size_t metaserver2_writer(void *ptr, size_t size, size_t nmemb, void *data)
void Face2Cmd(uint8 *data, int len)
void * metaserver2_thread(void *junk)
void item_actions(item *op)
int metaserver2_get_info(void)
int make_path_to_file(char *filename)
void NewmapCmd(unsigned char *data, int len)
uint8 get_type_from_name(const char *name)
int metaserver_check_status(void)
void command_take(const char *command, const char *cpnext)
void Map2Cmd(unsigned char *data, int len)
void move_player(int dir)
void map_scrollCmd(char *data, int len)
void new_player(long tag, char *name, long weight, long face)
void print_inventory(item *op)
sint16 mapdata_face(int x, int y, int layer)
void PlayerCmd(unsigned char *data, int len)
void reset_client_vars(void)
void mapdata_set_smooth(int x, int y, int smooth, int layer)
void get_image_info(uint8 *data, int len)
int GetInt_String(const unsigned char *data)
void AddMeFail(char *data, int len)
int cs_print_string(int fd, const char *str,...)
void remove_item(item *op)
int init_connection(char *host, int port)
void DeleteItem(unsigned char *data, int len)
void SendAddMe(ClientSocket csock)
void DeleteInventory(unsigned char *data, int len)
void reset_image_cache_data(void)
void SetupCmd(char *buf, int len)
void clearLogListener(void)
void update_item_sort(item *it)
void look_at(int x, int y)
void VersionCmd(char *data, int len)
int SockList_Send(SockList *sl, int fd)
sint16 mapdata_bigface(int x, int y, int layer, int *ww, int *hh)
void setTextManager(int type, ExtTextManager callback)
void client_send_examine(int tag)
void SinkCmd(unsigned char *data, int len)
void DoClient(ClientSocket *csocket)
void remove_item_inventory(item *op)
void send_reply(const char *text)
item * locate_item(sint32 tag)
void negotiate_connection(int sound)
sint16 mapdata_bigface_head(int x, int y, int layer, int *ww, int *hh)
void inscribe_magical_scroll(item *scroll, Spell *spell)
void reset_player_data(void)
void SendVersion(ClientSocket csock)
void mapdata_set_check_space(int x, int y)
void send_mark_obj(item *op)
void SockList_AddShort(SockList *sl, uint16 data)
void init_metaserver(void)
void mapdata_clear_space(int x, int y)
void script_lua_stats(void)
const char * get_number(uint32 i)
void MagicMapCmd(unsigned char *data, int len)
void use_skill(int skill_id)
void display_newpng(int face, uint8 *buf, int buflen, int setnum)
void DeleteSpell(unsigned char *data, int len)
void PickupCmd(uint8 *data, int len)
void handle_query(char *data, int len)
void(* LogListener)(LogEntry *)
void SockList_Init(SockList *sl, uint8 *buf)
void AddMeSuccess(char *data, int len)
void ReplyInfoCmd(uint8 *buf, int len)
char GetChar_String(const unsigned char *data)
void toggle_locked(item *op)
int check_server_version(int entry)
void mapdata_set_anim_layer(int x, int y, uint16 anim, uint8 anim_speed, int layer)
void init_client_vars(void)
void script_lua_load(const char *name)
void * metaserver1_thread(void *junk)
void GoodbyeCmd(char *data, int len)
int metaserver_get_info(char *metaserver, int meta_port)
void client_send_move(int loc, int tag, int nrof)
void purgePipe(ChildProcess *cp, int pipe)
ChildProcess * raiseChild(char *name, int flag)
int can_write_spell_on(item *it)
int metaserver1_get_info(void)
char * getLogText(const LogEntry *le)
void SockList_AddInt(SockList *sl, uint32 data)
void free_all_items(item *op)
void mapdata_set_face_layer(int x, int y, sint16 face, int layer)
void requestface(int pnum, char *facename)
void AnimCmd(unsigned char *data, int len)
void Image2Cmd(uint8 *data, int len)
int send_command(const char *command, int repeat, int must_send)
void LOG(LogLevel level, const char *origin, const char *format,...)
void mapdata_set_darkness(int x, int y, int darkness)
char * strdup_local(const char *str)
void init_common_cache_data(void)