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.64 by root, Fri May 18 01:01:01 2007 UTC vs.
Revision 1.67 by root, Mon May 28 21:15:56 2007 UTC

1/*
2 * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game.
3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
5 *
6 * Crossfire TRT is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51
18 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 * The authors can be reached via e-mail to <crossfire@schmorp.de>
21 */
22
1/* alchemy.c */ 23/* alchemy.c */
2int need_identify (const object *obj); 24int need_identify (const object *obj);
3int apply_shop_mat (object *shop_mat, object *op); 25int apply_shop_mat (object *shop_mat, object *op);
4const char *cost_string_from_value (sint64 cost, int approx); 26const char *cost_string_from_value (sint64 cost, int approx);
5void pay_player (object *pl, sint64 amount); 27void pay_player (object *pl, sint64 amount);
458object *find_better_arrow (object *op, object *target, const char *type, int *better); 480object *find_better_arrow (object *op, object *target, const char *type, int *better);
459object *pick_arrow_target (object *op, const char *type, int dir); 481object *pick_arrow_target (object *op, const char *type, int dir);
460int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy); 482int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy);
461int player_fire_bow (object *op, int dir); 483int player_fire_bow (object *op, int dir);
462void fire_misc_object (object *op, int dir); 484void fire_misc_object (object *op, int dir);
463void fire (object *op, int dir); 485bool fire (object *op, int dir);
464object *find_key (object *pl, object *container, object *door); 486object *find_key (object *pl, object *container, object *door);
465void move_player_attack (object *op, int dir); 487bool move_player_attack (object *op, int dir);
466int move_player (object *op, int dir); 488bool move_player (object *op, int dir);
467int handle_newcs_player (object *op); 489bool handle_newcs_player (object *op);
468int save_life (object *op); 490int save_life (object *op);
469void remove_unpaid_objects (object *op, object *env); 491void remove_unpaid_objects (object *op, object *env);
470char *gravestone_text (object *op); 492char *gravestone_text (object *op);
471void do_some_living (object *op); 493void do_some_living (object *op);
472void kill_player (object *op); 494void kill_player (object *op);
761void move_firewall (object *op); 783void move_firewall (object *op);
762void move_player_mover (object *op); 784void move_player_mover (object *op);
763void move_duplicator (object *op); 785void move_duplicator (object *op);
764void move_creator (object *creator); 786void move_creator (object *creator);
765void move_marker (object *op); 787void move_marker (object *op);
766int process_object (object *op); 788void process_object (object *op);
767 789
768/* timers.c */ 790/* timers.c */
769void cftimer_process_timers (void); 791void cftimer_process_timers (void);
770void cftimer_process_event (object *ob); 792void cftimer_process_event (object *ob);
771int cftimer_create (int id, long delay, object *ob, int mode); 793int cftimer_create (int id, long delay, object *ob, int mode);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines