version 1.24 | | version 1.25 |
---|
| | |
int is_valid_faceset(int fsn); | | int is_valid_faceset(int fsn); |
void free_socket_images(void); | | void free_socket_images(void); |
void read_client_images(void); | | void read_client_images(void); |
void SetFaceMode(char *buf, int len, NewSocket *ns); | | void set_face_mode_cmd(char *buf, int len, socket_struct *ns); |
void SendFaceCmd(char *buff, int len, NewSocket *ns); | | void send_face_cmd(char *buff, int len, socket_struct *ns); |
void esrv_send_face(NewSocket *ns, short face_num, int nocache); | | void esrv_send_face(socket_struct *ns, short face_num, int nocache); |
void send_image_info(NewSocket *ns, char *params); | | void send_image_info(socket_struct *ns, char *params); |
void send_image_sums(NewSocket *ns, char *params); | | void send_image_sums(socket_struct *ns, char *params); |
/* info.c */ | | /* info.c */ |
void flush_output_element(const object *pl, Output_Buf *outputs); | | void flush_output_element(const object *pl, Output_Buf *outputs); |
void new_draw_info(int flags, int pri, const object *pl, const char *buf); | | void new_draw_info(int flags, int pri, const object *pl, const char *buf); |
| | |
void set_title(object *pl, char *buf); | | void set_title(object *pl, char *buf); |
void magic_mapping_mark(object *pl, char *map_mark, int strength); | | void magic_mapping_mark(object *pl, char *map_mark, int strength); |
void draw_magic_map(object *pl); | | void draw_magic_map(object *pl); |
void Log_Kill(const char *Who, const char *What, int WhatType, const char *With, int WithType); | | void log_kill(const char *Who, const char *What, int WhatType, const char *With, int WithType); |
/* init.c */ | | /* init.c */ |
void InitConnection(NewSocket *ns, const char *from_ip); | | void init_connection(socket_struct *ns, const char *from_ip); |
void init_ericserver(void); | | void init_ericserver(void); |
void free_all_newserver(void); | | void free_all_newserver(void); |
void free_newsocket(NewSocket *ns); | | void free_newsocket(socket_struct *ns); |
void final_free_player(player *pl); | | void final_free_player(player *pl); |
/* item.c */ | | /* item.c */ |
unsigned int query_flags(object *op); | | unsigned int query_flags(object *op); |
| | |
void esrv_send_item(object *pl, object *op); | | void esrv_send_item(object *pl, object *op); |
void esrv_del_item(player *pl, int tag); | | void esrv_del_item(player *pl, int tag); |
object *esrv_get_ob_from_count(object *pl, tag_t count); | | object *esrv_get_ob_from_count(object *pl, tag_t count); |
void ExamineCmd(char *buf, int len, player *pl); | | void examine_cmd(char *buf, int len, player *pl); |
void ApplyCmd(char *buf, int len, player *pl); | | void apply_cmd(char *buf, int len, player *pl); |
void LockItem(uint8 *data, int len, player *pl); | | void lock_item_cmd(uint8 *data, int len, player *pl); |
void MarkItem(uint8 *data, int len, player *pl); | | void mark_item_cmd(uint8 *data, int len, player *pl); |
void look_at(object *op, int dx, int dy); | | void look_at(object *op, int dx, int dy); |
void LookAt(char *buf, int len, player *pl); | | void look_at_cmd(char *buf, int len, player *pl); |
void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); | | void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); |
/* loop.c */ | | /* loop.c */ |
void RequestInfo(char *buf, int len, NewSocket *ns); | | void request_info_cmd(char *buf, int len, socket_struct *ns); |
void Handle_Oldsocket(NewSocket *ns); | | void handle_oldsocket(socket_struct *ns); |
void HandleClient(NewSocket *ns, player *pl); | | void handle_client(socket_struct *ns, player *pl); |
void watchdog(void); | | void watchdog(void); |
void doeric_server(void); | | void doeric_server(void); |
/* lowlevel.c */ | | /* lowlevel.c */ |
| | |
int GetInt_String(unsigned char *data); | | int GetInt_String(unsigned char *data); |
short GetShort_String(unsigned char *data); | | short GetShort_String(unsigned char *data); |
int SockList_ReadPacket(int fd, SockList *sl, int len); | | int SockList_ReadPacket(int fd, SockList *sl, int len); |
void write_socket_buffer(NewSocket *ns); | | void write_socket_buffer(socket_struct *ns); |
void Write_To_Socket(NewSocket *ns, unsigned char *buf, int len); | | void Write_To_Socket(socket_struct *ns, unsigned char *buf, int len); |
void cs_write_string(NewSocket *ns, const char *buf, int len); | | void cs_write_string(socket_struct *ns, const char *buf, int len); |
void Send_With_Handling(NewSocket *ns, SockList *msg); | | void Send_With_Handling(socket_struct *ns, SockList *msg); |
void Write_String_To_Socket(NewSocket *ns, char *buf, int len); | | void Write_String_To_Socket(socket_struct *ns, char *buf, int len); |
void write_cs_stats(void); | | void write_cs_stats(void); |
/* metaserver.c */ | | /* metaserver.c */ |
void metaserver_init(void); | | void metaserver_init(void); |
void metaserver_update(void); | | void metaserver_update(void); |
/* request.c */ | | /* request.c */ |
void SetUp(char *buf, int len, NewSocket *ns); | | void set_up_cmd(char *buf, int len, socket_struct *ns); |
void AddMeCmd(char *buf, int len, NewSocket *ns); | | void add_me_cmd(char *buf, int len, socket_struct *ns); |
void ToggleExtendedInfos(char *buf, int len, NewSocket *ns); | | void toggle_extended_infos_cmd(char *buf, int len, socket_struct *ns); |
void ToggleExtendedText (char *buf, int len, NewSocket *ns); | | void toggle_extended_text_cmd(char *buf, int len, socket_struct *ns); |
void AskSmooth(char *buf, int len, NewSocket *ns); | | void ask_smooth_cmd(char *buf, int len, socket_struct *ns); |
void PlayerCmd(char *buf, int len, player *pl); | | void player_cmd(char *buf, int len, player *pl); |
void NewPlayerCmd(uint8 *buf, int len, player *pl); | | void new_player_cmd(uint8 *buf, int len, player *pl); |
void ReplyCmd(char *buf, int len, player *pl); | | void reply_cmd(char *buf, int len, player *pl); |
void VersionCmd(char *buf, int len, NewSocket *ns); | | void version_cmd(char *buf, int len, socket_struct *ns); |
void SetSound(char *buf, int len, NewSocket *ns); | | void set_sound_cmd(char *buf, int len, socket_struct *ns); |
void MapRedrawCmd(char *buff, int len, player *pl); | | void map_redraw_cmd(char *buff, int len, player *pl); |
void MapNewmapCmd(player *pl); | | void map_newmap_cmd(player *pl); |
void MoveCmd(char *buf, int len, player *pl); | | void move_cmd(char *buf, int len, player *pl); |
void send_query(NewSocket *ns, uint8 flags, char *text); | | void send_query(socket_struct *ns, uint8 flags, char *text); |
void esrv_update_stats(player *pl); | | void esrv_update_stats(player *pl); |
void esrv_new_player(player *pl, uint32 weight); | | void esrv_new_player(player *pl, uint32 weight); |
void esrv_send_animation(NewSocket *ns, short anim_num); | | void esrv_send_animation(socket_struct *ns, short anim_num); |
int getExtendedMapInfoSize(NewSocket *ns); | | |
void draw_client_map1(object *pl); | | void draw_client_map1(object *pl); |
void draw_client_map(object *pl); | | void draw_client_map(object *pl); |
void esrv_map_scroll(NewSocket *ns, int dx, int dy); | | void esrv_map_scroll(socket_struct *ns, int dx, int dy); |
void send_plugin_custom_message(object *pl, char *buf); | | void send_plugin_custom_message(object *pl, char *buf); |
void send_skill_info(NewSocket *ns, char *params); | | void send_skill_info(socket_struct *ns, char *params); |
void send_spell_paths (NewSocket *ns, char *params); | | void send_spell_paths (socket_struct *ns, char *params); |
void esrv_update_spells(player *pl); | | void esrv_update_spells(player *pl); |
void esrv_remove_spell(player *pl, object *spell); | | void esrv_remove_spell(player *pl, object *spell); |
void esrv_add_spells(player *pl, object *spell); | | void esrv_add_spells(player *pl, object *spell); |