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,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * |
5 | * |
6 | * Deliantra is free software: you can redistribute it and/or modify it under |
6 | * Deliantra is free software: you can redistribute it and/or modify it under |
7 | * the terms of the Affero GNU General Public License as published by the |
7 | * the terms of the Affero GNU General Public License as published by the |
8 | * Free Software Foundation, either version 3 of the License, or (at your |
8 | * Free Software Foundation, either version 3 of the License, or (at your |
9 | * option) any later version. |
9 | * option) any later version. |
… | |
… | |
37 | void move_apply (object *trap, object *victim, object *originator); |
37 | void move_apply (object *trap, object *victim, object *originator); |
38 | void do_learn_spell (object *op, object *spell, int special_prayer); |
38 | void do_learn_spell (object *op, object *spell, int special_prayer); |
39 | void do_forget_spell (object *op, const char *spell); |
39 | void do_forget_spell (object *op, const char *spell); |
40 | void apply_scroll (object *op, object *tmp, int dir); |
40 | void apply_scroll (object *op, object *tmp, int dir); |
41 | void apply_poison (object *op, object *tmp); |
41 | void apply_poison (object *op, object *tmp); |
42 | int manual_apply (object *op, object *tmp, int aflag); |
|
|
43 | int player_apply (object *pl, object *op, int aflag, int quiet); |
42 | bool player_apply (object *pl, object *op, int aflag); |
44 | void player_apply_below (object *pl); |
43 | void player_apply_below (object *pl); |
45 | int can_apply_object (object *who, object *op); |
44 | int can_apply_object (object *who, object *op); |
46 | int apply_special (object *who, object *op, int aflags); |
45 | int apply_special (object *who, object *op, int aflags); |
47 | int auto_apply (object *op); |
46 | int auto_apply (object *op); |
48 | void fix_auto_apply (maptile *m); |
47 | void fix_auto_apply (maptile *m); |
… | |
… | |
331 | void do_hidden_move (object *op); |
330 | void do_hidden_move (object *op); |
332 | int stand_near_hostile (object *who); |
331 | int stand_near_hostile (object *who); |
333 | int player_can_view (object *pl, object *op); |
332 | int player_can_view (object *pl, object *op); |
334 | int op_on_battleground (object *op, int *x, int *y); |
333 | int op_on_battleground (object *op, int *x, int *y); |
335 | void dragon_ability_gain (object *who, int atnr, int level); |
334 | void dragon_ability_gain (object *who, int atnr, int level); |
336 | void player_unready_range_ob (player *pl, object *ob); |
|
|
337 | |
335 | |
338 | /* resurrection.c */ |
336 | /* resurrection.c */ |
339 | int cast_raise_dead_spell (object *op, object *caster, object *spell, int dir, const char *arg); |
337 | int cast_raise_dead_spell (object *op, object *caster, object *spell, int dir, const char *arg); |
340 | |
338 | |
341 | /* rune.c */ |
339 | /* rune.c */ |