1 | /* |
1 | /* |
2 | * static char *rcsid_commands_c = |
2 | * static char *rcsid_commands_c = |
3 | * "$Id: commands.c,v 1.2 2006/03/20 06:25:40 root Exp $"; |
3 | * "$Id: commands.c,v 1.3 2006/05/01 18:39:04 pippijn Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
52 | {"party", command_party, 0.0}, |
52 | {"party", command_party, 0.0}, |
53 | {"gsay", command_gsay, 1.0}, |
53 | {"gsay", command_gsay, 1.0}, |
54 | |
54 | |
55 | #ifdef DEBUG |
55 | #ifdef DEBUG |
56 | {"sstable", command_sstable, 0.0}, |
56 | {"sstable", command_sstable, 0.0}, |
57 | #endif |
|
|
58 | #ifdef DEBUG_MALLOC_LEVEL |
|
|
59 | {"verify", command_malloc_verify,0.0}, |
|
|
60 | #endif |
57 | #endif |
61 | {"apply", command_apply, 1.0}, /* should be variable */ |
58 | {"apply", command_apply, 1.0}, /* should be variable */ |
62 | {"applymode", command_applymode, 1.0}, /* should be variable */ |
59 | {"applymode", command_applymode, 1.0}, /* should be variable */ |
63 | {"archs", command_archs, 0.0}, |
60 | {"archs", command_archs, 0.0}, |
64 | {"body", command_body, 0.0}, |
61 | {"body", command_body, 0.0}, |
… | |
… | |
79 | {"inventory", command_inventory,0.0}, |
76 | {"inventory", command_inventory,0.0}, |
80 | {"invoke", command_invoke, 1.0}, |
77 | {"invoke", command_invoke, 1.0}, |
81 | {"killpets", command_kill_pets,0.0}, |
78 | {"killpets", command_kill_pets,0.0}, |
82 | {"listen", command_listen, 0.0}, |
79 | {"listen", command_listen, 0.0}, |
83 | {"logs", command_logs, 0.0}, |
80 | {"logs", command_logs, 0.0}, |
84 | {"malloc", command_malloc, 0.0}, |
|
|
85 | {"maps", command_maps, 0.0}, |
81 | {"maps", command_maps, 0.0}, |
86 | {"mapinfo", command_mapinfo, 0.0}, |
82 | {"mapinfo", command_mapinfo, 0.0}, |
87 | {"mark", command_mark, 0.0}, |
83 | {"mark", command_mark, 0.0}, |
88 | {"motd", command_motd, 0.0}, |
84 | {"motd", command_motd, 0.0}, |
89 | {"output-sync", command_output_sync, 0.0}, |
85 | {"output-sync", command_output_sync, 0.0}, |
… | |
… | |
95 | {"quit", command_quit, 0.0}, |
91 | {"quit", command_quit, 0.0}, |
96 | {"quit_character", command_real_quit, 0.0}, |
92 | {"quit_character", command_real_quit, 0.0}, |
97 | {"rename", command_rename_item, 0.0}, |
93 | {"rename", command_rename_item, 0.0}, |
98 | {"resistances", command_resistances, 0.0}, |
94 | {"resistances", command_resistances, 0.0}, |
99 | {"rotateshoottype", command_rotateshoottype, 0.0}, |
95 | {"rotateshoottype", command_rotateshoottype, 0.0}, |
100 | {"shutdown", command_shutdown, 0.0}, |
|
|
101 | {"skills", command_skills, 0.0}, /* shows player list of skills */ |
96 | {"skills", command_skills, 0.0}, /* shows player list of skills */ |
102 | {"use_skill", command_uskill, 1.0}, |
97 | {"use_skill", command_uskill, 1.0}, |
103 | {"quests", command_quests, 0.0}, |
98 | {"quests", command_quests, 0.0}, |
104 | {"ready_skill", command_rskill, 1.0}, |
99 | {"ready_skill", command_rskill, 1.0}, |
105 | {"search",command_search, 1.0}, |
100 | {"search",command_search, 1.0}, |
… | |
… | |
240 | {"insert_into", command_insert_into,0.0}, |
235 | {"insert_into", command_insert_into,0.0}, |
241 | {"invisible", command_invisible,0.0}, |
236 | {"invisible", command_invisible,0.0}, |
242 | {"kick", command_kick, 0.0}, |
237 | {"kick", command_kick, 0.0}, |
243 | {"learn_special_prayer", command_learn_special_prayer, 0.0}, |
238 | {"learn_special_prayer", command_learn_special_prayer, 0.0}, |
244 | {"learn_spell", command_learn_spell, 0.0}, |
239 | {"learn_spell", command_learn_spell, 0.0}, |
|
|
240 | #ifdef DEBUG_MALLOC_LEVEL |
|
|
241 | {"verify", command_malloc_verify,0.0}, |
|
|
242 | #endif |
|
|
243 | {"malloc", command_malloc,0.0}, |
245 | {"plugin",command_loadplugin,0.0}, |
244 | {"plugin",command_loadplugin,0.0}, |
246 | {"pluglist",command_listplugins,0.0}, |
245 | {"pluglist",command_listplugins,0.0}, |
247 | {"plugout",command_unloadplugin,0.0}, |
246 | {"plugout",command_unloadplugin,0.0}, |
248 | {"nodm", command_nowiz,0.0}, |
247 | {"nodm", command_nowiz,0.0}, |
249 | {"nowiz", command_nowiz,0.0}, |
248 | {"nowiz", command_nowiz,0.0}, |
250 | {"patch", command_patch,0.0}, |
249 | {"patch", command_patch,0.0}, |
251 | {"remove", command_remove,0.0}, |
250 | {"remove", command_remove,0.0}, |
252 | {"reset", command_reset,0.0}, |
251 | {"reset", command_reset,0.0}, |
253 | {"set_god", command_setgod, 0.0}, |
252 | {"set_god", command_setgod, 0.0}, |
254 | {"server_speed", command_speed,0.0}, |
253 | {"server_speed", command_speed,0.0}, |
|
|
254 | {"shutdown", command_shutdown, 0.0}, |
255 | {"ssdumptable", command_ssdumptable,0.0}, |
255 | {"ssdumptable", command_ssdumptable,0.0}, |
256 | {"stack_clear", command_stack_clear, 0.0 }, |
256 | {"stack_clear", command_stack_clear, 0.0 }, |
257 | {"stack_list", command_stack_list, 0.0}, |
257 | {"stack_list", command_stack_list, 0.0}, |
258 | {"stack_pop", command_stack_pop, 0.0 }, |
258 | {"stack_pop", command_stack_pop, 0.0 }, |
259 | {"stack_push", command_stack_push, 0.0 }, |
259 | {"stack_push", command_stack_push, 0.0 }, |