ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/sproto.h
(Generate patch)

Comparing deliantra/server/include/sproto.h (file contents):
Revision 1.83 by root, Sun Apr 20 00:44:12 2008 UTC vs.
Revision 1.90 by root, Fri Aug 29 02:12:25 2008 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * 5 *
6 * Deliantra is free software: you can redistribute it and/or modify 6 * Deliantra is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or 8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version. 9 * (at your option) any later version.
132int command_version (object *op, char *params); 132int command_version (object *op, char *params);
133void bug_report (const char *reportstring); 133void bug_report (const char *reportstring);
134int command_statistics (object *pl, char *params); 134int command_statistics (object *pl, char *params);
135int command_fix_me (object *op, char *params); 135int command_fix_me (object *op, char *params);
136int command_players (object *op, char *paramss); 136int command_players (object *op, char *paramss);
137int command_logs (object *op, char *params);
138int command_bowmode (object *op, char *params); 137int command_bowmode (object *op, char *params);
139int command_showpets (object *op, char *params); 138int command_showpets (object *op, char *params);
140int command_resistances (object *op, char *params); 139int command_resistances (object *op, char *params);
141int command_help (object *op, char *params); 140int command_help (object *op, char *params);
142int onoff_value (const char *line); 141int onoff_value (const char *line);
175int sack_can_hold (object *pl, object *sack, object *op, uint32 nrof); 174int sack_can_hold (object *pl, object *sack, object *op, uint32 nrof);
176void pick_up (object *op, object *alt); 175void pick_up (object *op, object *alt);
177int command_take (object *op, char *params); 176int command_take (object *op, char *params);
178void put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof); 177void put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof);
179void drop_object (object *op, object *tmp, uint32 nrof); 178void drop_object (object *op, object *tmp, uint32 nrof);
180void update_after_inventory_change (object *op);
181void drop (object *op, object *tmp); 179void drop (object *op, object *tmp);
182int command_dropall (object *op, char *params); 180int command_dropall (object *op, char *params);
183int command_drop (object *op, char *params); 181int command_drop (object *op, char *params);
184int command_examine (object *op, char *params); 182int command_examine (object *op, char *params);
185object *find_marked_object (object *op); 183object *find_marked_object (object *op);
196void remove_party (partylist *target_party); 194void remove_party (partylist *target_party);
197void obsolete_parties (void); 195void obsolete_parties (void);
198void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp); 196void add_kill_to_party (partylist *party, const char *killer, const char *dead, long exp);
199int confirm_party_password (object *op); 197int confirm_party_password (object *op);
200void receive_party_password (object *op, char k); 198void receive_party_password (object *op, char k);
201void send_party_message (object *op, char *msg); 199void send_party_message (object *op, const char *msg);
202int command_gsay (object *op, char *params); 200int command_gsay (object *op, char *params);
203int command_party (object *op, char *params); 201int command_party (object *op, char *params);
204 202
205/* c_range.c */ 203/* c_range.c */
206int command_invoke (object *op, char *params); 204int command_invoke (object *op, char *params);
346/* login.c */ 344/* login.c */
347void delete_character (const char *name); 345void delete_character (const char *name);
348int verify_player (const char *name, char *password); 346int verify_player (const char *name, char *password);
349int check_name (player *me, const char *name); 347int check_name (player *me, const char *name);
350int create_savedir_if_needed (char *savedir); 348int create_savedir_if_needed (char *savedir);
351void destroy_object (object *op);
352void copy_file (const char *filename, FILE *fpout); 349void copy_file (const char *filename, FILE *fpout);
353 350
354/* main.c */ 351/* main.c */
355void server_tick (); 352void server_tick ();
356void version (object *op); 353void version (object *op);
471object *find_key (object *pl, object *container, object *door); 468object *find_key (object *pl, object *container, object *door);
472bool move_player_attack (object *op, int dir); 469bool move_player_attack (object *op, int dir);
473bool move_player (object *op, int dir); 470bool move_player (object *op, int dir);
474bool handle_newcs_player (object *op); 471bool handle_newcs_player (object *op);
475int save_life (object *op); 472int save_life (object *op);
476char *gravestone_text (object *op); 473const char *gravestone_text (object *op);
477void do_some_living (object *op); 474void do_some_living (object *op);
478void kill_player (object *op); 475void kill_player (object *op);
479void loot_object (object *op); 476void loot_object (object *op);
480void fix_weight (void); 477void fix_weight (void);
481void fix_luck (void); 478void fix_luck (void);
515const char *query_cost_string (const object *tmp, object *who, int flag); 512const char *query_cost_string (const object *tmp, object *who, int flag);
516sint64 query_money (const object *op); 513sint64 query_money (const object *op);
517int pay_for_amount (sint64 to_pay, object *pl); 514int pay_for_amount (sint64 to_pay, object *pl);
518int pay_for_item (object *op, object *pl); 515int pay_for_item (object *op, object *pl);
519int can_pay (object *pl); 516int can_pay (object *pl);
520void sell_item (object *op, object *pl); 517bool sell_item (object *op, object *pl);
521double shopkeeper_approval (const maptile *map, const object *player); 518double shopkeeper_approval (const maptile *map, const object *player);
522int describe_shop (const object *op); 519int describe_shop (const object *op);
523void shop_listing (object *sign, object *op); 520void shop_listing (object *sign, object *op);
524bool is_in_shop (object *o); 521bool is_in_shop (object *o);
525bool is_in_shop (maptile *map, int x, int y); 522bool is_in_shop (maptile *map, int x, int y);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines