Debian Codegraph @

server/ob_types.c

raw symbols SCIP
1 /*
2 * Crossfire -- cooperative multi-player graphical RPG and adventure game
3 *
4 * Copyright (c) 1999-2014 Mark Wedel and the Crossfire Development Team
5 * Copyright (c) 1992 Frank Tore Johansen
6 *
7 * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
8 * welcome to redistribute it under certain conditions. For details, please
9 * see COPYING and LICENSE.
10 *
11 * The authors can be reached via e-mail at <[email protected]>.
12 */
13
14 /**
15 * @file
16 * Those functions deal with the object/type system.
17 */
18
19 #include <global.h>
20 #include <ob_types.h>
21 #include <ob_methods.h>
22
23 #ifndef __CEXTRACT__
24 #include <sproto.h>
25 #endif
26
27 /**
28 * Calls the intialization functions for all individual types.
29 * @todo this should probably be moved to a file in the types/ directory, to separate types and server.
30 */
31 void register_all_ob_types(void) {
32 /* init_type_foobar() here, where foobar is for a type. In other words,
33 * from here, call functions that register object methods for types.
34 */
35 init_type_altar();
36 init_type_armour_improver();
37 init_type_arrow();
38 init_type_blindness();
39 init_type_book();
40 init_type_button();
41 init_type_cf_handle();
42 init_type_check_inv();
43 init_type_clock();
44 init_type_container();
45 init_type_converter();
46 init_type_creator();
47 init_type_deep_swamp();
48 init_type_detector();
49 init_type_director();
50 init_type_duplicator();
51 init_type_exit();
52 init_type_food();
53 init_type_gate();
54 init_type_hole();
55 init_type_identify_altar();
56 init_type_lamp();
57 init_type_lighter();
58 init_type_marker();
59 init_type_mimic();
60 init_type_mood_floor();
61 init_type_peacemaker();
62 init_type_pedestal();
63 init_type_player_changer();
64 init_type_player_mover();
65 init_type_poison();
66 init_type_poisoning();
67 init_type_potion();
68 init_type_power_crystal();
69 init_type_rune();
70 init_type_savebed();
71 init_type_scroll();
72 init_type_shop_inventory();
73 init_type_shop_mat();
74 init_type_sign();
75 init_type_skillscroll();
76 init_type_spell_effect();
77 init_type_spellbook();
78 init_type_spinner();
79 init_type_teleporter();
80 init_type_thrown_object();
81 init_type_transport();
82 init_type_trap();
83 init_type_trapdoor();
84 init_type_treasure();
85 init_type_trigger();
86 init_type_trigger_altar();
87 init_type_trigger_button();
88 init_type_trigger_pedestal();
89 init_type_weapon_improver();
90 init_type_dragon_focus();
91 }