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.7 by pippijn, Sun Jul 2 11:26:05 2006 UTC vs.
Revision 1.10 by elmex, Mon Aug 14 07:10:46 2006 UTC

1/* alchemy.c */ 1/* alchemy.c */
2const char *cost_string_from_value(uint64 cost, int approx);
3void pay_player (object *pl, uint64 amount);
4uint64 pay_player_arch (object *pl, const char *arch, uint64 amount);
2void attempt_do_alchemy(object *caster, object *cauldron); 5void attempt_do_alchemy(object *caster, object *cauldron);
3int content_recipe_value(object *op); 6int content_recipe_value(object *op);
4int numb_ob_inside(object *op); 7int numb_ob_inside(object *op);
5object *attempt_recipe(object *caster, object *cauldron, int ability, recipe *rp, int nbatches); 8object *attempt_recipe(object *caster, object *cauldron, int ability, recipe *rp, int nbatches);
6void adjust_product(object *item, int lvl, int yield); 9void adjust_product(object *item, int lvl, int yield);
330/* commands.c */ 333/* commands.c */
331void init_commands(void); 334void init_commands(void);
332CommFunc find_oldsocket_command(char *cmd); 335CommFunc find_oldsocket_command(char *cmd);
333CommFunc find_oldsocket_command2(char *cmd); 336CommFunc find_oldsocket_command2(char *cmd);
334/* daemon.c */ 337/* daemon.c */
335FILE *BecomeDaemon(char *filename); 338FILE *BecomeDaemon(const char *filename);
336/* disease.c */ 339/* disease.c */
337int move_disease(object *disease); 340int move_disease(object *disease);
338int remove_symptoms(object *disease); 341int remove_symptoms(object *disease);
339object *find_symptom(object *disease); 342object *find_symptom(object *disease);
340int check_infection(object *disease); 343int check_infection(object *disease);
420void add_to_racelist(const char *race_name, object *op); 423void add_to_racelist(const char *race_name, object *op);
421racelink *get_racelist(void); 424racelink *get_racelist(void);
422racelink *find_racelink(const char *name); 425racelink *find_racelink(const char *name);
423/* login.c */ 426/* login.c */
424void emergency_save(int flag); 427void emergency_save(int flag);
425void delete_character(const char *name, int new); 428void delete_character(const char *name, int);
426int verify_player(const char *name, char *password); 429int verify_player(const char *name, char *password);
427int check_name(player *me, const char *name); 430int check_name(player *me, const char *name);
428int create_savedir_if_needed(char *savedir); 431int create_savedir_if_needed(char *savedir);
429void destroy_object(object *op); 432void destroy_object(object *op);
430int save_player(object *op, int flag); 433int save_player(object *op, int flag);
506int push_ob(object *who, int dir, object *pusher); 509int push_ob(object *who, int dir, object *pusher);
507/* pets.c */ 510/* pets.c */
508object *get_pet_enemy(object *pet, rv_vector *rv); 511object *get_pet_enemy(object *pet, rv_vector *rv);
509void terminate_all_pets(object *owner); 512void terminate_all_pets(object *owner);
510void remove_all_pets(mapstruct *map); 513void remove_all_pets(mapstruct *map);
511void follow_owner(object *ob, object *owner); 514int follow_owner(object *ob, object *owner);
512void pet_move(object *ob); 515void pet_move(object *ob);
513object *fix_summon_pet(archetype *at, object *op, int dir, int is_golem); 516object *fix_summon_pet(archetype *at, object *op, int dir, int is_golem);
514void move_golem(object *op); 517void move_golem(object *op);
515void control_golem(object *op, int dir); 518void control_golem(object *op, int dir);
516int summon_golem(object *op, object *caster, int dir, object *spob); 519int summon_golem(object *op, object *caster, int dir, object *spob);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines