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

Comparing deliantra/server/include/libproto.h (file contents):
Revision 1.52 by root, Thu Jul 26 00:27:08 2007 UTC vs.
Revision 1.56 by root, Mon Apr 21 06:35:26 2008 UTC

1/* 1/*
2 * This file is part of Crossfire TRT, the Roguelike Realtime MORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team 4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992,2007 Frank Tore Johansen 6 * Copyright (©) 1992,2007 Frank Tore Johansen
7 * 7 *
8 * Crossfire TRT is free software: you can redistribute it and/or modify 8 * Deliantra is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or 10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version. 11 * (at your option) any later version.
12 * 12 *
13 * This program is distributed in the hope that it will be useful, 13 * This program is distributed in the hope that it will be useful,
16 * GNU General Public License for more details. 16 * GNU General Public License for more details.
17 * 17 *
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>. 19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 * 20 *
21 * The authors can be reached via e-mail to <crossfire@schmorp.de> 21 * The authors can be reached via e-mail to <support@deliantra.net>
22 */ 22 */
23 23
24/* anim.c */ 24/* anim.c */
25extern void free_all_anim(); 25extern void free_all_anim();
26extern void init_anim(); 26extern void init_anim();
158/* map.c */ 158/* map.c */
159extern const char *create_pathname (const char *name); 159extern const char *create_pathname (const char *name);
160extern int blocked_link(object *ob, maptile *m, int sx, int sy); 160extern int blocked_link(object *ob, maptile *m, int sx, int sy);
161extern void fix_container(object *container); 161extern void fix_container(object *container);
162/* object.c */ 162/* object.c */
163extern signed long sum_weight(object *op);
164extern object *object_get_env_recursive(object *op);
165extern char *dump_object(object *op); 163extern char *dump_object(object *op);
166extern void dump_me(object *op, char *outstr); 164extern void dump_me(object *op, char *outstr);
167extern object *get_nearest_part(object *op, const object *pl); 165extern object *get_nearest_part(object *op, const object *pl);
168extern object *find_object(tag_t i); 166extern object *find_object(tag_t i);
169extern object *find_object_name(const char *str); 167extern object *find_object_name(const char *str);
170extern void free_all_object_data(); 168extern void free_all_object_data();
171extern void update_turn_face(object *op); 169extern void update_turn_face(object *op);
172extern void update_object(object *op, int action); 170extern void update_object(object *op, int action);
173extern void sub_weight(object *op, signed long weight);
174extern object *merge_ob(object *op, object *top); 171extern object *merge_ob(object *op, object *top);
175extern object *insert_ob_in_map_at(object *op, maptile *m, object *originator, int flag, int x, int y); 172extern object *insert_ob_in_map_at(object *op, maptile *m, object *originator, int flag, int x, int y);
176extern object *insert_ob_in_map(object *op, maptile *m, object *originator, int flag); 173extern object *insert_ob_in_map(object *op, maptile *m, object *originator, int flag);
177extern void replace_insert_ob_in_map(const char *arch_string, object *op); 174extern void replace_insert_ob_in_map(const char *arch_string, object *op);
178extern object *get_split_ob(object *orig_ob, uint32 nr); 175extern object *get_split_ob(object *orig_ob, uint32 nr);
179extern object *decrease_ob_nr(object *op, uint32 i);
180extern void add_weight(object *op, signed long weight);
181extern object *insert_ob_in_ob(object *op, object *where); 176extern object *insert_ob_in_ob(object *op, object *where);
182extern int check_move_on(object *op, object *originator); 177extern int check_move_on(object *op, object *originator);
183extern object *present_arch(const archetype *at, maptile *m, int x, int y); 178extern object *present_arch(const archetype *at, maptile *m, int x, int y);
184extern object *present(unsigned char type, maptile *m, int x, int y); 179extern object *present(unsigned char type, maptile *m, int x, int y);
185extern object *present_in_ob(unsigned char type, const object *op); 180extern object *present_in_ob(unsigned char type, const object *op);
276extern void sleep_delta(); 271extern void sleep_delta();
277extern void get_tod(timeofday_t *tod); 272extern void get_tod(timeofday_t *tod);
278extern void print_tod(object *op); 273extern void print_tod(object *op);
279extern void time_info(object *op); 274extern void time_info(object *op);
280/* treasure.c */ 275/* treasure.c */
281extern void init_archetype_pointers();
282extern bool load_treasure_file(const char *filename); 276extern bool load_treasure_file(const char *filename);
283extern object *generate_treasure(treasurelist *t, int difficulty); 277extern object *generate_treasure(treasurelist *t, int difficulty);
284extern int level_for_item(const object *op, int difficulty); 278extern int level_for_item(const object *op, int difficulty);
285extern int magic_from_difficulty(int difficulty); 279extern int magic_from_difficulty(int difficulty);
286extern void set_abs_magic(object *op, int magic); 280extern void set_abs_magic(object *op, int magic);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines