| 1 |
root |
1.1 |
/* image.c */ |
| 2 |
|
|
int is_valid_faceset(int fsn); |
| 3 |
|
|
void free_socket_images(void); |
| 4 |
|
|
void read_client_images(void); |
| 5 |
root |
1.14 |
void SetFaceMode(char *buf, int len, client_socket *ns); |
| 6 |
|
|
void SendFaceCmd(char *buff, int len, client_socket *ns); |
| 7 |
|
|
void esrv_send_face(client_socket *ns, short face_num, int nocache); |
| 8 |
|
|
void send_image_info(client_socket *ns, char *params); |
| 9 |
|
|
void send_image_sums(client_socket *ns, char *params); |
| 10 |
root |
1.1 |
/* info.c */ |
| 11 |
root |
1.2 |
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); |
| 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); |
| 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 |
root |
1.7 |
void new_info_map_except(int color, maptile *map, object *op, 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, maptile *map, const char *str); |
| 19 |
root |
1.1 |
void clear_win_info(object *op); |
| 20 |
|
|
void rangetostring(object *pl, char *obuf); |
| 21 |
|
|
void set_title(object *pl, char *buf); |
| 22 |
|
|
void magic_mapping_mark(object *pl, char *map_mark, int strength); |
| 23 |
|
|
void draw_magic_map(object *pl); |
| 24 |
|
|
void Log_Kill(const char *Who, const char *What, int WhatType, const char *With, int WithType); |
| 25 |
|
|
/* init.c */ |
| 26 |
|
|
void init_ericserver(void); |
| 27 |
|
|
void free_all_newserver(void); |
| 28 |
root |
1.14 |
void free_newsocket(client_socket *ns); |
| 29 |
root |
1.1 |
void final_free_player(player *pl); |
| 30 |
|
|
/* item.c */ |
| 31 |
|
|
unsigned int query_flags(object *op); |
| 32 |
|
|
void esrv_draw_look(object *pl); |
| 33 |
|
|
void esrv_send_inventory(object *pl, object *op); |
| 34 |
|
|
void esrv_update_item(int flags, object *pl, object *op); |
| 35 |
|
|
void esrv_send_item(object *pl, object *op); |
| 36 |
|
|
void esrv_del_item(player *pl, int tag); |
| 37 |
|
|
object *esrv_get_ob_from_count(object *pl, tag_t count); |
| 38 |
|
|
void ExamineCmd(char *buf, int len, player *pl); |
| 39 |
|
|
void ApplyCmd(char *buf, int len, player *pl); |
| 40 |
|
|
void LockItem(uint8 *data, int len, player *pl); |
| 41 |
|
|
void MarkItem(uint8 *data, int len, player *pl); |
| 42 |
|
|
void look_at(object *op, int dx, int dy); |
| 43 |
|
|
void LookAt(char *buf, int len, player *pl); |
| 44 |
|
|
void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); |
| 45 |
|
|
/* loop.c */ |
| 46 |
root |
1.14 |
void RequestInfo(char *buf, int len, client_socket *ns); |
| 47 |
|
|
void Handle_Oldsocket(client_socket *ns); |
| 48 |
|
|
void HandleClient(client_socket *ns, player *pl); |
| 49 |
root |
1.1 |
void watchdog(void); |
| 50 |
root |
1.3 |
void flush_sockets(void); |
| 51 |
root |
1.1 |
void doeric_server(void); |
| 52 |
|
|
/* lowlevel.c */ |
| 53 |
root |
1.14 |
void Socket_Flush (client_socket *ns); |
| 54 |
|
|
void write_socket_buffer(client_socket *ns); |
| 55 |
|
|
void Send_With_Handling(client_socket *ns, packet *msg); |
| 56 |
root |
1.1 |
void write_cs_stats(void); |
| 57 |
|
|
/* request.c */ |
| 58 |
root |
1.14 |
void SetUp(char *buf, int len, client_socket *ns); |
| 59 |
|
|
void AddMeCmd(char *buf, int len, client_socket *ns); |
| 60 |
|
|
void ToggleExtendedInfos(char *buf, int len, client_socket *ns); |
| 61 |
|
|
void ToggleExtendedText (char *buf, int len, client_socket *ns); |
| 62 |
|
|
void AskSmooth(char *buf, int len, client_socket *ns); |
| 63 |
root |
1.1 |
void PlayerCmd(char *buf, int len, player *pl); |
| 64 |
|
|
void NewPlayerCmd(uint8 *buf, int len, player *pl); |
| 65 |
|
|
void ReplyCmd(char *buf, int len, player *pl); |
| 66 |
root |
1.14 |
void VersionCmd(char *buf, int len, client_socket *ns); |
| 67 |
|
|
void SetSound(char *buf, int len, client_socket *ns); |
| 68 |
root |
1.1 |
void MapRedrawCmd(char *buff, int len, player *pl); |
| 69 |
root |
1.4 |
void ExtCmd(char *buff, int len, player *pl); |
| 70 |
root |
1.2 |
void MapInfoCmd(char *buff, int len, player *pl); |
| 71 |
root |
1.1 |
void MoveCmd(char *buf, int len, player *pl); |
| 72 |
root |
1.14 |
void send_query(client_socket *ns, uint8 flags, char *text); |
| 73 |
root |
1.1 |
void esrv_update_stats(player *pl); |
| 74 |
|
|
void esrv_new_player(player *pl, uint32 weight); |
| 75 |
root |
1.14 |
void esrv_send_animation(client_socket *ns, short anim_num); |
| 76 |
|
|
int getExtendedMapInfoSize(client_socket *ns); |
| 77 |
root |
1.13 |
void draw_client_map(object *pl); |
| 78 |
root |
1.1 |
void draw_client_map1(object *pl); |
| 79 |
|
|
void send_plugin_custom_message(object *pl, char *buf); |
| 80 |
root |
1.14 |
void send_skill_info(client_socket *ns, char *params); |
| 81 |
|
|
void send_spell_paths (client_socket *ns, char *params); |
| 82 |
root |
1.1 |
void esrv_update_spells(player *pl); |
| 83 |
|
|
void esrv_remove_spell(player *pl, object *spell); |
| 84 |
|
|
void esrv_add_spells(player *pl, object *spell); |
| 85 |
|
|
/* sounds.c */ |
| 86 |
|
|
void play_sound_player_only(player *pl, short soundnum, sint8 x, sint8 y); |
| 87 |
root |
1.7 |
void play_sound_map(maptile *map, int x, int y, short sound_num); |