… | |
… | |
11 | void flush_output_element(const object *pl, Output_Buf *outputs); |
11 | void flush_output_element(const object *pl, Output_Buf *outputs); |
12 | void new_draw_info(int flags, int pri, const object *pl, const char *buf); |
12 | void new_draw_info(int flags, int pri, const object *pl, const char *buf); |
13 | void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...); |
13 | void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...); |
14 | void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage); |
14 | void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage); |
15 | void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...); |
15 | void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...); |
16 | void new_info_map_except(int color, mapstruct *map, object *op, const char *str); |
16 | void new_info_map_except(int color, maptile *map, object *op, const char *str); |
17 | void new_info_map_except2(int color, mapstruct *map, object *op1, object *op2, const char *str); |
17 | void new_info_map_except2(int color, maptile *map, object *op1, object *op2, const char *str); |
18 | void new_info_map(int color, mapstruct *map, const char *str); |
18 | void new_info_map(int color, maptile *map, const char *str); |
19 | void clear_win_info(object *op); |
19 | void clear_win_info(object *op); |
20 | void rangetostring(object *pl, char *obuf); |
20 | void rangetostring(object *pl, char *obuf); |
21 | void set_title(object *pl, char *buf); |
21 | void set_title(object *pl, char *buf); |
22 | void magic_mapping_mark(object *pl, char *map_mark, int strength); |
22 | void magic_mapping_mark(object *pl, char *map_mark, int strength); |
23 | void draw_magic_map(object *pl); |
23 | void draw_magic_map(object *pl); |
… | |
… | |
59 | void SockList_AddInt64(SockList *sl, uint64 data); |
59 | void SockList_AddInt64(SockList *sl, uint64 data); |
60 | int GetInt_String(unsigned char *data); |
60 | int GetInt_String(unsigned char *data); |
61 | short GetShort_String(unsigned char *data); |
61 | short GetShort_String(unsigned char *data); |
62 | int SockList_ReadPacket(int fd, SockList *sl, int len); |
62 | int SockList_ReadPacket(int fd, SockList *sl, int len); |
63 | void write_socket_buffer(NewSocket *ns); |
63 | void write_socket_buffer(NewSocket *ns); |
64 | void Write_To_Socket(NewSocket *ns, unsigned char *buf, int len); |
64 | void Write_To_Socket(NewSocket *ns, char *buf, int len); |
65 | void cs_write_string(NewSocket *ns, const char *buf, int len); |
65 | void cs_write_string(NewSocket *ns, const char *buf, int len); |
66 | void Send_With_Handling(NewSocket *ns, SockList *msg); |
66 | void Send_With_Handling(NewSocket *ns, SockList *msg); |
67 | void Write_String_To_Socket(NewSocket *ns, char *buf, int len); |
67 | void Write_String_To_Socket(NewSocket *ns, char *buf, int len); |
68 | void write_cs_stats(void); |
68 | void write_cs_stats(void); |
69 | /* metaserver.c */ |
69 | /* metaserver.c */ |
… | |
… | |
81 | void VersionCmd(char *buf, int len, NewSocket *ns); |
81 | void VersionCmd(char *buf, int len, NewSocket *ns); |
82 | void SetSound(char *buf, int len, NewSocket *ns); |
82 | void SetSound(char *buf, int len, NewSocket *ns); |
83 | void MapRedrawCmd(char *buff, int len, player *pl); |
83 | void MapRedrawCmd(char *buff, int len, player *pl); |
84 | void ExtCmd(char *buff, int len, player *pl); |
84 | void ExtCmd(char *buff, int len, player *pl); |
85 | void MapInfoCmd(char *buff, int len, player *pl); |
85 | void MapInfoCmd(char *buff, int len, player *pl); |
86 | void MapNewmapCmd(player *pl); |
|
|
87 | void MoveCmd(char *buf, int len, player *pl); |
86 | void MoveCmd(char *buf, int len, player *pl); |
88 | void send_query(NewSocket *ns, uint8 flags, char *text); |
87 | void send_query(NewSocket *ns, uint8 flags, char *text); |
89 | void esrv_update_stats(player *pl); |
88 | void esrv_update_stats(player *pl); |
90 | void esrv_new_player(player *pl, uint32 weight); |
89 | void esrv_new_player(player *pl, uint32 weight); |
91 | void esrv_send_animation(NewSocket *ns, short anim_num); |
90 | void esrv_send_animation(NewSocket *ns, short anim_num); |
92 | int getExtendedMapInfoSize(NewSocket *ns); |
91 | int getExtendedMapInfoSize(NewSocket *ns); |
93 | void draw_client_map1(object *pl); |
92 | void draw_client_map1(object *pl); |
94 | void draw_client_map(object *pl); |
93 | void draw_client_map(object *pl); |
95 | void esrv_map_scroll(NewSocket *ns, int dx, int dy); |
|
|
96 | void send_plugin_custom_message(object *pl, char *buf); |
94 | void send_plugin_custom_message(object *pl, char *buf); |
97 | void send_skill_info(NewSocket *ns, char *params); |
95 | void send_skill_info(NewSocket *ns, char *params); |
98 | void send_spell_paths (NewSocket *ns, char *params); |
96 | void send_spell_paths (NewSocket *ns, char *params); |
99 | void esrv_update_spells(player *pl); |
97 | void esrv_update_spells(player *pl); |
100 | void esrv_remove_spell(player *pl, object *spell); |
98 | void esrv_remove_spell(player *pl, object *spell); |
101 | void esrv_add_spells(player *pl, object *spell); |
99 | void esrv_add_spells(player *pl, object *spell); |
102 | /* sounds.c */ |
100 | /* sounds.c */ |
103 | void play_sound_player_only(player *pl, short soundnum, sint8 x, sint8 y); |
101 | void play_sound_player_only(player *pl, short soundnum, sint8 x, sint8 y); |
104 | void play_sound_map(mapstruct *map, int x, int y, short sound_num); |
102 | void play_sound_map(maptile *map, int x, int y, short sound_num); |